1#! /bin/sh 2# Generated by configure. 3# Run this file to recreate the current configuration. 4# Compiler output produced by configure, useful for debugging 5# configure, is in config.log if it exists. 6 7debug=false 8ac_cs_recheck=false 9ac_cs_silent=false 10 11SHELL=${CONFIG_SHELL-/bin/sh} 12export SHELL 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92case $0 in #(( 93 *[\\/]* ) as_myself=$0 ;; 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95for as_dir in $PATH 96do 97 IFS=$as_save_IFS 98 test -z "$as_dir" && as_dir=. 99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 101IFS=$as_save_IFS 102 103 ;; 104esac 105# We did not find ourselves, most probably we were run as `sh COMMAND' 106# in which case we are not to be found in the path. 107if test "x$as_myself" = x; then 108 as_myself=$0 109fi 110if test ! -f "$as_myself"; then 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113fi 114 115# Unset variables that we do not need and which cause bugs (e.g. in 116# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117# suppresses any "Segmentation fault" message there. '((' could 118# trigger a bug in pdksh 5.2.14. 119for as_var in BASH_ENV ENV MAIL MAILPATH 120do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 122done 123PS1='$ ' 124PS2='> ' 125PS4='+ ' 126 127# NLS nuisances. 128LC_ALL=C 129export LC_ALL 130LANGUAGE=C 131export LANGUAGE 132 133# CDPATH. 134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 137# as_fn_error ERROR [LINENO LOG_FD] 138# --------------------------------- 139# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 140# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 141# script with status $?, using 1 if that was 0. 142as_fn_error () 143{ 144 as_status=$?; test $as_status -eq 0 && as_status=1 145 if test "$3"; then 146 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 147 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 148 fi 149 $as_echo "$as_me: error: $1" >&2 150 as_fn_exit $as_status 151} # as_fn_error 152 153 154# as_fn_set_status STATUS 155# ----------------------- 156# Set $? to STATUS, without forking. 157as_fn_set_status () 158{ 159 return $1 160} # as_fn_set_status 161 162# as_fn_exit STATUS 163# ----------------- 164# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 165as_fn_exit () 166{ 167 set +e 168 as_fn_set_status $1 169 exit $1 170} # as_fn_exit 171 172# as_fn_unset VAR 173# --------------- 174# Portably unset VAR. 175as_fn_unset () 176{ 177 { eval $1=; unset $1;} 178} 179as_unset=as_fn_unset 180# as_fn_append VAR VALUE 181# ---------------------- 182# Append the text in VALUE to the end of the definition contained in VAR. Take 183# advantage of any shell optimizations that allow amortized linear growth over 184# repeated appends, instead of the typical quadratic growth present in naive 185# implementations. 186if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 187 eval 'as_fn_append () 188 { 189 eval $1+=\$2 190 }' 191else 192 as_fn_append () 193 { 194 eval $1=\$$1\$2 195 } 196fi # as_fn_append 197 198# as_fn_arith ARG... 199# ------------------ 200# Perform arithmetic evaluation on the ARGs, and store the result in the 201# global $as_val. Take advantage of shells that can avoid forks. The arguments 202# must be portable across $(()) and expr. 203if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 204 eval 'as_fn_arith () 205 { 206 as_val=$(( $* )) 207 }' 208else 209 as_fn_arith () 210 { 211 as_val=`expr "$@" || test $? -eq 1` 212 } 213fi # as_fn_arith 214 215 216if expr a : '\(a\)' >/dev/null 2>&1 && 217 test "X`expr 00001 : '.*\(...\)'`" = X001; then 218 as_expr=expr 219else 220 as_expr=false 221fi 222 223if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 224 as_basename=basename 225else 226 as_basename=false 227fi 228 229if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 230 as_dirname=dirname 231else 232 as_dirname=false 233fi 234 235as_me=`$as_basename -- "$0" || 236$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 237 X"$0" : 'X\(//\)$' \| \ 238 X"$0" : 'X\(/\)' \| . 2>/dev/null || 239$as_echo X/"$0" | 240 sed '/^.*\/\([^/][^/]*\)\/*$/{ 241 s//\1/ 242 q 243 } 244 /^X\/\(\/\/\)$/{ 245 s//\1/ 246 q 247 } 248 /^X\/\(\/\).*/{ 249 s//\1/ 250 q 251 } 252 s/.*/./; q'` 253 254# Avoid depending upon Character Ranges. 255as_cr_letters='abcdefghijklmnopqrstuvwxyz' 256as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 257as_cr_Letters=$as_cr_letters$as_cr_LETTERS 258as_cr_digits='0123456789' 259as_cr_alnum=$as_cr_Letters$as_cr_digits 260 261ECHO_C= ECHO_N= ECHO_T= 262case `echo -n x` in #((((( 263-n*) 264 case `echo 'xy\c'` in 265 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 266 xy) ECHO_C='\c';; 267 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 268 ECHO_T=' ';; 269 esac;; 270*) 271 ECHO_N='-n';; 272esac 273 274rm -f conf$$ conf$$.exe conf$$.file 275if test -d conf$$.dir; then 276 rm -f conf$$.dir/conf$$.file 277else 278 rm -f conf$$.dir 279 mkdir conf$$.dir 2>/dev/null 280fi 281if (echo >conf$$.file) 2>/dev/null; then 282 if ln -s conf$$.file conf$$ 2>/dev/null; then 283 as_ln_s='ln -s' 284 # ... but there are two gotchas: 285 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 286 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 287 # In both cases, we have to default to `cp -p'. 288 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 289 as_ln_s='cp -p' 290 elif ln conf$$.file conf$$ 2>/dev/null; then 291 as_ln_s=ln 292 else 293 as_ln_s='cp -p' 294 fi 295else 296 as_ln_s='cp -p' 297fi 298rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 299rmdir conf$$.dir 2>/dev/null 300 301 302# as_fn_mkdir_p 303# ------------- 304# Create "$as_dir" as a directory, including parents if necessary. 305as_fn_mkdir_p () 306{ 307 308 case $as_dir in #( 309 -*) as_dir=./$as_dir;; 310 esac 311 test -d "$as_dir" || eval $as_mkdir_p || { 312 as_dirs= 313 while :; do 314 case $as_dir in #( 315 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 316 *) as_qdir=$as_dir;; 317 esac 318 as_dirs="'$as_qdir' $as_dirs" 319 as_dir=`$as_dirname -- "$as_dir" || 320$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 321 X"$as_dir" : 'X\(//\)[^/]' \| \ 322 X"$as_dir" : 'X\(//\)$' \| \ 323 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 324$as_echo X"$as_dir" | 325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 326 s//\1/ 327 q 328 } 329 /^X\(\/\/\)[^/].*/{ 330 s//\1/ 331 q 332 } 333 /^X\(\/\/\)$/{ 334 s//\1/ 335 q 336 } 337 /^X\(\/\).*/{ 338 s//\1/ 339 q 340 } 341 s/.*/./; q'` 342 test -d "$as_dir" && break 343 done 344 test -z "$as_dirs" || eval "mkdir $as_dirs" 345 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 346 347 348} # as_fn_mkdir_p 349if mkdir -p . 2>/dev/null; then 350 as_mkdir_p='mkdir -p "$as_dir"' 351else 352 test -d ./-p && rmdir ./-p 353 as_mkdir_p=false 354fi 355 356if test -x / >/dev/null 2>&1; then 357 as_test_x='test -x' 358else 359 if ls -dL / >/dev/null 2>&1; then 360 as_ls_L_option=L 361 else 362 as_ls_L_option= 363 fi 364 as_test_x=' 365 eval sh -c '\'' 366 if test -d "$1"; then 367 test -d "$1/."; 368 else 369 case $1 in #( 370 -*)set "./$1";; 371 esac; 372 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 373 ???[sx]*):;;*)false;;esac;fi 374 '\'' sh 375 ' 376fi 377as_executable_p=$as_test_x 378 379# Sed expression to map a string onto a valid CPP name. 380as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 381 382# Sed expression to map a string onto a valid variable name. 383as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 384 385 386exec 6>&1 387## ----------------------------------- ## 388## Main body of $CONFIG_STATUS script. ## 389## ----------------------------------- ## 390# Save the log message, to keep $0 and so on meaningful, and to 391# report actual input values of CONFIG_FILES etc. instead of their 392# values after options handling. 393ac_log=" 394This file was extended by libgpg-error $as_me 1.10, which was 395generated by GNU Autoconf 2.64. Invocation command line was 396 397 CONFIG_FILES = $CONFIG_FILES 398 CONFIG_HEADERS = $CONFIG_HEADERS 399 CONFIG_LINKS = $CONFIG_LINKS 400 CONFIG_COMMANDS = $CONFIG_COMMANDS 401 $ $0 $@ 402 403on `(hostname || uname -n) 2>/dev/null | sed 1q` 404" 405 406# Files that config.status was made for. 407config_files=" src/gpg-error-config Makefile po/Makefile.in m4/Makefile src/Makefile tests/Makefile lang/Makefile lang/cl/Makefile lang/cl/gpg-error.asd src/versioninfo.rc" 408config_headers=" config.h" 409config_commands=" depfiles libtool po-directories" 410 411ac_cs_usage="\ 412\`$as_me' instantiates files and other configuration actions 413from templates according to the current configuration. Unless the files 414and actions are specified as TAGs, all are instantiated by default. 415 416Usage: $0 [OPTION]... [TAG]... 417 418 -h, --help print this help, then exit 419 -V, --version print version number and configuration settings, then exit 420 -q, --quiet, --silent 421 do not print progress messages 422 -d, --debug don't remove temporary files 423 --recheck update $as_me by reconfiguring in the same conditions 424 --file=FILE[:TEMPLATE] 425 instantiate the configuration file FILE 426 --header=FILE[:TEMPLATE] 427 instantiate the configuration header FILE 428 429Configuration files: 430$config_files 431 432Configuration headers: 433$config_headers 434 435Configuration commands: 436$config_commands 437 438Report bugs to <bug-gnupg@gnupg.org>." 439 440ac_cs_version="\ 441libgpg-error config.status 1.10 442configured by ./configure, generated by GNU Autoconf 2.64, 443 with options \"'LDFLAGS=-L${PKG_INSTALL_DIR}/usr /lib' 'CXXFLAGS=-I${PKG_INSTALL_DIR}/usr /include' 'CFLAGS=-I${PKG_INSTALL_DIR}/usr /include' '--host=mipsel-uclibc-linux' '--build=mipsel-uclibc-linux-gnu26' '--target=mipsel-uclibc-linux-gnu26' 'CC=mipsel-linux-uclibc-gcc' 'CXX=mipsel-linux-uclibc-g++' 'STRIP=mipsel-linux-linux26-strip' 'AR=mipsel-linux-linux26-ar' 'NM=mipsel-linux-linux26-nm' 'OBJDUMP=mipsel-linux-linux26-objdump' '--disable-nls' '--enable-shared' '--enable-static' '--disable-rpath' 'build_alias=mipsel-uclibc-linux-gnu26' 'host_alias=mipsel-uclibc-linux' 'target_alias=mipsel-uclibc-linux-gnu26'\" 444 445Copyright (C) 2009 Free Software Foundation, Inc. 446This config.status script is free software; the Free Software Foundation 447gives unlimited permission to copy, distribute and modify it." 448 449ac_pwd='${TIMEMACHINE_PATH}/libgpg-error-1.10' 450srcdir='.' 451INSTALL='/usr/bin/install -c' 452MKDIR_P='/bin/mkdir -p' 453AWK='gawk' 454test -n "$AWK" || AWK=awk 455# The default lists apply if the user does not specify any file. 456ac_need_defaults=: 457while test $# != 0 458do 459 case $1 in 460 --*=*) 461 ac_option=`expr "X$1" : 'X\([^=]*\)='` 462 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 463 ac_shift=: 464 ;; 465 *) 466 ac_option=$1 467 ac_optarg=$2 468 ac_shift=shift 469 ;; 470 esac 471 472 case $ac_option in 473 # Handling of the options. 474 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 475 ac_cs_recheck=: ;; 476 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 477 $as_echo "$ac_cs_version"; exit ;; 478 --debug | --debu | --deb | --de | --d | -d ) 479 debug=: ;; 480 --file | --fil | --fi | --f ) 481 $ac_shift 482 case $ac_optarg in 483 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 484 esac 485 as_fn_append CONFIG_FILES " '$ac_optarg'" 486 ac_need_defaults=false;; 487 --header | --heade | --head | --hea ) 488 $ac_shift 489 case $ac_optarg in 490 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 491 esac 492 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 493 ac_need_defaults=false;; 494 --he | --h) 495 # Conflict between --help and --header 496 as_fn_error "ambiguous option: \`$1' 497Try \`$0 --help' for more information.";; 498 --help | --hel | -h ) 499 $as_echo "$ac_cs_usage"; exit ;; 500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 501 | -silent | --silent | --silen | --sile | --sil | --si | --s) 502 ac_cs_silent=: ;; 503 504 # This is an error. 505 -*) as_fn_error "unrecognized option: \`$1' 506Try \`$0 --help' for more information." ;; 507 508 *) as_fn_append ac_config_targets " $1" 509 ac_need_defaults=false ;; 510 511 esac 512 shift 513done 514 515ac_configure_extra_args= 516 517if $ac_cs_silent; then 518 exec 6>/dev/null 519 ac_configure_extra_args="$ac_configure_extra_args --silent" 520fi 521 522if $ac_cs_recheck; then 523 set X '/bin/sh' './configure' 'LDFLAGS=-L${PKG_INSTALL_DIR}/usr /lib' 'CXXFLAGS=-I${PKG_INSTALL_DIR}/usr /include' 'CFLAGS=-I${PKG_INSTALL_DIR}/usr /include' '--host=mipsel-uclibc-linux' '--build=mipsel-uclibc-linux-gnu26' '--target=mipsel-uclibc-linux-gnu26' 'CC=mipsel-linux-uclibc-gcc' 'CXX=mipsel-linux-uclibc-g++' 'STRIP=mipsel-linux-linux26-strip' 'AR=mipsel-linux-linux26-ar' 'NM=mipsel-linux-linux26-nm' 'OBJDUMP=mipsel-linux-linux26-objdump' '--disable-nls' '--enable-shared' '--enable-static' '--disable-rpath' 'build_alias=mipsel-uclibc-linux-gnu26' 'host_alias=mipsel-uclibc-linux' 'target_alias=mipsel-uclibc-linux-gnu26' $ac_configure_extra_args --no-create --no-recursion 524 shift 525 $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 526 CONFIG_SHELL='/bin/sh' 527 export CONFIG_SHELL 528 exec "$@" 529fi 530 531exec 5>>config.log 532{ 533 echo 534 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 535## Running $as_me. ## 536_ASBOX 537 $as_echo "$ac_log" 538} >&5 539 540# 541# INIT-COMMANDS 542# 543AMDEP_TRUE="" ac_aux_dir="." 544 545 546# The HP-UX ksh and POSIX shell print the target directory to stdout 547# if CDPATH is set. 548(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 549 550sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 551double_quote_subst='s/\(["`\\]\)/\\\1/g' 552delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 553macro_version='2.2.6' 554macro_revision='1.3012' 555AS='as' 556DLLTOOL='dlltool' 557OBJDUMP='mipsel-linux-linux26-objdump' 558enable_static='yes' 559enable_shared='yes' 560pic_mode='default' 561enable_fast_install='yes' 562host_alias='mipsel-uclibc-linux' 563host='mipsel-uclibc-linux-gnu' 564host_os='linux-gnu' 565build_alias='mipsel-uclibc-linux-gnu26' 566build='mipsel-uclibc-linux-gnu26' 567build_os='linux-gnu26' 568SED='/bin/sed' 569Xsed='/bin/sed -e 1s/^X//' 570GREP='/bin/grep' 571EGREP='/bin/grep -E' 572FGREP='/bin/grep -F' 573LD='/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/usr/bin/mipsel-linux-uclibc-ld' 574NM='mipsel-linux-linux26-nm' 575LN_S='ln -s' 576max_cmd_len='1966080' 577ac_objext='o' 578exeext='' 579lt_unset='unset' 580lt_SP2NL='tr \040 \012' 581lt_NL2SP='tr \015\012 \040\040' 582reload_flag=' -r' 583reload_cmds='$LD$reload_flag -o $output$reload_objs' 584deplibs_check_method='pass_all' 585file_magic_cmd='$MAGIC_CMD' 586AR='mipsel-linux-linux26-ar' 587AR_FLAGS='cru' 588STRIP='mipsel-linux-linux26-strip' 589RANLIB='ranlib' 590old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib' 591old_postuninstall_cmds='' 592old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib' 593CC='mipsel-linux-uclibc-gcc' 594CFLAGS='-I${PKG_INSTALL_DIR}/usr /include' 595compiler='' 596GCC='yes' 597lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' 598lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' 599lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' 600lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' 601objdir='.libs' 602SHELL='/bin/sh' 603ECHO='echo' 604MAGIC_CMD='file' 605lt_prog_compiler_no_builtin_flag=' -fno-builtin' 606lt_prog_compiler_wl='-Wl,' 607lt_prog_compiler_pic=' -fPIC -DPIC' 608lt_prog_compiler_static='-static' 609lt_cv_prog_compiler_c_o='yes' 610need_locks='no' 611DSYMUTIL='' 612NMEDIT='' 613LIPO='' 614OTOOL='' 615OTOOL64='' 616libext='a' 617shrext_cmds='.so' 618extract_expsyms_cmds='' 619archive_cmds_need_lc='no' 620enable_shared_with_static_runtimes='no' 621export_dynamic_flag_spec='${wl}--export-dynamic' 622whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 623compiler_needs_object='no' 624old_archive_from_new_cmds='' 625old_archive_from_expsyms_cmds='' 626archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 627archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 628 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 629 echo "local: *; };" >> $output_objdir/$libname.ver~ 630 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 631module_cmds='' 632module_expsym_cmds='' 633with_gnu_ld='yes' 634allow_undefined_flag='' 635no_undefined_flag='' 636hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 637hardcode_libdir_flag_spec_ld='' 638hardcode_libdir_separator='' 639hardcode_direct='no' 640hardcode_direct_absolute='no' 641hardcode_minus_L='no' 642hardcode_shlibpath_var='unsupported' 643hardcode_automatic='no' 644inherit_rpath='no' 645link_all_deplibs='unknown' 646fix_srcfile_path='' 647always_export_symbols='no' 648export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 649exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 650include_expsyms='' 651prelink_cmds='' 652file_list_spec='' 653variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH' 654need_lib_prefix='no' 655need_version='no' 656version_type='linux' 657runpath_var='LD_RUN_PATH' 658shlibpath_var='LD_LIBRARY_PATH' 659shlibpath_overrides_runpath='no' 660libname_spec='lib$name' 661library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 662soname_spec='${libname}${release}${shared_ext}$major' 663postinstall_cmds='' 664postuninstall_cmds='' 665finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 666finish_eval='' 667hardcode_into_libs='yes' 668sys_lib_search_path_spec='/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/lib/gcc/mipsel-linux-uclibc/4.2.3 /projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/mipsel-linux-uclibc/lib' 669sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/lib/qt-3.3/lib /usr/lib/xulrunner-1.9 ' 670hardcode_action='immediate' 671enable_dlopen='unknown' 672enable_dlopen_self='unknown' 673enable_dlopen_self_static='unknown' 674old_striplib='mipsel-linux-linux26-strip --strip-debug' 675striplib='mipsel-linux-linux26-strip --strip-unneeded' 676LD_RC='' 677old_archive_cmds_RC='' 678compiler_RC='' 679GCC_RC='' 680lt_prog_compiler_no_builtin_flag_RC='' 681lt_prog_compiler_wl_RC='' 682lt_prog_compiler_pic_RC='' 683lt_prog_compiler_static_RC='' 684lt_cv_prog_compiler_c_o_RC='yes' 685archive_cmds_need_lc_RC='' 686enable_shared_with_static_runtimes_RC='' 687export_dynamic_flag_spec_RC='' 688whole_archive_flag_spec_RC='' 689compiler_needs_object_RC='' 690old_archive_from_new_cmds_RC='' 691old_archive_from_expsyms_cmds_RC='' 692archive_cmds_RC='' 693archive_expsym_cmds_RC='' 694module_cmds_RC='' 695module_expsym_cmds_RC='' 696with_gnu_ld_RC='' 697allow_undefined_flag_RC='' 698no_undefined_flag_RC='' 699hardcode_libdir_flag_spec_RC='' 700hardcode_libdir_flag_spec_ld_RC='' 701hardcode_libdir_separator_RC='' 702hardcode_direct_RC='' 703hardcode_direct_absolute_RC='' 704hardcode_minus_L_RC='' 705hardcode_shlibpath_var_RC='' 706hardcode_automatic_RC='' 707inherit_rpath_RC='' 708link_all_deplibs_RC='' 709fix_srcfile_path_RC='' 710always_export_symbols_RC='' 711export_symbols_cmds_RC='' 712exclude_expsyms_RC='' 713include_expsyms_RC='' 714prelink_cmds_RC='' 715file_list_spec_RC='' 716hardcode_action_RC='' 717 718LTCC='mipsel-linux-uclibc-gcc' 719LTCFLAGS='-I${PKG_INSTALL_DIR}/usr /include' 720compiler='mipsel-linux-uclibc-gcc' 721 722# Quote evaled strings. 723for var in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag deplibs_check_method file_magic_cmd AR AR_FLAGS STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix SHELL ECHO lt_prog_compiler_no_builtin_flag lt_prog_compiler_wl lt_prog_compiler_pic lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_flag_spec_ld hardcode_libdir_separator fix_srcfile_path exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec finish_eval old_striplib striplib LD_RC compiler_RC lt_prog_compiler_no_builtin_flag_RC lt_prog_compiler_wl_RC lt_prog_compiler_pic_RC lt_prog_compiler_static_RC lt_cv_prog_compiler_c_o_RC export_dynamic_flag_spec_RC whole_archive_flag_spec_RC compiler_needs_object_RC with_gnu_ld_RC allow_undefined_flag_RC no_undefined_flag_RC hardcode_libdir_flag_spec_RC hardcode_libdir_flag_spec_ld_RC hardcode_libdir_separator_RC fix_srcfile_path_RC exclude_expsyms_RC include_expsyms_RC file_list_spec_RC; do 724 case `eval \\$ECHO "X\\$$var"` in 725 *[\\\`\"\$]*) 726 eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" 727 ;; 728 *) 729 eval "lt_$var=\\\"\$$var\\\"" 730 ;; 731 esac 732done 733 734# Double-quote double-evaled strings. 735for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec old_archive_cmds_RC old_archive_from_new_cmds_RC old_archive_from_expsyms_cmds_RC archive_cmds_RC archive_expsym_cmds_RC module_cmds_RC module_expsym_cmds_RC export_symbols_cmds_RC prelink_cmds_RC; do 736 case `eval \\$ECHO "X\\$$var"` in 737 *[\\\`\"\$]*) 738 eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" 739 ;; 740 *) 741 eval "lt_$var=\\\"\$$var\\\"" 742 ;; 743 esac 744done 745 746# Fix-up fallback echo if it was mangled by the above quoting rules. 747case $lt_ECHO in 748*'\$0 --fallback-echo"') lt_ECHO=`$ECHO "X$lt_ECHO" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` 749 ;; 750esac 751 752ac_aux_dir='.' 753xsi_shell='yes' 754lt_shell_append='yes' 755 756# See if we are running on zsh, and set the options which allow our 757# commands through without removal of \ escapes INIT. 758if test -n "${ZSH_VERSION+set}" ; then 759 setopt NO_GLOB_SUBST 760fi 761 762 763 PACKAGE='libgpg-error' 764 VERSION='1.10' 765 TIMESTAMP='' 766 RM='rm -f' 767 ofile='libtool' 768 769 770 771 772 773# Capture the value of obsolete ALL_LINGUAS because we need it to compute 774 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 775 # from automake < 1.5. 776 eval 'OBSOLETE_ALL_LINGUAS''=""' 777 # Capture the value of LINGUAS because we need it to compute CATALOGS. 778 LINGUAS="%UNSET%" 779 780 781 782# Handling of arguments. 783for ac_config_target in $ac_config_targets 784do 785 case $ac_config_target in 786 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 787 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 788 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 789 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 790 "src/gpg-error-config") CONFIG_FILES="$CONFIG_FILES src/gpg-error-config" ;; 791 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 792 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 793 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 794 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 795 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 796 "lang/Makefile") CONFIG_FILES="$CONFIG_FILES lang/Makefile" ;; 797 "lang/cl/Makefile") CONFIG_FILES="$CONFIG_FILES lang/cl/Makefile" ;; 798 "lang/cl/gpg-error.asd") CONFIG_FILES="$CONFIG_FILES lang/cl/gpg-error.asd" ;; 799 "src/versioninfo.rc") CONFIG_FILES="$CONFIG_FILES src/versioninfo.rc" ;; 800 801 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 802 esac 803done 804 805 806# If the user did not use the arguments to specify the items to instantiate, 807# then the envvar interface is used. Set only those that are not. 808# We use the long form for the default assignment because of an extremely 809# bizarre bug on SunOS 4.1.3. 810if $ac_need_defaults; then 811 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 812 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 813 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 814fi 815 816# Have a temporary directory for convenience. Make it in the build tree 817# simply because there is no reason against having it here, and in addition, 818# creating and moving files from /tmp can sometimes cause problems. 819# Hook for its removal unless debugging. 820# Note that there is a small window in which the directory will not be cleaned: 821# after its creation but before its name has been assigned to `$tmp'. 822$debug || 823{ 824 tmp= 825 trap 'exit_status=$? 826 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 827' 0 828 trap 'as_fn_exit 1' 1 2 13 15 829} 830# Create a (secure) tmp directory for tmp files. 831 832{ 833 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 834 test -n "$tmp" && test -d "$tmp" 835} || 836{ 837 tmp=./conf$$-$RANDOM 838 (umask 077 && mkdir "$tmp") 839} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 840 841# Set up the scripts for CONFIG_FILES section. 842# No need to generate them if there are no CONFIG_FILES. 843# This happens for instance with `./config.status config.h'. 844if test -n "$CONFIG_FILES"; then 845 846 847ac_cr=`echo X | tr X '\015'` 848# On cygwin, bash can eat \r inside `` if the user requested igncr. 849# But we know of no other shell where ac_cr would be empty at this 850# point, so we can use a bashism as a fallback. 851if test "x$ac_cr" = x; then 852 eval ac_cr=\$\'\\r\' 853fi 854ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 855if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 856 ac_cs_awk_cr='\r' 857else 858 ac_cs_awk_cr=$ac_cr 859fi 860 861echo 'BEGIN {' >"$tmp/subs1.awk" && 862cat >>"$tmp/subs1.awk" <<\_ACAWK && 863S["LTLIBOBJS"]="" 864S["LIBOBJS"]="" 865S["LANGUAGES_SOME_FALSE"]="#" 866S["LANGUAGES_SOME_TRUE"]="" 867S["HAVE_W32CE_SYSTEM_FALSE"]="" 868S["HAVE_W32CE_SYSTEM_TRUE"]="#" 869S["HAVE_W32_SYSTEM_FALSE"]="" 870S["HAVE_W32_SYSTEM_TRUE"]="#" 871S["BUILD_FILEVERSION"]="" 872S["BUILD_TIMESTAMP"]="" 873S["GPG_ERROR_CONFIG_ISUBDIRAFTER"]="" 874S["GPG_ERROR_CONFIG_CFLAGS"]="" 875S["GPG_ERROR_CONFIG_LIBS"]="-lgpg-error" 876S["POSUB"]="" 877S["LTLIBINTL"]="" 878S["LIBINTL"]="" 879S["INTLLIBS"]="" 880S["LTLIBICONV"]="-L${PKG_INSTALL_DIR}/usr /lib -liconv" 881S["LIBICONV"]="${TIMEMACHINE_PATH}/gpl_lib/lib/libiconv.a" 882S["INTL_MACOSX_LIBS"]="" 883S["XGETTEXT_EXTRA_OPTIONS"]="" 884S["MSGMERGE"]="/usr/bin/msgmerge" 885S["XGETTEXT_015"]="/usr/bin/xgettext" 886S["XGETTEXT"]="/usr/bin/xgettext" 887S["GMSGFMT_015"]="/usr/bin/msgfmt" 888S["MSGFMT_015"]="/usr/bin/msgfmt" 889S["GMSGFMT"]="/usr/bin/msgfmt" 890S["MSGFMT"]="/usr/bin/msgfmt" 891S["GETTEXT_MACRO_VERSION"]="0.17" 892S["USE_NLS"]="no" 893S["CC_FOR_BUILD"]="cc" 894S["RC"]="" 895S["OTOOL64"]="" 896S["OTOOL"]="" 897S["LIPO"]="" 898S["NMEDIT"]="" 899S["DSYMUTIL"]="" 900S["lt_ECHO"]="echo" 901S["RANLIB"]="ranlib" 902S["LN_S"]="ln -s" 903S["NM"]="mipsel-linux-linux26-nm" 904S["ac_ct_DUMPBIN"]="" 905S["DUMPBIN"]="" 906S["LD"]="/projects/hnd/tools/linux/hndtools-mipsel-linux-uclibc-4.2.3/usr/bin/mipsel-linux-uclibc-ld" 907S["FGREP"]="/bin/grep -F" 908S["SED"]="/bin/sed" 909S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool" 910S["OBJDUMP"]="mipsel-linux-linux26-objdump" 911S["DLLTOOL"]="dlltool" 912S["AS"]="as" 913S["EGREP"]="/bin/grep -E" 914S["GREP"]="/bin/grep" 915S["AR"]="mipsel-linux-linux26-ar" 916S["CPP"]="mipsel-linux-uclibc-gcc -E" 917S["am__fastdepCC_FALSE"]="#" 918S["am__fastdepCC_TRUE"]="" 919S["CCDEPMODE"]="depmode=gcc3" 920S["AMDEPBACKSLASH"]="\\" 921S["AMDEP_FALSE"]="#" 922S["AMDEP_TRUE"]="" 923S["am__quote"]="" 924S["am__include"]="include" 925S["DEPDIR"]=".deps" 926S["OBJEXT"]="o" 927S["EXEEXT"]="" 928S["ac_ct_CC"]="" 929S["CPPFLAGS"]="" 930S["LDFLAGS"]="-L${PKG_INSTALL_DIR}/usr /lib" 931S["CFLAGS"]="-I${PKG_INSTALL_DIR}/usr /include" 932S["CC"]="mipsel-linux-uclibc-gcc" 933S["host_os"]="linux-gnu" 934S["host_vendor"]="uclibc" 935S["host_cpu"]="mipsel" 936S["host"]="mipsel-uclibc-linux-gnu" 937S["build_os"]="linux-gnu26" 938S["build_vendor"]="uclibc" 939S["build_cpu"]="mipsel" 940S["build"]="mipsel-uclibc-linux-gnu26" 941S["MAINT"]="#" 942S["MAINTAINER_MODE_FALSE"]="" 943S["MAINTAINER_MODE_TRUE"]="#" 944S["am__untar"]="${AMTAR} xf -" 945S["am__tar"]="${AMTAR} chof - \"$$tardir\"" 946S["AMTAR"]="${SHELL} ${TIMEMACHINE_PATH}/libgpg-error-1.10/missing --run tar" 947S["am__leading_dot"]="." 948S["SET_MAKE"]="" 949S["AWK"]="gawk" 950S["mkdir_p"]="/bin/mkdir -p" 951S["MKDIR_P"]="/bin/mkdir -p" 952S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" 953S["STRIP"]="mipsel-linux-linux26-strip" 954S["install_sh"]="$(SHELL) ${TIMEMACHINE_PATH}/libgpg-error-1.10/install-sh" 955S["MAKEINFO"]="${SHELL} ${TIMEMACHINE_PATH}/libgpg-error-1.10/missing --run makeinfo" 956S["AUTOHEADER"]="${SHELL} ${TIMEMACHINE_PATH}/libgpg-error-1.10/missing --run autoheader" 957S["AUTOMAKE"]="${SHELL} ${TIMEMACHINE_PATH}/libgpg-error-1.10/missing --run automake-1.10" 958S["AUTOCONF"]="${SHELL} ${TIMEMACHINE_PATH}/libgpg-error-1.10/missing --run autoconf" 959S["ACLOCAL"]="${SHELL} ${TIMEMACHINE_PATH}/libgpg-error-1.10/missing --run aclocal-1.10" 960S["VERSION"]="1.10" 961S["PACKAGE"]="libgpg-error" 962S["CYGPATH_W"]="echo" 963S["am__isrc"]="" 964S["INSTALL_DATA"]="${INSTALL} -m 644" 965S["INSTALL_SCRIPT"]="${INSTALL}" 966S["INSTALL_PROGRAM"]="${INSTALL}" 967S["LIBGPG_ERROR_LT_REVISION"]="0" 968S["LIBGPG_ERROR_LT_AGE"]="8" 969S["LIBGPG_ERROR_LT_CURRENT"]="8" 970S["target_alias"]="mipsel-uclibc-linux-gnu26" 971S["host_alias"]="mipsel-uclibc-linux" 972S["build_alias"]="mipsel-uclibc-linux-gnu26" 973S["LIBS"]="" 974S["ECHO_T"]="" 975S["ECHO_N"]="-n" 976S["ECHO_C"]="" 977S["DEFS"]="-DHAVE_CONFIG_H" 978S["mandir"]="${datarootdir}/man" 979S["localedir"]="${datarootdir}/locale" 980S["libdir"]="${exec_prefix}/lib" 981S["psdir"]="${docdir}" 982S["pdfdir"]="${docdir}" 983S["dvidir"]="${docdir}" 984S["htmldir"]="${docdir}" 985S["infodir"]="${datarootdir}/info" 986S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" 987S["oldincludedir"]="/usr/include" 988S["includedir"]="${prefix}/include" 989S["localstatedir"]="${prefix}/var" 990S["sharedstatedir"]="${prefix}/com" 991S["sysconfdir"]="${prefix}/etc" 992S["datadir"]="${datarootdir}" 993S["datarootdir"]="${prefix}/share" 994S["libexecdir"]="${exec_prefix}/libexec" 995S["sbindir"]="${exec_prefix}/sbin" 996S["bindir"]="${exec_prefix}/bin" 997S["program_transform_name"]="s,x,x," 998S["prefix"]="/usr" 999S["exec_prefix"]="${prefix}" 1000S["PACKAGE_URL"]="" 1001S["PACKAGE_BUGREPORT"]="bug-gnupg@gnupg.org" 1002S["PACKAGE_STRING"]="libgpg-error 1.10" 1003S["PACKAGE_VERSION"]="1.10" 1004S["PACKAGE_TARNAME"]="libgpg-error" 1005S["PACKAGE_NAME"]="libgpg-error" 1006S["PATH_SEPARATOR"]=":" 1007S["SHELL"]="/bin/sh" 1008_ACAWK 1009cat >>"$tmp/subs1.awk" <<_ACAWK && 1010 for (key in S) S_is_set[key] = 1 1011 FS = "" 1012 1013} 1014{ 1015 line = $ 0 1016 nfields = split(line, field, "@") 1017 substed = 0 1018 len = length(field[1]) 1019 for (i = 2; i < nfields; i++) { 1020 key = field[i] 1021 keylen = length(key) 1022 if (S_is_set[key]) { 1023 value = S[key] 1024 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 1025 len += length(value) + length(field[++i]) 1026 substed = 1 1027 } else 1028 len += 1 + keylen 1029 } 1030 1031 print line 1032} 1033 1034_ACAWK 1035if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 1036 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 1037else 1038 cat 1039fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 1040 || as_fn_error "could not setup config files machinery" "$LINENO" 5 1041fi # test -n "$CONFIG_FILES" 1042 1043# Set up the scripts for CONFIG_HEADERS section. 1044# No need to generate them if there are no CONFIG_HEADERS. 1045# This happens for instance with `./config.status Makefile'. 1046if test -n "$CONFIG_HEADERS"; then 1047cat >"$tmp/defines.awk" <<\_ACAWK || 1048BEGIN { 1049D["PACKAGE_NAME"]=" \"libgpg-error\"" 1050D["PACKAGE_TARNAME"]=" \"libgpg-error\"" 1051D["PACKAGE_VERSION"]=" \"1.10\"" 1052D["PACKAGE_STRING"]=" \"libgpg-error 1.10\"" 1053D["PACKAGE_BUGREPORT"]=" \"bug-gnupg@gnupg.org\"" 1054D["PACKAGE_URL"]=" \"\"" 1055D["PACKAGE"]=" \"libgpg-error\"" 1056D["VERSION"]=" \"1.10\"" 1057D["STDC_HEADERS"]=" 1" 1058D["HAVE_SYS_TYPES_H"]=" 1" 1059D["HAVE_SYS_STAT_H"]=" 1" 1060D["HAVE_STDLIB_H"]=" 1" 1061D["HAVE_STRING_H"]=" 1" 1062D["HAVE_MEMORY_H"]=" 1" 1063D["HAVE_STRINGS_H"]=" 1" 1064D["HAVE_INTTYPES_H"]=" 1" 1065D["HAVE_STDINT_H"]=" 1" 1066D["HAVE_UNISTD_H"]=" 1" 1067D["__EXTENSIONS__"]=" 1" 1068D["_ALL_SOURCE"]=" 1" 1069D["_GNU_SOURCE"]=" 1" 1070D["_POSIX_PTHREAD_SEMANTICS"]=" 1" 1071D["_TANDEM_SOURCE"]=" 1" 1072D["HAVE_DLFCN_H"]=" 1" 1073D["LT_OBJDIR"]=" \".libs/\"" 1074D["STDC_HEADERS"]=" 1" 1075D["HAVE_STDLIB_H"]=" 1" 1076D["HAVE_LOCALE_H"]=" 1" 1077D["HAVE_DECL_STRERROR_R"]=" 1" 1078D["STRERROR_R_CHAR_P"]=" 1" 1079 for (key in D) D_is_set[key] = 1 1080 FS = "" 1081} 1082/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { 1083 line = $ 0 1084 split(line, arg, " ") 1085 if (arg[1] == "#") { 1086 defundef = arg[2] 1087 mac1 = arg[3] 1088 } else { 1089 defundef = substr(arg[1], 2) 1090 mac1 = arg[2] 1091 } 1092 split(mac1, mac2, "(") #) 1093 macro = mac2[1] 1094 prefix = substr(line, 1, index(line, defundef) - 1) 1095 if (D_is_set[macro]) { 1096 # Preserve the white space surrounding the "#". 1097 print prefix "define", macro P[macro] D[macro] 1098 next 1099 } else { 1100 # Replace #undef with comments. This is necessary, for example, 1101 # in the case of _POSIX_SOURCE, which is predefined and required 1102 # on some systems where configure will not decide to define it. 1103 if (defundef == "undef") { 1104 print "/*", prefix defundef, macro, "*/" 1105 next 1106 } 1107 } 1108} 1109{ print } 1110_ACAWK 1111 as_fn_error "could not setup config headers machinery" "$LINENO" 5 1112fi # test -n "$CONFIG_HEADERS" 1113 1114 1115eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 1116shift 1117for ac_tag 1118do 1119 case $ac_tag in 1120 :[FHLC]) ac_mode=$ac_tag; continue;; 1121 esac 1122 case $ac_mode$ac_tag in 1123 :[FHL]*:*);; 1124 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 1125 :[FH]-) ac_tag=-:-;; 1126 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 1127 esac 1128 ac_save_IFS=$IFS 1129 IFS=: 1130 set x $ac_tag 1131 IFS=$ac_save_IFS 1132 shift 1133 ac_file=$1 1134 shift 1135 1136 case $ac_mode in 1137 :L) ac_source=$1;; 1138 :[FH]) 1139 ac_file_inputs= 1140 for ac_f 1141 do 1142 case $ac_f in 1143 -) ac_f="$tmp/stdin";; 1144 *) # Look for the file first in the build tree, then in the source tree 1145 # (if the path is not absolute). The absolute path cannot be DOS-style, 1146 # because $ac_f cannot contain `:'. 1147 test -f "$ac_f" || 1148 case $ac_f in 1149 [\\/$]*) false;; 1150 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 1151 esac || 1152 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 1153 esac 1154 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 1155 as_fn_append ac_file_inputs " '$ac_f'" 1156 done 1157 1158 # Let's still pretend it is `configure' which instantiates (i.e., don't 1159 # use $as_me), people would be surprised to read: 1160 # /* config.h. Generated by config.status. */ 1161 configure_input='Generated from '` 1162 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 1163 `' by configure.' 1164 if test x"$ac_file" != x-; then 1165 configure_input="$ac_file. $configure_input" 1166 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 1167$as_echo "$as_me: creating $ac_file" >&6;} 1168 fi 1169 # Neutralize special characters interpreted by sed in replacement strings. 1170 case $configure_input in #( 1171 *\&* | *\|* | *\\* ) 1172 ac_sed_conf_input=`$as_echo "$configure_input" | 1173 sed 's/[\\\\&|]/\\\\&/g'`;; #( 1174 *) ac_sed_conf_input=$configure_input;; 1175 esac 1176 1177 case $ac_tag in 1178 *:-:* | *:-) cat >"$tmp/stdin" \ 1179 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 1180 esac 1181 ;; 1182 esac 1183 1184 ac_dir=`$as_dirname -- "$ac_file" || 1185$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1186 X"$ac_file" : 'X\(//\)[^/]' \| \ 1187 X"$ac_file" : 'X\(//\)$' \| \ 1188 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 1189$as_echo X"$ac_file" | 1190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1191 s//\1/ 1192 q 1193 } 1194 /^X\(\/\/\)[^/].*/{ 1195 s//\1/ 1196 q 1197 } 1198 /^X\(\/\/\)$/{ 1199 s//\1/ 1200 q 1201 } 1202 /^X\(\/\).*/{ 1203 s//\1/ 1204 q 1205 } 1206 s/.*/./; q'` 1207 as_dir="$ac_dir"; as_fn_mkdir_p 1208 ac_builddir=. 1209 1210case "$ac_dir" in 1211.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1212*) 1213 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1214 # A ".." for each directory in $ac_dir_suffix. 1215 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1216 case $ac_top_builddir_sub in 1217 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1218 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1219 esac ;; 1220esac 1221ac_abs_top_builddir=$ac_pwd 1222ac_abs_builddir=$ac_pwd$ac_dir_suffix 1223# for backward compatibility: 1224ac_top_builddir=$ac_top_build_prefix 1225 1226case $srcdir in 1227 .) # We are building in place. 1228 ac_srcdir=. 1229 ac_top_srcdir=$ac_top_builddir_sub 1230 ac_abs_top_srcdir=$ac_pwd ;; 1231 [\\/]* | ?:[\\/]* ) # Absolute name. 1232 ac_srcdir=$srcdir$ac_dir_suffix; 1233 ac_top_srcdir=$srcdir 1234 ac_abs_top_srcdir=$srcdir ;; 1235 *) # Relative name. 1236 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1237 ac_top_srcdir=$ac_top_build_prefix$srcdir 1238 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1239esac 1240ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1241 1242 1243 case $ac_mode in 1244 :F) 1245 # 1246 # CONFIG_FILE 1247 # 1248 1249 case $INSTALL in 1250 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 1251 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 1252 esac 1253 ac_MKDIR_P=$MKDIR_P 1254 case $MKDIR_P in 1255 [\\/$]* | ?:[\\/]* ) ;; 1256 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 1257 esac 1258# If the template does not know about datarootdir, expand it. 1259# FIXME: This hack should be removed a few years after 2.60. 1260ac_datarootdir_hack=; ac_datarootdir_seen= 1261ac_sed_dataroot=' 1262/datarootdir/ { 1263 p 1264 q 1265} 1266/@datadir@/p 1267/@docdir@/p 1268/@infodir@/p 1269/@localedir@/p 1270/@mandir@/p' 1271case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 1272*datarootdir*) ac_datarootdir_seen=yes;; 1273*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 1274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 1275$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 1276 ac_datarootdir_hack=' 1277 s&@datadir@&${datarootdir}&g 1278 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g 1279 s&@infodir@&${datarootdir}/info&g 1280 s&@localedir@&${datarootdir}/locale&g 1281 s&@mandir@&${datarootdir}/man&g 1282 s&\${datarootdir}&${prefix}/share&g' ;; 1283esac 1284ac_sed_extra="/^[ ]*VPATH[ ]*=/{ 1285s/:*\$(srcdir):*/:/ 1286s/:*\${srcdir}:*/:/ 1287s/:*@srcdir@:*/:/ 1288s/^\([^=]*=[ ]*\):*/\1/ 1289s/:*$// 1290s/^[^=]*=[ ]*$// 1291} 1292 1293:t 1294/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 1295s|@configure_input@|$ac_sed_conf_input|;t t 1296s&@top_builddir@&$ac_top_builddir_sub&;t t 1297s&@top_build_prefix@&$ac_top_build_prefix&;t t 1298s&@srcdir@&$ac_srcdir&;t t 1299s&@abs_srcdir@&$ac_abs_srcdir&;t t 1300s&@top_srcdir@&$ac_top_srcdir&;t t 1301s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 1302s&@builddir@&$ac_builddir&;t t 1303s&@abs_builddir@&$ac_abs_builddir&;t t 1304s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 1305s&@INSTALL@&$ac_INSTALL&;t t 1306s&@MKDIR_P@&$ac_MKDIR_P&;t t 1307$ac_datarootdir_hack 1308" 1309eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 1310 || as_fn_error "could not create $ac_file" "$LINENO" 5 1311 1312test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 1313 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 1314 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 1315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 1316which seems to be undefined. Please make sure it is defined." >&5 1317$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 1318which seems to be undefined. Please make sure it is defined." >&2;} 1319 1320 rm -f "$tmp/stdin" 1321 case $ac_file in 1322 -) cat "$tmp/out" && rm -f "$tmp/out";; 1323 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 1324 esac \ 1325 || as_fn_error "could not create $ac_file" "$LINENO" 5 1326 ;; 1327 :H) 1328 # 1329 # CONFIG_HEADER 1330 # 1331 if test x"$ac_file" != x-; then 1332 { 1333 $as_echo "/* $configure_input */" \ 1334 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 1335 } >"$tmp/config.h" \ 1336 || as_fn_error "could not create $ac_file" "$LINENO" 5 1337 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 1338 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 1339$as_echo "$as_me: $ac_file is unchanged" >&6;} 1340 else 1341 rm -f "$ac_file" 1342 mv "$tmp/config.h" "$ac_file" \ 1343 || as_fn_error "could not create $ac_file" "$LINENO" 5 1344 fi 1345 else 1346 $as_echo "/* $configure_input */" \ 1347 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 1348 || as_fn_error "could not create -" "$LINENO" 5 1349 fi 1350# Compute "$ac_file"'s index in $config_headers. 1351_am_arg="$ac_file" 1352_am_stamp_count=1 1353for _am_header in $config_headers :; do 1354 case $_am_header in 1355 $_am_arg | $_am_arg:* ) 1356 break ;; 1357 * ) 1358 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 1359 esac 1360done 1361echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 1362$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1363 X"$_am_arg" : 'X\(//\)[^/]' \| \ 1364 X"$_am_arg" : 'X\(//\)$' \| \ 1365 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 1366$as_echo X"$_am_arg" | 1367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1368 s//\1/ 1369 q 1370 } 1371 /^X\(\/\/\)[^/].*/{ 1372 s//\1/ 1373 q 1374 } 1375 /^X\(\/\/\)$/{ 1376 s//\1/ 1377 q 1378 } 1379 /^X\(\/\).*/{ 1380 s//\1/ 1381 q 1382 } 1383 s/.*/./; q'`/stamp-h$_am_stamp_count 1384 ;; 1385 1386 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 1387$as_echo "$as_me: executing $ac_file commands" >&6;} 1388 ;; 1389 esac 1390 1391 1392 case $ac_file$ac_mode in 1393 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files 1394# are listed without --file. Let's play safe and only enable the eval 1395# if we detect the quoting. 1396case $CONFIG_FILES in 1397*\'*) eval set x "$CONFIG_FILES" ;; 1398*) set x $CONFIG_FILES ;; 1399esac 1400shift 1401for mf 1402do 1403 # Strip MF so we end up with the name of the file. 1404 mf=`echo "$mf" | sed -e 's/:.*$//'` 1405 # Check whether this is an Automake generated Makefile or not. 1406 # We used to match only the files named `Makefile.in', but 1407 # some people rename them; so instead we look at the file content. 1408 # Grep'ing the first line is not enough: some people post-process 1409 # each Makefile.in and add a new line on top of each file to say so. 1410 # Grep'ing the whole file is not good either: AIX grep has a line 1411 # limit of 2048, but all sed's we know have understand at least 4000. 1412 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 1413 dirpart=`$as_dirname -- "$mf" || 1414$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1415 X"$mf" : 'X\(//\)[^/]' \| \ 1416 X"$mf" : 'X\(//\)$' \| \ 1417 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 1418$as_echo X"$mf" | 1419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1420 s//\1/ 1421 q 1422 } 1423 /^X\(\/\/\)[^/].*/{ 1424 s//\1/ 1425 q 1426 } 1427 /^X\(\/\/\)$/{ 1428 s//\1/ 1429 q 1430 } 1431 /^X\(\/\).*/{ 1432 s//\1/ 1433 q 1434 } 1435 s/.*/./; q'` 1436 else 1437 continue 1438 fi 1439 # Extract the definition of DEPDIR, am__include, and am__quote 1440 # from the Makefile without running `make'. 1441 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 1442 test -z "$DEPDIR" && continue 1443 am__include=`sed -n 's/^am__include = //p' < "$mf"` 1444 test -z "am__include" && continue 1445 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 1446 # When using ansi2knr, U may be empty or an underscore; expand it 1447 U=`sed -n 's/^U = //p' < "$mf"` 1448 # Find all dependency output files, they are included files with 1449 # $(DEPDIR) in their names. We invoke sed twice because it is the 1450 # simplest approach to changing $(DEPDIR) to its actual value in the 1451 # expansion. 1452 for file in `sed -n " 1453 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 1454 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 1455 # Make sure the directory exists. 1456 test -f "$dirpart/$file" && continue 1457 fdir=`$as_dirname -- "$file" || 1458$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1459 X"$file" : 'X\(//\)[^/]' \| \ 1460 X"$file" : 'X\(//\)$' \| \ 1461 X"$file" : 'X\(/\)' \| . 2>/dev/null || 1462$as_echo X"$file" | 1463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1464 s//\1/ 1465 q 1466 } 1467 /^X\(\/\/\)[^/].*/{ 1468 s//\1/ 1469 q 1470 } 1471 /^X\(\/\/\)$/{ 1472 s//\1/ 1473 q 1474 } 1475 /^X\(\/\).*/{ 1476 s//\1/ 1477 q 1478 } 1479 s/.*/./; q'` 1480 as_dir=$dirpart/$fdir; as_fn_mkdir_p 1481 # echo "creating $dirpart/$file" 1482 echo '# dummy' > "$dirpart/$file" 1483 done 1484done 1485 ;; 1486 "libtool":C) 1487 1488 # See if we are running on zsh, and set the options which allow our 1489 # commands through without removal of \ escapes. 1490 if test -n "${ZSH_VERSION+set}" ; then 1491 setopt NO_GLOB_SUBST 1492 fi 1493 1494 cfgfile="${ofile}T" 1495 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 1496 $RM "$cfgfile" 1497 1498 cat <<_LT_EOF >> "$cfgfile" 1499#! $SHELL 1500 1501# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 1502# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 1503# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 1504# NOTE: Changes made to this file will be lost: look at ltmain.sh. 1505# 1506# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 1507# 2006, 2007, 2008 Free Software Foundation, Inc. 1508# Written by Gordon Matzigkeit, 1996 1509# 1510# This file is part of GNU Libtool. 1511# 1512# GNU Libtool is free software; you can redistribute it and/or 1513# modify it under the terms of the GNU General Public License as 1514# published by the Free Software Foundation; either version 2 of 1515# the License, or (at your option) any later version. 1516# 1517# As a special exception to the GNU General Public License, 1518# if you distribute this file as part of a program or library that 1519# is built using GNU Libtool, you may include this file under the 1520# same distribution terms that you use for the rest of that program. 1521# 1522# GNU Libtool is distributed in the hope that it will be useful, 1523# but WITHOUT ANY WARRANTY; without even the implied warranty of 1524# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1525# GNU General Public License for more details. 1526# 1527# You should have received a copy of the GNU General Public License 1528# along with GNU Libtool; see the file COPYING. If not, a copy 1529# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 1530# obtained by writing to the Free Software Foundation, Inc., 1531# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 1532 1533 1534# The names of the tagged configurations supported by this script. 1535available_tags="RC " 1536 1537# ### BEGIN LIBTOOL CONFIG 1538 1539# Which release of libtool.m4 was used? 1540macro_version=$macro_version 1541macro_revision=$macro_revision 1542 1543# Assembler program. 1544AS=$AS 1545 1546# DLL creation program. 1547DLLTOOL=$DLLTOOL 1548 1549# Object dumper program. 1550OBJDUMP=$OBJDUMP 1551 1552# Whether or not to build static libraries. 1553build_old_libs=$enable_static 1554 1555# Whether or not to build shared libraries. 1556build_libtool_libs=$enable_shared 1557 1558# What type of objects to build. 1559pic_mode=$pic_mode 1560 1561# Whether or not to optimize for fast installation. 1562fast_install=$enable_fast_install 1563 1564# The host system. 1565host_alias=$host_alias 1566host=$host 1567host_os=$host_os 1568 1569# The build system. 1570build_alias=$build_alias 1571build=$build 1572build_os=$build_os 1573 1574# A sed program that does not truncate output. 1575SED=$lt_SED 1576 1577# Sed that helps us avoid accidentally triggering echo(1) options like -n. 1578Xsed="\$SED -e 1s/^X//" 1579 1580# A grep program that handles long lines. 1581GREP=$lt_GREP 1582 1583# An ERE matcher. 1584EGREP=$lt_EGREP 1585 1586# A literal string matcher. 1587FGREP=$lt_FGREP 1588 1589# A BSD- or MS-compatible name lister. 1590NM=$lt_NM 1591 1592# Whether we need soft or hard links. 1593LN_S=$lt_LN_S 1594 1595# What is the maximum length of a command? 1596max_cmd_len=$max_cmd_len 1597 1598# Object file suffix (normally "o"). 1599objext=$ac_objext 1600 1601# Executable file suffix (normally ""). 1602exeext=$exeext 1603 1604# whether the shell understands "unset". 1605lt_unset=$lt_unset 1606 1607# turn spaces into newlines. 1608SP2NL=$lt_lt_SP2NL 1609 1610# turn newlines into spaces. 1611NL2SP=$lt_lt_NL2SP 1612 1613# How to create reloadable object files. 1614reload_flag=$lt_reload_flag 1615reload_cmds=$lt_reload_cmds 1616 1617# Method to check whether dependent libraries are shared objects. 1618deplibs_check_method=$lt_deplibs_check_method 1619 1620# Command to use when deplibs_check_method == "file_magic". 1621file_magic_cmd=$lt_file_magic_cmd 1622 1623# The archiver. 1624AR=$lt_AR 1625AR_FLAGS=$lt_AR_FLAGS 1626 1627# A symbol stripping program. 1628STRIP=$lt_STRIP 1629 1630# Commands used to install an old-style archive. 1631RANLIB=$lt_RANLIB 1632old_postinstall_cmds=$lt_old_postinstall_cmds 1633old_postuninstall_cmds=$lt_old_postuninstall_cmds 1634 1635# A C compiler. 1636LTCC=$lt_CC 1637 1638# LTCC compiler flags. 1639LTCFLAGS=$lt_CFLAGS 1640 1641# Take the output of nm and produce a listing of raw symbols and C names. 1642global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 1643 1644# Transform the output of nm in a proper C declaration. 1645global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 1646 1647# Transform the output of nm in a C name address pair. 1648global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 1649 1650# Transform the output of nm in a C name address pair when lib prefix is needed. 1651global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 1652 1653# The name of the directory that contains temporary libtool files. 1654objdir=$objdir 1655 1656# Shell to use when invoking shell scripts. 1657SHELL=$lt_SHELL 1658 1659# An echo program that does not interpret backslashes. 1660ECHO=$lt_ECHO 1661 1662# Used to examine libraries when file_magic_cmd begins with "file". 1663MAGIC_CMD=$MAGIC_CMD 1664 1665# Must we lock files when doing compilation? 1666need_locks=$lt_need_locks 1667 1668# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 1669DSYMUTIL=$lt_DSYMUTIL 1670 1671# Tool to change global to local symbols on Mac OS X. 1672NMEDIT=$lt_NMEDIT 1673 1674# Tool to manipulate fat objects and archives on Mac OS X. 1675LIPO=$lt_LIPO 1676 1677# ldd/readelf like tool for Mach-O binaries on Mac OS X. 1678OTOOL=$lt_OTOOL 1679 1680# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 1681OTOOL64=$lt_OTOOL64 1682 1683# Old archive suffix (normally "a"). 1684libext=$libext 1685 1686# Shared library suffix (normally ".so"). 1687shrext_cmds=$lt_shrext_cmds 1688 1689# The commands to extract the exported symbol list from a shared archive. 1690extract_expsyms_cmds=$lt_extract_expsyms_cmds 1691 1692# Variables whose values should be saved in libtool wrapper scripts and 1693# restored at link time. 1694variables_saved_for_relink=$lt_variables_saved_for_relink 1695 1696# Do we need the "lib" prefix for modules? 1697need_lib_prefix=$need_lib_prefix 1698 1699# Do we need a version for libraries? 1700need_version=$need_version 1701 1702# Library versioning type. 1703version_type=$version_type 1704 1705# Shared library runtime path variable. 1706runpath_var=$runpath_var 1707 1708# Shared library path variable. 1709shlibpath_var=$shlibpath_var 1710 1711# Is shlibpath searched before the hard-coded library search path? 1712shlibpath_overrides_runpath=$shlibpath_overrides_runpath 1713 1714# Format of library name prefix. 1715libname_spec=$lt_libname_spec 1716 1717# List of archive names. First name is the real one, the rest are links. 1718# The last name is the one that the linker finds with -lNAME 1719library_names_spec=$lt_library_names_spec 1720 1721# The coded name of the library, if different from the real name. 1722soname_spec=$lt_soname_spec 1723 1724# Command to use after installation of a shared archive. 1725postinstall_cmds=$lt_postinstall_cmds 1726 1727# Command to use after uninstallation of a shared archive. 1728postuninstall_cmds=$lt_postuninstall_cmds 1729 1730# Commands used to finish a libtool library installation in a directory. 1731finish_cmds=$lt_finish_cmds 1732 1733# As "finish_cmds", except a single script fragment to be evaled but 1734# not shown. 1735finish_eval=$lt_finish_eval 1736 1737# Whether we should hardcode library paths into libraries. 1738hardcode_into_libs=$hardcode_into_libs 1739 1740# Compile-time system search path for libraries. 1741sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 1742 1743# Run-time system search path for libraries. 1744sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 1745 1746# Whether dlopen is supported. 1747dlopen_support=$enable_dlopen 1748 1749# Whether dlopen of programs is supported. 1750dlopen_self=$enable_dlopen_self 1751 1752# Whether dlopen of statically linked programs is supported. 1753dlopen_self_static=$enable_dlopen_self_static 1754 1755# Commands to strip libraries. 1756old_striplib=$lt_old_striplib 1757striplib=$lt_striplib 1758 1759 1760# The linker used to build libraries. 1761LD=$lt_LD 1762 1763# Commands used to build an old-style archive. 1764old_archive_cmds=$lt_old_archive_cmds 1765 1766# A language specific compiler. 1767CC=$lt_compiler 1768 1769# Is the compiler the GNU compiler? 1770with_gcc=$GCC 1771 1772# Compiler flag to turn off builtin functions. 1773no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 1774 1775# How to pass a linker flag through the compiler. 1776wl=$lt_lt_prog_compiler_wl 1777 1778# Additional compiler flags for building library objects. 1779pic_flag=$lt_lt_prog_compiler_pic 1780 1781# Compiler flag to prevent dynamic linking. 1782link_static_flag=$lt_lt_prog_compiler_static 1783 1784# Does compiler simultaneously support -c and -o options? 1785compiler_c_o=$lt_lt_cv_prog_compiler_c_o 1786 1787# Whether or not to add -lc for building shared libraries. 1788build_libtool_need_lc=$archive_cmds_need_lc 1789 1790# Whether or not to disallow shared libs when runtime libs are static. 1791allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 1792 1793# Compiler flag to allow reflexive dlopens. 1794export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 1795 1796# Compiler flag to generate shared objects directly from archives. 1797whole_archive_flag_spec=$lt_whole_archive_flag_spec 1798 1799# Whether the compiler copes with passing no objects directly. 1800compiler_needs_object=$lt_compiler_needs_object 1801 1802# Create an old-style archive from a shared archive. 1803old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 1804 1805# Create a temporary old-style archive to link instead of a shared archive. 1806old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 1807 1808# Commands used to build a shared archive. 1809archive_cmds=$lt_archive_cmds 1810archive_expsym_cmds=$lt_archive_expsym_cmds 1811 1812# Commands used to build a loadable module if different from building 1813# a shared archive. 1814module_cmds=$lt_module_cmds 1815module_expsym_cmds=$lt_module_expsym_cmds 1816 1817# Whether we are building with GNU ld or not. 1818with_gnu_ld=$lt_with_gnu_ld 1819 1820# Flag that allows shared libraries with undefined symbols to be built. 1821allow_undefined_flag=$lt_allow_undefined_flag 1822 1823# Flag that enforces no undefined symbols. 1824no_undefined_flag=$lt_no_undefined_flag 1825 1826# Flag to hardcode \$libdir into a binary during linking. 1827# This must work even if \$libdir does not exist 1828hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 1829 1830# If ld is used when linking, flag to hardcode \$libdir into a binary 1831# during linking. This must work even if \$libdir does not exist. 1832hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 1833 1834# Whether we need a single "-rpath" flag with a separated argument. 1835hardcode_libdir_separator=$lt_hardcode_libdir_separator 1836 1837# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 1838# DIR into the resulting binary. 1839hardcode_direct=$hardcode_direct 1840 1841# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 1842# DIR into the resulting binary and the resulting library dependency is 1843# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 1844# library is relocated. 1845hardcode_direct_absolute=$hardcode_direct_absolute 1846 1847# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 1848# into the resulting binary. 1849hardcode_minus_L=$hardcode_minus_L 1850 1851# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 1852# into the resulting binary. 1853hardcode_shlibpath_var=$hardcode_shlibpath_var 1854 1855# Set to "yes" if building a shared library automatically hardcodes DIR 1856# into the library and all subsequent libraries and executables linked 1857# against it. 1858hardcode_automatic=$hardcode_automatic 1859 1860# Set to yes if linker adds runtime paths of dependent libraries 1861# to runtime path list. 1862inherit_rpath=$inherit_rpath 1863 1864# Whether libtool must link a program against all its dependency libraries. 1865link_all_deplibs=$link_all_deplibs 1866 1867# Fix the shell variable \$srcfile for the compiler. 1868fix_srcfile_path=$lt_fix_srcfile_path 1869 1870# Set to "yes" if exported symbols are required. 1871always_export_symbols=$always_export_symbols 1872 1873# The commands to list exported symbols. 1874export_symbols_cmds=$lt_export_symbols_cmds 1875 1876# Symbols that should not be listed in the preloaded symbols. 1877exclude_expsyms=$lt_exclude_expsyms 1878 1879# Symbols that must always be exported. 1880include_expsyms=$lt_include_expsyms 1881 1882# Commands necessary for linking programs (against libraries) with templates. 1883prelink_cmds=$lt_prelink_cmds 1884 1885# Specify filename containing input files. 1886file_list_spec=$lt_file_list_spec 1887 1888# How to hardcode a shared library path into an executable. 1889hardcode_action=$hardcode_action 1890 1891# ### END LIBTOOL CONFIG 1892 1893_LT_EOF 1894 1895 case $host_os in 1896 aix3*) 1897 cat <<\_LT_EOF >> "$cfgfile" 1898# AIX sometimes has problems with the GCC collect2 program. For some 1899# reason, if we set the COLLECT_NAMES environment variable, the problems 1900# vanish in a puff of smoke. 1901if test "X${COLLECT_NAMES+set}" != Xset; then 1902 COLLECT_NAMES= 1903 export COLLECT_NAMES 1904fi 1905_LT_EOF 1906 ;; 1907 esac 1908 1909 1910ltmain="$ac_aux_dir/ltmain.sh" 1911 1912 1913 # We use sed instead of cat because bash on DJGPP gets confused if 1914 # if finds mixed CR/LF and LF-only lines. Since sed operates in 1915 # text mode, it properly converts lines to CR/LF. This bash problem 1916 # is reportedly fixed, but why not run on old versions too? 1917 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 1918 || (rm -f "$cfgfile"; exit 1) 1919 1920 case $xsi_shell in 1921 yes) 1922 cat << \_LT_EOF >> "$cfgfile" 1923 1924# func_dirname file append nondir_replacement 1925# Compute the dirname of FILE. If nonempty, add APPEND to the result, 1926# otherwise set result to NONDIR_REPLACEMENT. 1927func_dirname () 1928{ 1929 case ${1} in 1930 */*) func_dirname_result="${1%/*}${2}" ;; 1931 * ) func_dirname_result="${3}" ;; 1932 esac 1933} 1934 1935# func_basename file 1936func_basename () 1937{ 1938 func_basename_result="${1##*/}" 1939} 1940 1941# func_dirname_and_basename file append nondir_replacement 1942# perform func_basename and func_dirname in a single function 1943# call: 1944# dirname: Compute the dirname of FILE. If nonempty, 1945# add APPEND to the result, otherwise set result 1946# to NONDIR_REPLACEMENT. 1947# value returned in "$func_dirname_result" 1948# basename: Compute filename of FILE. 1949# value retuned in "$func_basename_result" 1950# Implementation must be kept synchronized with func_dirname 1951# and func_basename. For efficiency, we do not delegate to 1952# those functions but instead duplicate the functionality here. 1953func_dirname_and_basename () 1954{ 1955 case ${1} in 1956 */*) func_dirname_result="${1%/*}${2}" ;; 1957 * ) func_dirname_result="${3}" ;; 1958 esac 1959 func_basename_result="${1##*/}" 1960} 1961 1962# func_stripname prefix suffix name 1963# strip PREFIX and SUFFIX off of NAME. 1964# PREFIX and SUFFIX must not contain globbing or regex special 1965# characters, hashes, percent signs, but SUFFIX may contain a leading 1966# dot (in which case that matches only a dot). 1967func_stripname () 1968{ 1969 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 1970 # positional parameters, so assign one to ordinary parameter first. 1971 func_stripname_result=${3} 1972 func_stripname_result=${func_stripname_result#"${1}"} 1973 func_stripname_result=${func_stripname_result%"${2}"} 1974} 1975 1976# func_opt_split 1977func_opt_split () 1978{ 1979 func_opt_split_opt=${1%%=*} 1980 func_opt_split_arg=${1#*=} 1981} 1982 1983# func_lo2o object 1984func_lo2o () 1985{ 1986 case ${1} in 1987 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 1988 *) func_lo2o_result=${1} ;; 1989 esac 1990} 1991 1992# func_xform libobj-or-source 1993func_xform () 1994{ 1995 func_xform_result=${1%.*}.lo 1996} 1997 1998# func_arith arithmetic-term... 1999func_arith () 2000{ 2001 func_arith_result=$(( $* )) 2002} 2003 2004# func_len string 2005# STRING may not start with a hyphen. 2006func_len () 2007{ 2008 func_len_result=${#1} 2009} 2010 2011_LT_EOF 2012 ;; 2013 *) # Bourne compatible functions. 2014 cat << \_LT_EOF >> "$cfgfile" 2015 2016# func_dirname file append nondir_replacement 2017# Compute the dirname of FILE. If nonempty, add APPEND to the result, 2018# otherwise set result to NONDIR_REPLACEMENT. 2019func_dirname () 2020{ 2021 # Extract subdirectory from the argument. 2022 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 2023 if test "X$func_dirname_result" = "X${1}"; then 2024 func_dirname_result="${3}" 2025 else 2026 func_dirname_result="$func_dirname_result${2}" 2027 fi 2028} 2029 2030# func_basename file 2031func_basename () 2032{ 2033 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 2034} 2035 2036 2037# func_stripname prefix suffix name 2038# strip PREFIX and SUFFIX off of NAME. 2039# PREFIX and SUFFIX must not contain globbing or regex special 2040# characters, hashes, percent signs, but SUFFIX may contain a leading 2041# dot (in which case that matches only a dot). 2042# func_strip_suffix prefix name 2043func_stripname () 2044{ 2045 case ${2} in 2046 .*) func_stripname_result=`$ECHO "X${3}" \ 2047 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 2048 *) func_stripname_result=`$ECHO "X${3}" \ 2049 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 2050 esac 2051} 2052 2053# sed scripts: 2054my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 2055my_sed_long_arg='1s/^-[^=]*=//' 2056 2057# func_opt_split 2058func_opt_split () 2059{ 2060 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 2061 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 2062} 2063 2064# func_lo2o object 2065func_lo2o () 2066{ 2067 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 2068} 2069 2070# func_xform libobj-or-source 2071func_xform () 2072{ 2073 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 2074} 2075 2076# func_arith arithmetic-term... 2077func_arith () 2078{ 2079 func_arith_result=`expr "$@"` 2080} 2081 2082# func_len string 2083# STRING may not start with a hyphen. 2084func_len () 2085{ 2086 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 2087} 2088 2089_LT_EOF 2090esac 2091 2092case $lt_shell_append in 2093 yes) 2094 cat << \_LT_EOF >> "$cfgfile" 2095 2096# func_append var value 2097# Append VALUE to the end of shell variable VAR. 2098func_append () 2099{ 2100 eval "$1+=\$2" 2101} 2102_LT_EOF 2103 ;; 2104 *) 2105 cat << \_LT_EOF >> "$cfgfile" 2106 2107# func_append var value 2108# Append VALUE to the end of shell variable VAR. 2109func_append () 2110{ 2111 eval "$1=\$$1\$2" 2112} 2113 2114_LT_EOF 2115 ;; 2116 esac 2117 2118 2119 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 2120 || (rm -f "$cfgfile"; exit 1) 2121 2122 mv -f "$cfgfile" "$ofile" || 2123 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 2124 chmod +x "$ofile" 2125 2126 2127 cat <<_LT_EOF >> "$ofile" 2128 2129# ### BEGIN LIBTOOL TAG CONFIG: RC 2130 2131# The linker used to build libraries. 2132LD=$lt_LD_RC 2133 2134# Commands used to build an old-style archive. 2135old_archive_cmds=$lt_old_archive_cmds_RC 2136 2137# A language specific compiler. 2138CC=$lt_compiler_RC 2139 2140# Is the compiler the GNU compiler? 2141with_gcc=$GCC_RC 2142 2143# Compiler flag to turn off builtin functions. 2144no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC 2145 2146# How to pass a linker flag through the compiler. 2147wl=$lt_lt_prog_compiler_wl_RC 2148 2149# Additional compiler flags for building library objects. 2150pic_flag=$lt_lt_prog_compiler_pic_RC 2151 2152# Compiler flag to prevent dynamic linking. 2153link_static_flag=$lt_lt_prog_compiler_static_RC 2154 2155# Does compiler simultaneously support -c and -o options? 2156compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC 2157 2158# Whether or not to add -lc for building shared libraries. 2159build_libtool_need_lc=$archive_cmds_need_lc_RC 2160 2161# Whether or not to disallow shared libs when runtime libs are static. 2162allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC 2163 2164# Compiler flag to allow reflexive dlopens. 2165export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC 2166 2167# Compiler flag to generate shared objects directly from archives. 2168whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC 2169 2170# Whether the compiler copes with passing no objects directly. 2171compiler_needs_object=$lt_compiler_needs_object_RC 2172 2173# Create an old-style archive from a shared archive. 2174old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC 2175 2176# Create a temporary old-style archive to link instead of a shared archive. 2177old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC 2178 2179# Commands used to build a shared archive. 2180archive_cmds=$lt_archive_cmds_RC 2181archive_expsym_cmds=$lt_archive_expsym_cmds_RC 2182 2183# Commands used to build a loadable module if different from building 2184# a shared archive. 2185module_cmds=$lt_module_cmds_RC 2186module_expsym_cmds=$lt_module_expsym_cmds_RC 2187 2188# Whether we are building with GNU ld or not. 2189with_gnu_ld=$lt_with_gnu_ld_RC 2190 2191# Flag that allows shared libraries with undefined symbols to be built. 2192allow_undefined_flag=$lt_allow_undefined_flag_RC 2193 2194# Flag that enforces no undefined symbols. 2195no_undefined_flag=$lt_no_undefined_flag_RC 2196 2197# Flag to hardcode \$libdir into a binary during linking. 2198# This must work even if \$libdir does not exist 2199hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC 2200 2201# If ld is used when linking, flag to hardcode \$libdir into a binary 2202# during linking. This must work even if \$libdir does not exist. 2203hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC 2204 2205# Whether we need a single "-rpath" flag with a separated argument. 2206hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC 2207 2208# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 2209# DIR into the resulting binary. 2210hardcode_direct=$hardcode_direct_RC 2211 2212# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 2213# DIR into the resulting binary and the resulting library dependency is 2214# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 2215# library is relocated. 2216hardcode_direct_absolute=$hardcode_direct_absolute_RC 2217 2218# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 2219# into the resulting binary. 2220hardcode_minus_L=$hardcode_minus_L_RC 2221 2222# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 2223# into the resulting binary. 2224hardcode_shlibpath_var=$hardcode_shlibpath_var_RC 2225 2226# Set to "yes" if building a shared library automatically hardcodes DIR 2227# into the library and all subsequent libraries and executables linked 2228# against it. 2229hardcode_automatic=$hardcode_automatic_RC 2230 2231# Set to yes if linker adds runtime paths of dependent libraries 2232# to runtime path list. 2233inherit_rpath=$inherit_rpath_RC 2234 2235# Whether libtool must link a program against all its dependency libraries. 2236link_all_deplibs=$link_all_deplibs_RC 2237 2238# Fix the shell variable \$srcfile for the compiler. 2239fix_srcfile_path=$lt_fix_srcfile_path_RC 2240 2241# Set to "yes" if exported symbols are required. 2242always_export_symbols=$always_export_symbols_RC 2243 2244# The commands to list exported symbols. 2245export_symbols_cmds=$lt_export_symbols_cmds_RC 2246 2247# Symbols that should not be listed in the preloaded symbols. 2248exclude_expsyms=$lt_exclude_expsyms_RC 2249 2250# Symbols that must always be exported. 2251include_expsyms=$lt_include_expsyms_RC 2252 2253# Commands necessary for linking programs (against libraries) with templates. 2254prelink_cmds=$lt_prelink_cmds_RC 2255 2256# Specify filename containing input files. 2257file_list_spec=$lt_file_list_spec_RC 2258 2259# How to hardcode a shared library path into an executable. 2260hardcode_action=$hardcode_action_RC 2261 2262# ### END LIBTOOL TAG CONFIG: RC 2263_LT_EOF 2264 2265 ;; 2266 "po-directories":C) 2267 for ac_file in $CONFIG_FILES; do 2268 # Support "outfile[:infile[:infile...]]" 2269 case "$ac_file" in 2270 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 2271 esac 2272 # PO directories have a Makefile.in generated from Makefile.in.in. 2273 case "$ac_file" in */Makefile.in) 2274 # Adjust a relative srcdir. 2275 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 2276 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 2277 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 2278 # In autoconf-2.13 it is called $ac_given_srcdir. 2279 # In autoconf-2.50 it is called $srcdir. 2280 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 2281 case "$ac_given_srcdir" in 2282 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 2283 /*) top_srcdir="$ac_given_srcdir" ;; 2284 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 2285 esac 2286 # Treat a directory as a PO directory if and only if it has a 2287 # POTFILES.in file. This allows packages to have multiple PO 2288 # directories under different names or in different locations. 2289 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 2290 rm -f "$ac_dir/POTFILES" 2291 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 2292 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 2293 POMAKEFILEDEPS="POTFILES.in" 2294 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 2295 # on $ac_dir but don't depend on user-specified configuration 2296 # parameters. 2297 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 2298 # The LINGUAS file contains the set of available languages. 2299 if test -n "$OBSOLETE_ALL_LINGUAS"; then 2300 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 2301 fi 2302 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 2303 # Hide the ALL_LINGUAS assigment from automake < 1.5. 2304 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 2305 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 2306 else 2307 # The set of available languages was given in configure.in. 2308 # Hide the ALL_LINGUAS assigment from automake < 1.5. 2309 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 2310 fi 2311 # Compute POFILES 2312 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 2313 # Compute UPDATEPOFILES 2314 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 2315 # Compute DUMMYPOFILES 2316 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 2317 # Compute GMOFILES 2318 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 2319 case "$ac_given_srcdir" in 2320 .) srcdirpre= ;; 2321 *) srcdirpre='$(srcdir)/' ;; 2322 esac 2323 POFILES= 2324 UPDATEPOFILES= 2325 DUMMYPOFILES= 2326 GMOFILES= 2327 for lang in $ALL_LINGUAS; do 2328 POFILES="$POFILES $srcdirpre$lang.po" 2329 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 2330 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 2331 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 2332 done 2333 # CATALOGS depends on both $ac_dir and the user's LINGUAS 2334 # environment variable. 2335 INST_LINGUAS= 2336 if test -n "$ALL_LINGUAS"; then 2337 for presentlang in $ALL_LINGUAS; do 2338 useit=no 2339 if test "%UNSET%" != "$LINGUAS"; then 2340 desiredlanguages="$LINGUAS" 2341 else 2342 desiredlanguages="$ALL_LINGUAS" 2343 fi 2344 for desiredlang in $desiredlanguages; do 2345 # Use the presentlang catalog if desiredlang is 2346 # a. equal to presentlang, or 2347 # b. a variant of presentlang (because in this case, 2348 # presentlang can be used as a fallback for messages 2349 # which are not translated in the desiredlang catalog). 2350 case "$desiredlang" in 2351 "$presentlang"*) useit=yes;; 2352 esac 2353 done 2354 if test $useit = yes; then 2355 INST_LINGUAS="$INST_LINGUAS $presentlang" 2356 fi 2357 done 2358 fi 2359 CATALOGS= 2360 if test -n "$INST_LINGUAS"; then 2361 for lang in $INST_LINGUAS; do 2362 CATALOGS="$CATALOGS $lang.gmo" 2363 done 2364 fi 2365 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 2366 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 2367 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 2368 if test -f "$f"; then 2369 case "$f" in 2370 *.orig | *.bak | *~) ;; 2371 *) cat "$f" >> "$ac_dir/Makefile" ;; 2372 esac 2373 fi 2374 done 2375 fi 2376 ;; 2377 esac 2378 done ;; 2379 "src/gpg-error-config":F) chmod +x src/gpg-error-config ;; 2380 2381 esac 2382done # for ac_tag 2383 2384 2385as_fn_exit 0 2386