Annotation of embedaddon/ipsec-tools/config.status, revision 1.1
1.1 ! misho 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:
! 7: debug=false
! 8: ac_cs_recheck=false
! 9: ac_cs_silent=false
! 10:
! 11: SHELL=${CONFIG_SHELL-/bin/sh}
! 12: export SHELL
! 13: ## -------------------- ##
! 14: ## M4sh Initialization. ##
! 15: ## -------------------- ##
! 16:
! 17: # Be more Bourne compatible
! 18: DUALCASE=1; export DUALCASE # for MKS sh
! 19: if 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
! 26: else
! 27: case `(set -o) 2>/dev/null` in #(
! 28: *posix*) :
! 29: set -o posix ;; #(
! 30: *) :
! 31: ;;
! 32: esac
! 33: fi
! 34:
! 35:
! 36: as_nl='
! 37: '
! 38: export as_nl
! 39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 42: as_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.
! 45: if 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 --'
! 49: elif (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'
! 52: else
! 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'
! 72: fi
! 73:
! 74: # The user is always right.
! 75: if 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: }
! 81: fi
! 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.)
! 89: IFS=" "" $as_nl"
! 90:
! 91: # Find who we are. Look in the path if we contain no directory separator.
! 92: case $0 in #((
! 93: *[\\/]* ) as_myself=$0 ;;
! 94: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 95: for as_dir in $PATH
! 96: do
! 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
! 101: IFS=$as_save_IFS
! 102:
! 103: ;;
! 104: esac
! 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.
! 107: if test "x$as_myself" = x; then
! 108: as_myself=$0
! 109: fi
! 110: if test ! -f "$as_myself"; then
! 111: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 112: exit 1
! 113: fi
! 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.
! 119: for as_var in BASH_ENV ENV MAIL MAILPATH
! 120: do eval test x\${$as_var+set} = xset \
! 121: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
! 122: done
! 123: PS1='$ '
! 124: PS2='> '
! 125: PS4='+ '
! 126:
! 127: # NLS nuisances.
! 128: LC_ALL=C
! 129: export LC_ALL
! 130: LANGUAGE=C
! 131: export LANGUAGE
! 132:
! 133: # CDPATH.
! 134: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 135:
! 136:
! 137: # as_fn_error STATUS 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.
! 142: as_fn_error ()
! 143: {
! 144: as_status=$1; test $as_status -eq 0 && as_status=1
! 145: if test "$4"; then
! 146: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 147: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
! 148: fi
! 149: $as_echo "$as_me: error: $2" >&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.
! 157: as_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.
! 165: as_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.
! 175: as_fn_unset ()
! 176: {
! 177: { eval $1=; unset $1;}
! 178: }
! 179: as_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.
! 186: if (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: }'
! 191: else
! 192: as_fn_append ()
! 193: {
! 194: eval $1=\$$1\$2
! 195: }
! 196: fi # 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.
! 203: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
! 204: eval 'as_fn_arith ()
! 205: {
! 206: as_val=$(( $* ))
! 207: }'
! 208: else
! 209: as_fn_arith ()
! 210: {
! 211: as_val=`expr "$@" || test $? -eq 1`
! 212: }
! 213: fi # as_fn_arith
! 214:
! 215:
! 216: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 217: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 218: as_expr=expr
! 219: else
! 220: as_expr=false
! 221: fi
! 222:
! 223: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 224: as_basename=basename
! 225: else
! 226: as_basename=false
! 227: fi
! 228:
! 229: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 230: as_dirname=dirname
! 231: else
! 232: as_dirname=false
! 233: fi
! 234:
! 235: as_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.
! 255: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 256: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 257: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 258: as_cr_digits='0123456789'
! 259: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 260:
! 261: ECHO_C= ECHO_N= ECHO_T=
! 262: case `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';;
! 272: esac
! 273:
! 274: rm -f conf$$ conf$$.exe conf$$.file
! 275: if test -d conf$$.dir; then
! 276: rm -f conf$$.dir/conf$$.file
! 277: else
! 278: rm -f conf$$.dir
! 279: mkdir conf$$.dir 2>/dev/null
! 280: fi
! 281: if (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
! 295: else
! 296: as_ln_s='cp -p'
! 297: fi
! 298: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 299: rmdir conf$$.dir 2>/dev/null
! 300:
! 301:
! 302: # as_fn_mkdir_p
! 303: # -------------
! 304: # Create "$as_dir" as a directory, including parents if necessary.
! 305: as_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
! 349: if mkdir -p . 2>/dev/null; then
! 350: as_mkdir_p='mkdir -p "$as_dir"'
! 351: else
! 352: test -d ./-p && rmdir ./-p
! 353: as_mkdir_p=false
! 354: fi
! 355:
! 356: if test -x / >/dev/null 2>&1; then
! 357: as_test_x='test -x'
! 358: else
! 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: '
! 376: fi
! 377: as_executable_p=$as_test_x
! 378:
! 379: # Sed expression to map a string onto a valid CPP name.
! 380: as_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.
! 383: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 384:
! 385:
! 386: exec 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.
! 393: ac_log="
! 394: This file was extended by ipsec-tools $as_me 0.8.0, which was
! 395: generated by GNU Autoconf 2.67. 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:
! 403: on `(hostname || uname -n) 2>/dev/null | sed 1q`
! 404: "
! 405:
! 406: # Files that config.status was made for.
! 407: config_files=" Makefile package_version.h src/Makefile src/include-glibc/Makefile src/libipsec/Makefile src/setkey/Makefile src/racoon/Makefile src/racoon/samples/psk.txt src/racoon/samples/racoon.conf rpm/Makefile rpm/suse/Makefile rpm/suse/ipsec-tools.spec"
! 408: config_headers=" config.h"
! 409: config_commands=" depfiles libtool"
! 410:
! 411: ac_cs_usage="\
! 412: \`$as_me' instantiates files and other configuration actions
! 413: from templates according to the current configuration. Unless the files
! 414: and actions are specified as TAGs, all are instantiated by default.
! 415:
! 416: Usage: $0 [OPTION]... [TAG]...
! 417:
! 418: -h, --help print this help, then exit
! 419: -V, --version print version number and configuration settings, then exit
! 420: --config print configuration, then exit
! 421: -q, --quiet, --silent
! 422: do not print progress messages
! 423: -d, --debug don't remove temporary files
! 424: --recheck update $as_me by reconfiguring in the same conditions
! 425: --file=FILE[:TEMPLATE]
! 426: instantiate the configuration file FILE
! 427: --header=FILE[:TEMPLATE]
! 428: instantiate the configuration header FILE
! 429:
! 430: Configuration files:
! 431: $config_files
! 432:
! 433: Configuration headers:
! 434: $config_headers
! 435:
! 436: Configuration commands:
! 437: $config_commands
! 438:
! 439: Report bugs to the package provider."
! 440:
! 441: ac_cs_config="'--enable-shared' '--sysconfdir=/usr/local/etc/racoon' '--localstatedir=/var/db' '--with-pkgversion=freebsd-0.8.0' '--enable-debug' '--enable-ipv6' '--enable-adminport' '--enable-stats' '--enable-dpd' '--enable-natt=yes' '--enable-frag' '--enable-hybrid' '--without-libpam' '--disable-gssapi' '--with-libradius' '--without-libldap' '--disable-samode-unspec' '--disable-rc5' '--disable-idea' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd10.0' 'build_alias=i386-portbld-freebsd10.0' 'CC=cc' 'CFLAGS=-pipe -g' 'LDFLAGS= -rpath=/usr/lib:/usr/local/lib' 'CPPFLAGS=' 'CPP=cpp'"
! 442: ac_cs_version="\
! 443: ipsec-tools config.status 0.8.0
! 444: configured by ./configure, generated by GNU Autoconf 2.67,
! 445: with options \"$ac_cs_config\"
! 446:
! 447: Copyright (C) 2010 Free Software Foundation, Inc.
! 448: This config.status script is free software; the Free Software Foundation
! 449: gives unlimited permission to copy, distribute and modify it."
! 450:
! 451: ac_pwd='/usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0'
! 452: srcdir='.'
! 453: INSTALL='/usr/bin/install -c -o root -g wheel'
! 454: MKDIR_P='./install-sh -c -d'
! 455: AWK='gawk'
! 456: test -n "$AWK" || AWK=awk
! 457: # The default lists apply if the user does not specify any file.
! 458: ac_need_defaults=:
! 459: while test $# != 0
! 460: do
! 461: case $1 in
! 462: --*=?*)
! 463: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 464: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
! 465: ac_shift=:
! 466: ;;
! 467: --*=)
! 468: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 469: ac_optarg=
! 470: ac_shift=:
! 471: ;;
! 472: *)
! 473: ac_option=$1
! 474: ac_optarg=$2
! 475: ac_shift=shift
! 476: ;;
! 477: esac
! 478:
! 479: case $ac_option in
! 480: # Handling of the options.
! 481: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 482: ac_cs_recheck=: ;;
! 483: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
! 484: $as_echo "$ac_cs_version"; exit ;;
! 485: --config | --confi | --conf | --con | --co | --c )
! 486: $as_echo "$ac_cs_config"; exit ;;
! 487: --debug | --debu | --deb | --de | --d | -d )
! 488: debug=: ;;
! 489: --file | --fil | --fi | --f )
! 490: $ac_shift
! 491: case $ac_optarg in
! 492: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 493: '') as_fn_error $? "missing file argument" ;;
! 494: esac
! 495: as_fn_append CONFIG_FILES " '$ac_optarg'"
! 496: ac_need_defaults=false;;
! 497: --header | --heade | --head | --hea )
! 498: $ac_shift
! 499: case $ac_optarg in
! 500: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 501: esac
! 502: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
! 503: ac_need_defaults=false;;
! 504: --he | --h)
! 505: # Conflict between --help and --header
! 506: as_fn_error $? "ambiguous option: \`$1'
! 507: Try \`$0 --help' for more information.";;
! 508: --help | --hel | -h )
! 509: $as_echo "$ac_cs_usage"; exit ;;
! 510: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 511: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 512: ac_cs_silent=: ;;
! 513:
! 514: # This is an error.
! 515: -*) as_fn_error $? "unrecognized option: \`$1'
! 516: Try \`$0 --help' for more information." ;;
! 517:
! 518: *) as_fn_append ac_config_targets " $1"
! 519: ac_need_defaults=false ;;
! 520:
! 521: esac
! 522: shift
! 523: done
! 524:
! 525: ac_configure_extra_args=
! 526:
! 527: if $ac_cs_silent; then
! 528: exec 6>/dev/null
! 529: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 530: fi
! 531:
! 532: if $ac_cs_recheck; then
! 533: set X '/bin/sh' './configure' '--enable-shared' '--sysconfdir=/usr/local/etc/racoon' '--localstatedir=/var/db' '--with-pkgversion=freebsd-0.8.0' '--enable-debug' '--enable-ipv6' '--enable-adminport' '--enable-stats' '--enable-dpd' '--enable-natt=yes' '--enable-frag' '--enable-hybrid' '--without-libpam' '--disable-gssapi' '--with-libradius' '--without-libldap' '--disable-samode-unspec' '--disable-rc5' '--disable-idea' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd10.0' 'build_alias=i386-portbld-freebsd10.0' 'CC=cc' 'CFLAGS=-pipe -g' 'LDFLAGS= -rpath=/usr/lib:/usr/local/lib' 'CPPFLAGS=' 'CPP=cpp' $ac_configure_extra_args --no-create --no-recursion
! 534: shift
! 535: $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
! 536: CONFIG_SHELL='/bin/sh'
! 537: export CONFIG_SHELL
! 538: exec "$@"
! 539: fi
! 540:
! 541: exec 5>>config.log
! 542: {
! 543: echo
! 544: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 545: ## Running $as_me. ##
! 546: _ASBOX
! 547: $as_echo "$ac_log"
! 548: } >&5
! 549:
! 550: #
! 551: # INIT-COMMANDS
! 552: #
! 553: AMDEP_TRUE="" ac_aux_dir="."
! 554:
! 555:
! 556: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 557: # if CDPATH is set.
! 558: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 559:
! 560: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
! 561: double_quote_subst='s/\(["`\\]\)/\\\1/g'
! 562: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
! 563: enable_shared='yes'
! 564: macro_version='2.2.6b'
! 565: macro_revision='1.3017'
! 566: enable_static='yes'
! 567: pic_mode='default'
! 568: enable_fast_install='needless'
! 569: host_alias=''
! 570: host='i386-portbld-freebsd10.0'
! 571: host_os='freebsd10.0'
! 572: build_alias='i386-portbld-freebsd10.0'
! 573: build='i386-portbld-freebsd10.0'
! 574: build_os='freebsd10.0'
! 575: SED='/usr/bin/sed'
! 576: Xsed='/usr/bin/sed -e 1s/^X//'
! 577: GREP='/usr/bin/grep'
! 578: EGREP='/usr/bin/grep -E'
! 579: FGREP='/usr/bin/grep -F'
! 580: LD='/usr/bin/ld'
! 581: NM='/usr/bin/nm -B'
! 582: LN_S='ln -s'
! 583: max_cmd_len='262144'
! 584: ac_objext='o'
! 585: exeext=''
! 586: lt_unset='unset'
! 587: lt_SP2NL='tr \040 \012'
! 588: lt_NL2SP='tr \015\012 \040\040'
! 589: reload_flag=' -r'
! 590: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 591: OBJDUMP='objdump'
! 592: deplibs_check_method='pass_all'
! 593: file_magic_cmd='$MAGIC_CMD'
! 594: AR='ar'
! 595: AR_FLAGS='cru'
! 596: STRIP='strip'
! 597: RANLIB='ranlib'
! 598: old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
! 599: old_postuninstall_cmds=''
! 600: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
! 601: CC='cc'
! 602: CFLAGS='-pipe -g -Wall -Werror -Wno-unused'
! 603: compiler='cc'
! 604: GCC='yes'
! 605: lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
! 606: lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
! 607: lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
! 608: lt_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'\'''
! 609: objdir='.libs'
! 610: SHELL='/bin/sh'
! 611: ECHO='echo'
! 612: MAGIC_CMD='file'
! 613: lt_prog_compiler_no_builtin_flag=' -fno-builtin'
! 614: lt_prog_compiler_wl='-Wl,'
! 615: lt_prog_compiler_pic=' -fPIC -DPIC'
! 616: lt_prog_compiler_static='-static'
! 617: lt_cv_prog_compiler_c_o='yes'
! 618: need_locks='no'
! 619: DSYMUTIL=''
! 620: NMEDIT=''
! 621: LIPO=''
! 622: OTOOL=''
! 623: OTOOL64=''
! 624: libext='a'
! 625: shrext_cmds='.so'
! 626: extract_expsyms_cmds=''
! 627: archive_cmds_need_lc='no'
! 628: enable_shared_with_static_runtimes='no'
! 629: export_dynamic_flag_spec='${wl}--export-dynamic'
! 630: whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
! 631: compiler_needs_object='no'
! 632: old_archive_from_new_cmds=''
! 633: old_archive_from_expsyms_cmds=''
! 634: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
! 635: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
! 636: module_cmds=''
! 637: module_expsym_cmds=''
! 638: with_gnu_ld='yes'
! 639: allow_undefined_flag=''
! 640: no_undefined_flag=''
! 641: hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
! 642: hardcode_libdir_flag_spec_ld=''
! 643: hardcode_libdir_separator=''
! 644: hardcode_direct='no'
! 645: hardcode_direct_absolute='no'
! 646: hardcode_minus_L='no'
! 647: hardcode_shlibpath_var='unsupported'
! 648: hardcode_automatic='no'
! 649: inherit_rpath='no'
! 650: link_all_deplibs='unknown'
! 651: fix_srcfile_path=''
! 652: always_export_symbols='no'
! 653: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 654: exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 655: include_expsyms=''
! 656: prelink_cmds=''
! 657: file_list_spec=''
! 658: variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
! 659: need_lib_prefix='no'
! 660: need_version='no'
! 661: version_type='freebsd-elf'
! 662: runpath_var='LD_RUN_PATH'
! 663: shlibpath_var='LD_LIBRARY_PATH'
! 664: shlibpath_overrides_runpath='yes'
! 665: libname_spec='lib$name'
! 666: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
! 667: soname_spec=''
! 668: postinstall_cmds=''
! 669: postuninstall_cmds=''
! 670: finish_cmds=''
! 671: finish_eval=''
! 672: hardcode_into_libs='yes'
! 673: sys_lib_search_path_spec='/usr/lib'
! 674: sys_lib_dlsearch_path_spec='/lib /usr/lib'
! 675: hardcode_action='immediate'
! 676: enable_dlopen='unknown'
! 677: enable_dlopen_self='unknown'
! 678: enable_dlopen_self_static='unknown'
! 679: old_striplib='strip --strip-debug'
! 680: striplib='strip --strip-unneeded'
! 681:
! 682: LTCC='cc'
! 683: LTCFLAGS='-pipe -g'
! 684: compiler='cc'
! 685:
! 686: # Quote evaled strings.
! 687: for var in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP 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; do
! 688: case `eval \\$ECHO "X\\$$var"` in
! 689: *[\\\`\"\$]*)
! 690: eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
! 691: ;;
! 692: *)
! 693: eval "lt_$var=\\\"\$$var\\\""
! 694: ;;
! 695: esac
! 696: done
! 697:
! 698: # Double-quote double-evaled strings.
! 699: for 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; do
! 700: case `eval \\$ECHO "X\\$$var"` in
! 701: *[\\\`\"\$]*)
! 702: eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
! 703: ;;
! 704: *)
! 705: eval "lt_$var=\\\"\$$var\\\""
! 706: ;;
! 707: esac
! 708: done
! 709:
! 710: # Fix-up fallback echo if it was mangled by the above quoting rules.
! 711: case $lt_ECHO in
! 712: *'\$0 --fallback-echo"') lt_ECHO=`$ECHO "X$lt_ECHO" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
! 713: ;;
! 714: esac
! 715:
! 716: ac_aux_dir='.'
! 717: xsi_shell='yes'
! 718: lt_shell_append='no'
! 719:
! 720: # See if we are running on zsh, and set the options which allow our
! 721: # commands through without removal of \ escapes INIT.
! 722: if test -n "${ZSH_VERSION+set}" ; then
! 723: setopt NO_GLOB_SUBST
! 724: fi
! 725:
! 726:
! 727: PACKAGE='ipsec-tools'
! 728: VERSION='0.8.0'
! 729: TIMESTAMP=''
! 730: RM='rm -f'
! 731: ofile='libtool'
! 732:
! 733:
! 734:
! 735:
! 736:
! 737: # Handling of arguments.
! 738: for ac_config_target in $ac_config_targets
! 739: do
! 740: case $ac_config_target in
! 741: "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
! 742: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
! 743: "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
! 744: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 745: "package_version.h") CONFIG_FILES="$CONFIG_FILES package_version.h" ;;
! 746: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
! 747: "src/include-glibc/Makefile") CONFIG_FILES="$CONFIG_FILES src/include-glibc/Makefile" ;;
! 748: "src/libipsec/Makefile") CONFIG_FILES="$CONFIG_FILES src/libipsec/Makefile" ;;
! 749: "src/setkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/setkey/Makefile" ;;
! 750: "src/racoon/Makefile") CONFIG_FILES="$CONFIG_FILES src/racoon/Makefile" ;;
! 751: "src/racoon/samples/psk.txt") CONFIG_FILES="$CONFIG_FILES src/racoon/samples/psk.txt" ;;
! 752: "src/racoon/samples/racoon.conf") CONFIG_FILES="$CONFIG_FILES src/racoon/samples/racoon.conf" ;;
! 753: "rpm/Makefile") CONFIG_FILES="$CONFIG_FILES rpm/Makefile" ;;
! 754: "rpm/suse/Makefile") CONFIG_FILES="$CONFIG_FILES rpm/suse/Makefile" ;;
! 755: "rpm/suse/ipsec-tools.spec") CONFIG_FILES="$CONFIG_FILES rpm/suse/ipsec-tools.spec" ;;
! 756:
! 757: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
! 758: esac
! 759: done
! 760:
! 761:
! 762: # If the user did not use the arguments to specify the items to instantiate,
! 763: # then the envvar interface is used. Set only those that are not.
! 764: # We use the long form for the default assignment because of an extremely
! 765: # bizarre bug on SunOS 4.1.3.
! 766: if $ac_need_defaults; then
! 767: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 768: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 769: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
! 770: fi
! 771:
! 772: # Have a temporary directory for convenience. Make it in the build tree
! 773: # simply because there is no reason against having it here, and in addition,
! 774: # creating and moving files from /tmp can sometimes cause problems.
! 775: # Hook for its removal unless debugging.
! 776: # Note that there is a small window in which the directory will not be cleaned:
! 777: # after its creation but before its name has been assigned to `$tmp'.
! 778: $debug ||
! 779: {
! 780: tmp=
! 781: trap 'exit_status=$?
! 782: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
! 783: ' 0
! 784: trap 'as_fn_exit 1' 1 2 13 15
! 785: }
! 786: # Create a (secure) tmp directory for tmp files.
! 787:
! 788: {
! 789: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
! 790: test -n "$tmp" && test -d "$tmp"
! 791: } ||
! 792: {
! 793: tmp=./conf$$-$RANDOM
! 794: (umask 077 && mkdir "$tmp")
! 795: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
! 796:
! 797: # Set up the scripts for CONFIG_FILES section.
! 798: # No need to generate them if there are no CONFIG_FILES.
! 799: # This happens for instance with `./config.status config.h'.
! 800: if test -n "$CONFIG_FILES"; then
! 801:
! 802:
! 803: ac_cr=`echo X | tr X '\015'`
! 804: # On cygwin, bash can eat \r inside `` if the user requested igncr.
! 805: # But we know of no other shell where ac_cr would be empty at this
! 806: # point, so we can use a bashism as a fallback.
! 807: if test "x$ac_cr" = x; then
! 808: eval ac_cr=\$\'\\r\'
! 809: fi
! 810: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
! 811: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
! 812: ac_cs_awk_cr='\\r'
! 813: else
! 814: ac_cs_awk_cr=$ac_cr
! 815: fi
! 816:
! 817: echo 'BEGIN {' >"$tmp/subs1.awk" &&
! 818: cat >>"$tmp/subs1.awk" <<\_ACAWK &&
! 819: S["am__EXEEXT_FALSE"]=""
! 820: S["am__EXEEXT_TRUE"]="#"
! 821: S["LTLIBOBJS"]=""
! 822: S["include_racoondir"]="${prefix}/include/racoon"
! 823: S["SECCTX_OBJS"]=""
! 824: S["NATT_OBJS"]="nattraversal.o"
! 825: S["KRB5_CONFIG"]="/usr/bin/krb5-config"
! 826: S["FRAG_OBJS"]="isakmp_frag.o"
! 827: S["HYBRID_OBJS"]="isakmp_xauth.o isakmp_cfg.o isakmp_unity.o throttle.o"
! 828: S["EXTRA_CRYPTO"]=""
! 829: S["CRYPTOBJS"]=""
! 830: S["LIBOBJS"]=""
! 831: S["GLIBC_BUGS"]=""
! 832: S["KERNEL_INCLUDE"]=""
! 833: S["CONFIGURE_AMFLAGS"]=""
! 834: S["RPM"]=""
! 835: S["INCLUDE_GLIBC"]=""
! 836: S["INSTALL_OPTS"]=""
! 837: S["LEXLIB"]="-lfl"
! 838: S["LEX_OUTPUT_ROOT"]="lex.yy"
! 839: S["LEX"]="flex"
! 840: S["YFLAGS"]=""
! 841: S["YACC"]="bison -y"
! 842: S["OTOOL64"]=""
! 843: S["OTOOL"]=""
! 844: S["LIPO"]=""
! 845: S["NMEDIT"]=""
! 846: S["DSYMUTIL"]=""
! 847: S["lt_ECHO"]="echo"
! 848: S["RANLIB"]="ranlib"
! 849: S["AR"]="ar"
! 850: S["OBJDUMP"]="objdump"
! 851: S["LN_S"]="ln -s"
! 852: S["NM"]="/usr/bin/nm -B"
! 853: S["ac_ct_DUMPBIN"]=""
! 854: S["DUMPBIN"]=""
! 855: S["LD"]="/usr/bin/ld"
! 856: S["FGREP"]="/usr/bin/grep -F"
! 857: S["SED"]="/usr/bin/sed"
! 858: S["host_os"]="freebsd10.0"
! 859: S["host_vendor"]="portbld"
! 860: S["host_cpu"]="i386"
! 861: S["host"]="i386-portbld-freebsd10.0"
! 862: S["build_os"]="freebsd10.0"
! 863: S["build_vendor"]="portbld"
! 864: S["build_cpu"]="i386"
! 865: S["build"]="i386-portbld-freebsd10.0"
! 866: S["LIBTOOL"]="$(SHELL) /usr/local/bin/libtool"
! 867: S["EGREP"]="/usr/bin/grep -E"
! 868: S["GREP"]="/usr/bin/grep"
! 869: S["CPP"]="cpp"
! 870: S["am__fastdepCC_FALSE"]="#"
! 871: S["am__fastdepCC_TRUE"]=""
! 872: S["CCDEPMODE"]="depmode=gcc3"
! 873: S["AMDEPBACKSLASH"]="\\"
! 874: S["AMDEP_FALSE"]="#"
! 875: S["AMDEP_TRUE"]=""
! 876: S["am__quote"]=""
! 877: S["am__include"]="include"
! 878: S["DEPDIR"]=".deps"
! 879: S["OBJEXT"]="o"
! 880: S["EXEEXT"]=""
! 881: S["ac_ct_CC"]="cc"
! 882: S["CPPFLAGS"]=" -I${top_srcdir}/src/racoon/missing"
! 883: S["LDFLAGS"]=" -rpath=/usr/lib:/usr/local/lib"
! 884: S["CFLAGS"]="-pipe -g -Wall -Werror -Wno-unused"
! 885: S["CC"]="cc"
! 886: S["am__untar"]="${AMTAR} xf -"
! 887: S["am__tar"]="${AMTAR} chof - \"$$tardir\""
! 888: S["AMTAR"]="${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run tar"
! 889: S["am__leading_dot"]="."
! 890: S["SET_MAKE"]=""
! 891: S["AWK"]="gawk"
! 892: S["mkdir_p"]="$(top_builddir)/./install-sh -c -d"
! 893: S["MKDIR_P"]="./install-sh -c -d"
! 894: S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
! 895: S["STRIP"]="strip"
! 896: S["install_sh"]="${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/install-sh"
! 897: S["MAKEINFO"]="${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run makeinfo"
! 898: S["AUTOHEADER"]="${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run autoheader"
! 899: S["AUTOMAKE"]="${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run automake-1.11"
! 900: S["AUTOCONF"]="${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run autoconf"
! 901: S["ACLOCAL"]="${SHELL} /usr/ports/security/ipsec-tools/work/ipsec-tools-0.8.0/missing --run aclocal-1.11"
! 902: S["VERSION"]="0.8.0"
! 903: S["PACKAGE"]="ipsec-tools"
! 904: S["CYGPATH_W"]="echo"
! 905: S["am__isrc"]=""
! 906: S["INSTALL_DATA"]="install -o root -g wheel -m 444"
! 907: S["INSTALL_SCRIPT"]="install -o root -g wheel -m 555"
! 908: S["INSTALL_PROGRAM"]="install -o root -g wheel -m 555"
! 909: S["target_alias"]=""
! 910: S["host_alias"]=""
! 911: S["build_alias"]="i386-portbld-freebsd10.0"
! 912: S["LIBS"]="-lradius -lcrypto -lreadline -lcrypt -lcrypt -L/lib -R/lib -lradius"
! 913: S["ECHO_T"]=""
! 914: S["ECHO_N"]="-n"
! 915: S["ECHO_C"]=""
! 916: S["DEFS"]="-DHAVE_CONFIG_H"
! 917: S["mandir"]="/usr/local/man"
! 918: S["localedir"]="${datarootdir}/locale"
! 919: S["libdir"]="${exec_prefix}/lib"
! 920: S["psdir"]="${docdir}"
! 921: S["pdfdir"]="${docdir}"
! 922: S["dvidir"]="${docdir}"
! 923: S["htmldir"]="${docdir}"
! 924: S["infodir"]="/usr/local/info"
! 925: S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
! 926: S["oldincludedir"]="/usr/include"
! 927: S["includedir"]="${prefix}/include"
! 928: S["localstatedir"]="/var/db"
! 929: S["sharedstatedir"]="${prefix}/com"
! 930: S["sysconfdir"]="/usr/local/etc/racoon"
! 931: S["datadir"]="${datarootdir}"
! 932: S["datarootdir"]="${prefix}/share"
! 933: S["libexecdir"]="${exec_prefix}/libexec"
! 934: S["sbindir"]="${exec_prefix}/sbin"
! 935: S["bindir"]="${exec_prefix}/bin"
! 936: S["program_transform_name"]="s,x,x,"
! 937: S["prefix"]="/usr/local"
! 938: S["exec_prefix"]="${prefix}"
! 939: S["PACKAGE_URL"]=""
! 940: S["PACKAGE_BUGREPORT"]=""
! 941: S["PACKAGE_STRING"]="ipsec-tools 0.8.0"
! 942: S["PACKAGE_VERSION"]="0.8.0"
! 943: S["PACKAGE_TARNAME"]="ipsec-tools"
! 944: S["PACKAGE_NAME"]="ipsec-tools"
! 945: S["PATH_SEPARATOR"]=":"
! 946: S["SHELL"]="/bin/sh"
! 947: _ACAWK
! 948: cat >>"$tmp/subs1.awk" <<_ACAWK &&
! 949: for (key in S) S_is_set[key] = 1
! 950: FS = ""
! 951:
! 952: }
! 953: {
! 954: line = $ 0
! 955: nfields = split(line, field, "@")
! 956: substed = 0
! 957: len = length(field[1])
! 958: for (i = 2; i < nfields; i++) {
! 959: key = field[i]
! 960: keylen = length(key)
! 961: if (S_is_set[key]) {
! 962: value = S[key]
! 963: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
! 964: len += length(value) + length(field[++i])
! 965: substed = 1
! 966: } else
! 967: len += 1 + keylen
! 968: }
! 969:
! 970: print line
! 971: }
! 972:
! 973: _ACAWK
! 974: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
! 975: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
! 976: else
! 977: cat
! 978: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
! 979: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
! 980: fi # test -n "$CONFIG_FILES"
! 981:
! 982: # Set up the scripts for CONFIG_HEADERS section.
! 983: # No need to generate them if there are no CONFIG_HEADERS.
! 984: # This happens for instance with `./config.status Makefile'.
! 985: if test -n "$CONFIG_HEADERS"; then
! 986: cat >"$tmp/defines.awk" <<\_ACAWK ||
! 987: BEGIN {
! 988: D["PACKAGE_NAME"]=" \"ipsec-tools\""
! 989: D["PACKAGE_TARNAME"]=" \"ipsec-tools\""
! 990: D["PACKAGE_VERSION"]=" \"0.8.0\""
! 991: D["PACKAGE_STRING"]=" \"ipsec-tools 0.8.0\""
! 992: D["PACKAGE_BUGREPORT"]=" \"\""
! 993: D["PACKAGE_URL"]=" \"\""
! 994: D["PACKAGE"]=" \"ipsec-tools\""
! 995: D["VERSION"]=" \"0.8.0\""
! 996: D["STDC_HEADERS"]=" 1"
! 997: D["HAVE_SYS_TYPES_H"]=" 1"
! 998: D["HAVE_SYS_STAT_H"]=" 1"
! 999: D["HAVE_STDLIB_H"]=" 1"
! 1000: D["HAVE_STRING_H"]=" 1"
! 1001: D["HAVE_MEMORY_H"]=" 1"
! 1002: D["HAVE_STRINGS_H"]=" 1"
! 1003: D["HAVE_INTTYPES_H"]=" 1"
! 1004: D["HAVE_STDINT_H"]=" 1"
! 1005: D["HAVE_UNISTD_H"]=" 1"
! 1006: D["HAVE_DLFCN_H"]=" 1"
! 1007: D["LT_OBJDIR"]=" \".libs/\""
! 1008: D["YYTEXT_POINTER"]=" 1"
! 1009: D["PATH_IPSEC_H"]=" <netipsec/ipsec.h>"
! 1010: D["STDC_HEADERS"]=" 1"
! 1011: D["HAVE_SYS_WAIT_H"]=" 1"
! 1012: D["HAVE_LIMITS_H"]=" 1"
! 1013: D["HAVE_SYS_TIME_H"]=" 1"
! 1014: D["HAVE_UNISTD_H"]=" 1"
! 1015: D["HAVE_STDARG_H"]=" 1"
! 1016: D["TIME_WITH_SYS_TIME"]=" 1"
! 1017: D["RETSIGTYPE"]=" void"
! 1018: D["HAVE_VPRINTF"]=" 1"
! 1019: D["HAVE_GETTIMEOFDAY"]=" 1"
! 1020: D["HAVE_SELECT"]=" 1"
! 1021: D["HAVE_SOCKET"]=" 1"
! 1022: D["HAVE_STRERROR"]=" 1"
! 1023: D["HAVE_STRTOL"]=" 1"
! 1024: D["HAVE_STRTOUL"]=" 1"
! 1025: D["HAVE_STRLCPY"]=" 1"
! 1026: D["HAVE_STRLCAT"]=" 1"
! 1027: D["HAVE_STRDUP"]=" 1"
! 1028: D["VA_COPY"]=" va_copy"
! 1029: D["HAVE_FUNC_MACRO"]=" /**/"
! 1030: D["HAVE_READLINE"]=" /**/"
! 1031: D["HAVE_OPENSSL_ENGINE_H"]=" 1"
! 1032: D["HAVE_OPENSSL_AES_H"]=" 1"
! 1033: D["WITH_SHA2"]=" /**/"
! 1034: D["HAVE_SHA2_IN_SHA_H"]=" /**/"
! 1035: D["HAVE_OPENSSL_CAMELLIA_H"]=" 1"
! 1036: D["ENABLE_ADMINPORT"]=" /**/"
! 1037: D["ENABLE_HYBRID"]=" /**/"
! 1038: D["ENABLE_FRAG"]=" /**/"
! 1039: D["HAVE_LIBRADIUS"]=" /**/"
! 1040: D["HAVE_RAD_CREATE_REQUEST"]=" 1"
! 1041: D["ENABLE_STATS"]=" /**/"
! 1042: D["ENABLE_DPD"]=" /**/"
! 1043: D["INET6"]=" /**/"
! 1044: D["INET6_ADVAPI"]=" /**/"
! 1045: D["ENABLE_NATT"]=" /**/"
! 1046: D["ENABLE_NATT_00"]=" /**/"
! 1047: D["ENABLE_NATT_02"]=" /**/"
! 1048: D["ENABLE_NATT_RFC"]=" /**/"
! 1049: D["HAVE_CLOCK_MONOTONIC"]=" /**/"
! 1050: for (key in D) D_is_set[key] = 1
! 1051: FS = ""
! 1052: }
! 1053: /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
! 1054: line = $ 0
! 1055: split(line, arg, " ")
! 1056: if (arg[1] == "#") {
! 1057: defundef = arg[2]
! 1058: mac1 = arg[3]
! 1059: } else {
! 1060: defundef = substr(arg[1], 2)
! 1061: mac1 = arg[2]
! 1062: }
! 1063: split(mac1, mac2, "(") #)
! 1064: macro = mac2[1]
! 1065: prefix = substr(line, 1, index(line, defundef) - 1)
! 1066: if (D_is_set[macro]) {
! 1067: # Preserve the white space surrounding the "#".
! 1068: print prefix "define", macro P[macro] D[macro]
! 1069: next
! 1070: } else {
! 1071: # Replace #undef with comments. This is necessary, for example,
! 1072: # in the case of _POSIX_SOURCE, which is predefined and required
! 1073: # on some systems where configure will not decide to define it.
! 1074: if (defundef == "undef") {
! 1075: print "/*", prefix defundef, macro, "*/"
! 1076: next
! 1077: }
! 1078: }
! 1079: }
! 1080: { print }
! 1081: _ACAWK
! 1082: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
! 1083: fi # test -n "$CONFIG_HEADERS"
! 1084:
! 1085:
! 1086: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
! 1087: shift
! 1088: for ac_tag
! 1089: do
! 1090: case $ac_tag in
! 1091: :[FHLC]) ac_mode=$ac_tag; continue;;
! 1092: esac
! 1093: case $ac_mode$ac_tag in
! 1094: :[FHL]*:*);;
! 1095: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
! 1096: :[FH]-) ac_tag=-:-;;
! 1097: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
! 1098: esac
! 1099: ac_save_IFS=$IFS
! 1100: IFS=:
! 1101: set x $ac_tag
! 1102: IFS=$ac_save_IFS
! 1103: shift
! 1104: ac_file=$1
! 1105: shift
! 1106:
! 1107: case $ac_mode in
! 1108: :L) ac_source=$1;;
! 1109: :[FH])
! 1110: ac_file_inputs=
! 1111: for ac_f
! 1112: do
! 1113: case $ac_f in
! 1114: -) ac_f="$tmp/stdin";;
! 1115: *) # Look for the file first in the build tree, then in the source tree
! 1116: # (if the path is not absolute). The absolute path cannot be DOS-style,
! 1117: # because $ac_f cannot contain `:'.
! 1118: test -f "$ac_f" ||
! 1119: case $ac_f in
! 1120: [\\/$]*) false;;
! 1121: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
! 1122: esac ||
! 1123: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
! 1124: esac
! 1125: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
! 1126: as_fn_append ac_file_inputs " '$ac_f'"
! 1127: done
! 1128:
! 1129: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 1130: # use $as_me), people would be surprised to read:
! 1131: # /* config.h. Generated by config.status. */
! 1132: configure_input='Generated from '`
! 1133: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
! 1134: `' by configure.'
! 1135: if test x"$ac_file" != x-; then
! 1136: configure_input="$ac_file. $configure_input"
! 1137: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
! 1138: $as_echo "$as_me: creating $ac_file" >&6;}
! 1139: fi
! 1140: # Neutralize special characters interpreted by sed in replacement strings.
! 1141: case $configure_input in #(
! 1142: *\&* | *\|* | *\\* )
! 1143: ac_sed_conf_input=`$as_echo "$configure_input" |
! 1144: sed 's/[\\\\&|]/\\\\&/g'`;; #(
! 1145: *) ac_sed_conf_input=$configure_input;;
! 1146: esac
! 1147:
! 1148: case $ac_tag in
! 1149: *:-:* | *:-) cat >"$tmp/stdin" \
! 1150: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
! 1151: esac
! 1152: ;;
! 1153: esac
! 1154:
! 1155: ac_dir=`$as_dirname -- "$ac_file" ||
! 1156: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1157: X"$ac_file" : 'X\(//\)[^/]' \| \
! 1158: X"$ac_file" : 'X\(//\)$' \| \
! 1159: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
! 1160: $as_echo X"$ac_file" |
! 1161: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1162: s//\1/
! 1163: q
! 1164: }
! 1165: /^X\(\/\/\)[^/].*/{
! 1166: s//\1/
! 1167: q
! 1168: }
! 1169: /^X\(\/\/\)$/{
! 1170: s//\1/
! 1171: q
! 1172: }
! 1173: /^X\(\/\).*/{
! 1174: s//\1/
! 1175: q
! 1176: }
! 1177: s/.*/./; q'`
! 1178: as_dir="$ac_dir"; as_fn_mkdir_p
! 1179: ac_builddir=.
! 1180:
! 1181: case "$ac_dir" in
! 1182: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1183: *)
! 1184: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 1185: # A ".." for each directory in $ac_dir_suffix.
! 1186: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 1187: case $ac_top_builddir_sub in
! 1188: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1189: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 1190: esac ;;
! 1191: esac
! 1192: ac_abs_top_builddir=$ac_pwd
! 1193: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 1194: # for backward compatibility:
! 1195: ac_top_builddir=$ac_top_build_prefix
! 1196:
! 1197: case $srcdir in
! 1198: .) # We are building in place.
! 1199: ac_srcdir=.
! 1200: ac_top_srcdir=$ac_top_builddir_sub
! 1201: ac_abs_top_srcdir=$ac_pwd ;;
! 1202: [\\/]* | ?:[\\/]* ) # Absolute name.
! 1203: ac_srcdir=$srcdir$ac_dir_suffix;
! 1204: ac_top_srcdir=$srcdir
! 1205: ac_abs_top_srcdir=$srcdir ;;
! 1206: *) # Relative name.
! 1207: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 1208: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 1209: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 1210: esac
! 1211: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 1212:
! 1213:
! 1214: case $ac_mode in
! 1215: :F)
! 1216: #
! 1217: # CONFIG_FILE
! 1218: #
! 1219:
! 1220: case $INSTALL in
! 1221: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 1222: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
! 1223: esac
! 1224: ac_MKDIR_P=$MKDIR_P
! 1225: case $MKDIR_P in
! 1226: [\\/$]* | ?:[\\/]* ) ;;
! 1227: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
! 1228: esac
! 1229: # If the template does not know about datarootdir, expand it.
! 1230: # FIXME: This hack should be removed a few years after 2.60.
! 1231: ac_datarootdir_hack=; ac_datarootdir_seen=
! 1232: ac_sed_dataroot='
! 1233: /datarootdir/ {
! 1234: p
! 1235: q
! 1236: }
! 1237: /@datadir@/p
! 1238: /@docdir@/p
! 1239: /@infodir@/p
! 1240: /@localedir@/p
! 1241: /@mandir@/p'
! 1242: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
! 1243: *datarootdir*) ac_datarootdir_seen=yes;;
! 1244: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
! 1245: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
! 1246: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
! 1247: ac_datarootdir_hack='
! 1248: s&@datadir@&${datarootdir}&g
! 1249: s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
! 1250: s&@infodir@&/usr/local/info&g
! 1251: s&@localedir@&${datarootdir}/locale&g
! 1252: s&@mandir@&/usr/local/man&g
! 1253: s&\${datarootdir}&${prefix}/share&g' ;;
! 1254: esac
! 1255: ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
! 1256: h
! 1257: s///
! 1258: s/^/:/
! 1259: s/[ ]*$/:/
! 1260: s/:\$(srcdir):/:/g
! 1261: s/:\${srcdir}:/:/g
! 1262: s/:@srcdir@:/:/g
! 1263: s/^:*//
! 1264: s/:*$//
! 1265: x
! 1266: s/\(=[ ]*\).*/\1/
! 1267: G
! 1268: s/\n//
! 1269: s/^[^=]*=[ ]*$//
! 1270: }
! 1271:
! 1272: :t
! 1273: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 1274: s|@configure_input@|$ac_sed_conf_input|;t t
! 1275: s&@top_builddir@&$ac_top_builddir_sub&;t t
! 1276: s&@top_build_prefix@&$ac_top_build_prefix&;t t
! 1277: s&@srcdir@&$ac_srcdir&;t t
! 1278: s&@abs_srcdir@&$ac_abs_srcdir&;t t
! 1279: s&@top_srcdir@&$ac_top_srcdir&;t t
! 1280: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
! 1281: s&@builddir@&$ac_builddir&;t t
! 1282: s&@abs_builddir@&$ac_abs_builddir&;t t
! 1283: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
! 1284: s&@INSTALL@&$ac_INSTALL&;t t
! 1285: s&@MKDIR_P@&$ac_MKDIR_P&;t t
! 1286: $ac_datarootdir_hack
! 1287: "
! 1288: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
! 1289: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 1290:
! 1291: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
! 1292: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
! 1293: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
! 1294: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 1295: which seems to be undefined. Please make sure it is defined" >&5
! 1296: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 1297: which seems to be undefined. Please make sure it is defined" >&2;}
! 1298:
! 1299: rm -f "$tmp/stdin"
! 1300: case $ac_file in
! 1301: -) cat "$tmp/out" && rm -f "$tmp/out";;
! 1302: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
! 1303: esac \
! 1304: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 1305: ;;
! 1306: :H)
! 1307: #
! 1308: # CONFIG_HEADER
! 1309: #
! 1310: if test x"$ac_file" != x-; then
! 1311: {
! 1312: $as_echo "/* $configure_input */" \
! 1313: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
! 1314: } >"$tmp/config.h" \
! 1315: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 1316: if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
! 1317: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
! 1318: $as_echo "$as_me: $ac_file is unchanged" >&6;}
! 1319: else
! 1320: rm -f "$ac_file"
! 1321: mv "$tmp/config.h" "$ac_file" \
! 1322: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
! 1323: fi
! 1324: else
! 1325: $as_echo "/* $configure_input */" \
! 1326: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
! 1327: || as_fn_error $? "could not create -" "$LINENO" 5
! 1328: fi
! 1329: # Compute "$ac_file"'s index in $config_headers.
! 1330: _am_arg="$ac_file"
! 1331: _am_stamp_count=1
! 1332: for _am_header in $config_headers :; do
! 1333: case $_am_header in
! 1334: $_am_arg | $_am_arg:* )
! 1335: break ;;
! 1336: * )
! 1337: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
! 1338: esac
! 1339: done
! 1340: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
! 1341: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1342: X"$_am_arg" : 'X\(//\)[^/]' \| \
! 1343: X"$_am_arg" : 'X\(//\)$' \| \
! 1344: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
! 1345: $as_echo X"$_am_arg" |
! 1346: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1347: s//\1/
! 1348: q
! 1349: }
! 1350: /^X\(\/\/\)[^/].*/{
! 1351: s//\1/
! 1352: q
! 1353: }
! 1354: /^X\(\/\/\)$/{
! 1355: s//\1/
! 1356: q
! 1357: }
! 1358: /^X\(\/\).*/{
! 1359: s//\1/
! 1360: q
! 1361: }
! 1362: s/.*/./; q'`/stamp-h$_am_stamp_count
! 1363: ;;
! 1364:
! 1365: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
! 1366: $as_echo "$as_me: executing $ac_file commands" >&6;}
! 1367: ;;
! 1368: esac
! 1369:
! 1370:
! 1371: case $ac_file$ac_mode in
! 1372: "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
! 1373: # Autoconf 2.62 quotes --file arguments for eval, but not when files
! 1374: # are listed without --file. Let's play safe and only enable the eval
! 1375: # if we detect the quoting.
! 1376: case $CONFIG_FILES in
! 1377: *\'*) eval set x "$CONFIG_FILES" ;;
! 1378: *) set x $CONFIG_FILES ;;
! 1379: esac
! 1380: shift
! 1381: for mf
! 1382: do
! 1383: # Strip MF so we end up with the name of the file.
! 1384: mf=`echo "$mf" | sed -e 's/:.*$//'`
! 1385: # Check whether this is an Automake generated Makefile or not.
! 1386: # We used to match only the files named `Makefile.in', but
! 1387: # some people rename them; so instead we look at the file content.
! 1388: # Grep'ing the first line is not enough: some people post-process
! 1389: # each Makefile.in and add a new line on top of each file to say so.
! 1390: # Grep'ing the whole file is not good either: AIX grep has a line
! 1391: # limit of 2048, but all sed's we know have understand at least 4000.
! 1392: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
! 1393: dirpart=`$as_dirname -- "$mf" ||
! 1394: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1395: X"$mf" : 'X\(//\)[^/]' \| \
! 1396: X"$mf" : 'X\(//\)$' \| \
! 1397: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
! 1398: $as_echo X"$mf" |
! 1399: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1400: s//\1/
! 1401: q
! 1402: }
! 1403: /^X\(\/\/\)[^/].*/{
! 1404: s//\1/
! 1405: q
! 1406: }
! 1407: /^X\(\/\/\)$/{
! 1408: s//\1/
! 1409: q
! 1410: }
! 1411: /^X\(\/\).*/{
! 1412: s//\1/
! 1413: q
! 1414: }
! 1415: s/.*/./; q'`
! 1416: else
! 1417: continue
! 1418: fi
! 1419: # Extract the definition of DEPDIR, am__include, and am__quote
! 1420: # from the Makefile without running `make'.
! 1421: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
! 1422: test -z "$DEPDIR" && continue
! 1423: am__include=`sed -n 's/^am__include = //p' < "$mf"`
! 1424: test -z "am__include" && continue
! 1425: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
! 1426: # When using ansi2knr, U may be empty or an underscore; expand it
! 1427: U=`sed -n 's/^U = //p' < "$mf"`
! 1428: # Find all dependency output files, they are included files with
! 1429: # $(DEPDIR) in their names. We invoke sed twice because it is the
! 1430: # simplest approach to changing $(DEPDIR) to its actual value in the
! 1431: # expansion.
! 1432: for file in `sed -n "
! 1433: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
! 1434: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
! 1435: # Make sure the directory exists.
! 1436: test -f "$dirpart/$file" && continue
! 1437: fdir=`$as_dirname -- "$file" ||
! 1438: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1439: X"$file" : 'X\(//\)[^/]' \| \
! 1440: X"$file" : 'X\(//\)$' \| \
! 1441: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
! 1442: $as_echo X"$file" |
! 1443: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1444: s//\1/
! 1445: q
! 1446: }
! 1447: /^X\(\/\/\)[^/].*/{
! 1448: s//\1/
! 1449: q
! 1450: }
! 1451: /^X\(\/\/\)$/{
! 1452: s//\1/
! 1453: q
! 1454: }
! 1455: /^X\(\/\).*/{
! 1456: s//\1/
! 1457: q
! 1458: }
! 1459: s/.*/./; q'`
! 1460: as_dir=$dirpart/$fdir; as_fn_mkdir_p
! 1461: # echo "creating $dirpart/$file"
! 1462: echo '# dummy' > "$dirpart/$file"
! 1463: done
! 1464: done
! 1465: }
! 1466: ;;
! 1467: "libtool":C)
! 1468:
! 1469: # See if we are running on zsh, and set the options which allow our
! 1470: # commands through without removal of \ escapes.
! 1471: if test -n "${ZSH_VERSION+set}" ; then
! 1472: setopt NO_GLOB_SUBST
! 1473: fi
! 1474:
! 1475: cfgfile="${ofile}T"
! 1476: trap "$RM \"$cfgfile\"; exit 1" 1 2 15
! 1477: $RM "$cfgfile"
! 1478:
! 1479: cat <<_LT_EOF >> "$cfgfile"
! 1480: #! $SHELL
! 1481:
! 1482: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
! 1483: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
! 1484: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 1485: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
! 1486: #
! 1487: # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
! 1488: # 2006, 2007, 2008 Free Software Foundation, Inc.
! 1489: # Written by Gordon Matzigkeit, 1996
! 1490: #
! 1491: # This file is part of GNU Libtool.
! 1492: #
! 1493: # GNU Libtool is free software; you can redistribute it and/or
! 1494: # modify it under the terms of the GNU General Public License as
! 1495: # published by the Free Software Foundation; either version 2 of
! 1496: # the License, or (at your option) any later version.
! 1497: #
! 1498: # As a special exception to the GNU General Public License,
! 1499: # if you distribute this file as part of a program or library that
! 1500: # is built using GNU Libtool, you may include this file under the
! 1501: # same distribution terms that you use for the rest of that program.
! 1502: #
! 1503: # GNU Libtool is distributed in the hope that it will be useful,
! 1504: # but WITHOUT ANY WARRANTY; without even the implied warranty of
! 1505: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 1506: # GNU General Public License for more details.
! 1507: #
! 1508: # You should have received a copy of the GNU General Public License
! 1509: # along with GNU Libtool; see the file COPYING. If not, a copy
! 1510: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
! 1511: # obtained by writing to the Free Software Foundation, Inc.,
! 1512: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
! 1513:
! 1514:
! 1515: # The names of the tagged configurations supported by this script.
! 1516: available_tags=""
! 1517:
! 1518: # ### BEGIN LIBTOOL CONFIG
! 1519:
! 1520: # Whether or not to build shared libraries.
! 1521: build_libtool_libs=$enable_shared
! 1522:
! 1523: # Which release of libtool.m4 was used?
! 1524: macro_version=$macro_version
! 1525: macro_revision=$macro_revision
! 1526:
! 1527: # Whether or not to build static libraries.
! 1528: build_old_libs=$enable_static
! 1529:
! 1530: # What type of objects to build.
! 1531: pic_mode=$pic_mode
! 1532:
! 1533: # Whether or not to optimize for fast installation.
! 1534: fast_install=$enable_fast_install
! 1535:
! 1536: # The host system.
! 1537: host_alias=$host_alias
! 1538: host=$host
! 1539: host_os=$host_os
! 1540:
! 1541: # The build system.
! 1542: build_alias=$build_alias
! 1543: build=$build
! 1544: build_os=$build_os
! 1545:
! 1546: # A sed program that does not truncate output.
! 1547: SED=$lt_SED
! 1548:
! 1549: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
! 1550: Xsed="\$SED -e 1s/^X//"
! 1551:
! 1552: # A grep program that handles long lines.
! 1553: GREP=$lt_GREP
! 1554:
! 1555: # An ERE matcher.
! 1556: EGREP=$lt_EGREP
! 1557:
! 1558: # A literal string matcher.
! 1559: FGREP=$lt_FGREP
! 1560:
! 1561: # A BSD- or MS-compatible name lister.
! 1562: NM=$lt_NM
! 1563:
! 1564: # Whether we need soft or hard links.
! 1565: LN_S=$lt_LN_S
! 1566:
! 1567: # What is the maximum length of a command?
! 1568: max_cmd_len=$max_cmd_len
! 1569:
! 1570: # Object file suffix (normally "o").
! 1571: objext=$ac_objext
! 1572:
! 1573: # Executable file suffix (normally "").
! 1574: exeext=$exeext
! 1575:
! 1576: # whether the shell understands "unset".
! 1577: lt_unset=$lt_unset
! 1578:
! 1579: # turn spaces into newlines.
! 1580: SP2NL=$lt_lt_SP2NL
! 1581:
! 1582: # turn newlines into spaces.
! 1583: NL2SP=$lt_lt_NL2SP
! 1584:
! 1585: # How to create reloadable object files.
! 1586: reload_flag=$lt_reload_flag
! 1587: reload_cmds=$lt_reload_cmds
! 1588:
! 1589: # An object symbol dumper.
! 1590: OBJDUMP=$lt_OBJDUMP
! 1591:
! 1592: # Method to check whether dependent libraries are shared objects.
! 1593: deplibs_check_method=$lt_deplibs_check_method
! 1594:
! 1595: # Command to use when deplibs_check_method == "file_magic".
! 1596: file_magic_cmd=$lt_file_magic_cmd
! 1597:
! 1598: # The archiver.
! 1599: AR=$lt_AR
! 1600: AR_FLAGS=$lt_AR_FLAGS
! 1601:
! 1602: # A symbol stripping program.
! 1603: STRIP=$lt_STRIP
! 1604:
! 1605: # Commands used to install an old-style archive.
! 1606: RANLIB=$lt_RANLIB
! 1607: old_postinstall_cmds=$lt_old_postinstall_cmds
! 1608: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 1609:
! 1610: # A C compiler.
! 1611: LTCC=$lt_CC
! 1612:
! 1613: # LTCC compiler flags.
! 1614: LTCFLAGS=$lt_CFLAGS
! 1615:
! 1616: # Take the output of nm and produce a listing of raw symbols and C names.
! 1617: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 1618:
! 1619: # Transform the output of nm in a proper C declaration.
! 1620: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 1621:
! 1622: # Transform the output of nm in a C name address pair.
! 1623: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 1624:
! 1625: # Transform the output of nm in a C name address pair when lib prefix is needed.
! 1626: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
! 1627:
! 1628: # The name of the directory that contains temporary libtool files.
! 1629: objdir=$objdir
! 1630:
! 1631: # Shell to use when invoking shell scripts.
! 1632: SHELL=$lt_SHELL
! 1633:
! 1634: # An echo program that does not interpret backslashes.
! 1635: ECHO=$lt_ECHO
! 1636:
! 1637: # Used to examine libraries when file_magic_cmd begins with "file".
! 1638: MAGIC_CMD=$MAGIC_CMD
! 1639:
! 1640: # Must we lock files when doing compilation?
! 1641: need_locks=$lt_need_locks
! 1642:
! 1643: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
! 1644: DSYMUTIL=$lt_DSYMUTIL
! 1645:
! 1646: # Tool to change global to local symbols on Mac OS X.
! 1647: NMEDIT=$lt_NMEDIT
! 1648:
! 1649: # Tool to manipulate fat objects and archives on Mac OS X.
! 1650: LIPO=$lt_LIPO
! 1651:
! 1652: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
! 1653: OTOOL=$lt_OTOOL
! 1654:
! 1655: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
! 1656: OTOOL64=$lt_OTOOL64
! 1657:
! 1658: # Old archive suffix (normally "a").
! 1659: libext=$libext
! 1660:
! 1661: # Shared library suffix (normally ".so").
! 1662: shrext_cmds=$lt_shrext_cmds
! 1663:
! 1664: # The commands to extract the exported symbol list from a shared archive.
! 1665: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 1666:
! 1667: # Variables whose values should be saved in libtool wrapper scripts and
! 1668: # restored at link time.
! 1669: variables_saved_for_relink=$lt_variables_saved_for_relink
! 1670:
! 1671: # Do we need the "lib" prefix for modules?
! 1672: need_lib_prefix=$need_lib_prefix
! 1673:
! 1674: # Do we need a version for libraries?
! 1675: need_version=$need_version
! 1676:
! 1677: # Library versioning type.
! 1678: version_type=$version_type
! 1679:
! 1680: # Shared library runtime path variable.
! 1681: runpath_var=$runpath_var
! 1682:
! 1683: # Shared library path variable.
! 1684: shlibpath_var=$shlibpath_var
! 1685:
! 1686: # Is shlibpath searched before the hard-coded library search path?
! 1687: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 1688:
! 1689: # Format of library name prefix.
! 1690: libname_spec=$lt_libname_spec
! 1691:
! 1692: # List of archive names. First name is the real one, the rest are links.
! 1693: # The last name is the one that the linker finds with -lNAME
! 1694: library_names_spec=$lt_library_names_spec
! 1695:
! 1696: # The coded name of the library, if different from the real name.
! 1697: soname_spec=$lt_soname_spec
! 1698:
! 1699: # Command to use after installation of a shared archive.
! 1700: postinstall_cmds=$lt_postinstall_cmds
! 1701:
! 1702: # Command to use after uninstallation of a shared archive.
! 1703: postuninstall_cmds=$lt_postuninstall_cmds
! 1704:
! 1705: # Commands used to finish a libtool library installation in a directory.
! 1706: finish_cmds=$lt_finish_cmds
! 1707:
! 1708: # As "finish_cmds", except a single script fragment to be evaled but
! 1709: # not shown.
! 1710: finish_eval=$lt_finish_eval
! 1711:
! 1712: # Whether we should hardcode library paths into libraries.
! 1713: hardcode_into_libs=$hardcode_into_libs
! 1714:
! 1715: # Compile-time system search path for libraries.
! 1716: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 1717:
! 1718: # Run-time system search path for libraries.
! 1719: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
! 1720:
! 1721: # Whether dlopen is supported.
! 1722: dlopen_support=$enable_dlopen
! 1723:
! 1724: # Whether dlopen of programs is supported.
! 1725: dlopen_self=$enable_dlopen_self
! 1726:
! 1727: # Whether dlopen of statically linked programs is supported.
! 1728: dlopen_self_static=$enable_dlopen_self_static
! 1729:
! 1730: # Commands to strip libraries.
! 1731: old_striplib=$lt_old_striplib
! 1732: striplib=$lt_striplib
! 1733:
! 1734:
! 1735: # The linker used to build libraries.
! 1736: LD=$lt_LD
! 1737:
! 1738: # Commands used to build an old-style archive.
! 1739: old_archive_cmds=$lt_old_archive_cmds
! 1740:
! 1741: # A language specific compiler.
! 1742: CC=$lt_compiler
! 1743:
! 1744: # Is the compiler the GNU compiler?
! 1745: with_gcc=$GCC
! 1746:
! 1747: # Compiler flag to turn off builtin functions.
! 1748: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
! 1749:
! 1750: # How to pass a linker flag through the compiler.
! 1751: wl=$lt_lt_prog_compiler_wl
! 1752:
! 1753: # Additional compiler flags for building library objects.
! 1754: pic_flag=$lt_lt_prog_compiler_pic
! 1755:
! 1756: # Compiler flag to prevent dynamic linking.
! 1757: link_static_flag=$lt_lt_prog_compiler_static
! 1758:
! 1759: # Does compiler simultaneously support -c and -o options?
! 1760: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
! 1761:
! 1762: # Whether or not to add -lc for building shared libraries.
! 1763: build_libtool_need_lc=$archive_cmds_need_lc
! 1764:
! 1765: # Whether or not to disallow shared libs when runtime libs are static.
! 1766: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
! 1767:
! 1768: # Compiler flag to allow reflexive dlopens.
! 1769: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
! 1770:
! 1771: # Compiler flag to generate shared objects directly from archives.
! 1772: whole_archive_flag_spec=$lt_whole_archive_flag_spec
! 1773:
! 1774: # Whether the compiler copes with passing no objects directly.
! 1775: compiler_needs_object=$lt_compiler_needs_object
! 1776:
! 1777: # Create an old-style archive from a shared archive.
! 1778: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
! 1779:
! 1780: # Create a temporary old-style archive to link instead of a shared archive.
! 1781: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
! 1782:
! 1783: # Commands used to build a shared archive.
! 1784: archive_cmds=$lt_archive_cmds
! 1785: archive_expsym_cmds=$lt_archive_expsym_cmds
! 1786:
! 1787: # Commands used to build a loadable module if different from building
! 1788: # a shared archive.
! 1789: module_cmds=$lt_module_cmds
! 1790: module_expsym_cmds=$lt_module_expsym_cmds
! 1791:
! 1792: # Whether we are building with GNU ld or not.
! 1793: with_gnu_ld=$lt_with_gnu_ld
! 1794:
! 1795: # Flag that allows shared libraries with undefined symbols to be built.
! 1796: allow_undefined_flag=$lt_allow_undefined_flag
! 1797:
! 1798: # Flag that enforces no undefined symbols.
! 1799: no_undefined_flag=$lt_no_undefined_flag
! 1800:
! 1801: # Flag to hardcode \$libdir into a binary during linking.
! 1802: # This must work even if \$libdir does not exist
! 1803: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
! 1804:
! 1805: # If ld is used when linking, flag to hardcode \$libdir into a binary
! 1806: # during linking. This must work even if \$libdir does not exist.
! 1807: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
! 1808:
! 1809: # Whether we need a single "-rpath" flag with a separated argument.
! 1810: hardcode_libdir_separator=$lt_hardcode_libdir_separator
! 1811:
! 1812: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 1813: # DIR into the resulting binary.
! 1814: hardcode_direct=$hardcode_direct
! 1815:
! 1816: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
! 1817: # DIR into the resulting binary and the resulting library dependency is
! 1818: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
! 1819: # library is relocated.
! 1820: hardcode_direct_absolute=$hardcode_direct_absolute
! 1821:
! 1822: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
! 1823: # into the resulting binary.
! 1824: hardcode_minus_L=$hardcode_minus_L
! 1825:
! 1826: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
! 1827: # into the resulting binary.
! 1828: hardcode_shlibpath_var=$hardcode_shlibpath_var
! 1829:
! 1830: # Set to "yes" if building a shared library automatically hardcodes DIR
! 1831: # into the library and all subsequent libraries and executables linked
! 1832: # against it.
! 1833: hardcode_automatic=$hardcode_automatic
! 1834:
! 1835: # Set to yes if linker adds runtime paths of dependent libraries
! 1836: # to runtime path list.
! 1837: inherit_rpath=$inherit_rpath
! 1838:
! 1839: # Whether libtool must link a program against all its dependency libraries.
! 1840: link_all_deplibs=$link_all_deplibs
! 1841:
! 1842: # Fix the shell variable \$srcfile for the compiler.
! 1843: fix_srcfile_path=$lt_fix_srcfile_path
! 1844:
! 1845: # Set to "yes" if exported symbols are required.
! 1846: always_export_symbols=$always_export_symbols
! 1847:
! 1848: # The commands to list exported symbols.
! 1849: export_symbols_cmds=$lt_export_symbols_cmds
! 1850:
! 1851: # Symbols that should not be listed in the preloaded symbols.
! 1852: exclude_expsyms=$lt_exclude_expsyms
! 1853:
! 1854: # Symbols that must always be exported.
! 1855: include_expsyms=$lt_include_expsyms
! 1856:
! 1857: # Commands necessary for linking programs (against libraries) with templates.
! 1858: prelink_cmds=$lt_prelink_cmds
! 1859:
! 1860: # Specify filename containing input files.
! 1861: file_list_spec=$lt_file_list_spec
! 1862:
! 1863: # How to hardcode a shared library path into an executable.
! 1864: hardcode_action=$hardcode_action
! 1865:
! 1866: # ### END LIBTOOL CONFIG
! 1867:
! 1868: _LT_EOF
! 1869:
! 1870: case $host_os in
! 1871: aix3*)
! 1872: cat <<\_LT_EOF >> "$cfgfile"
! 1873: # AIX sometimes has problems with the GCC collect2 program. For some
! 1874: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 1875: # vanish in a puff of smoke.
! 1876: if test "X${COLLECT_NAMES+set}" != Xset; then
! 1877: COLLECT_NAMES=
! 1878: export COLLECT_NAMES
! 1879: fi
! 1880: _LT_EOF
! 1881: ;;
! 1882: esac
! 1883:
! 1884:
! 1885: ltmain="$ac_aux_dir/ltmain.sh"
! 1886:
! 1887:
! 1888: # We use sed instead of cat because bash on DJGPP gets confused if
! 1889: # if finds mixed CR/LF and LF-only lines. Since sed operates in
! 1890: # text mode, it properly converts lines to CR/LF. This bash problem
! 1891: # is reportedly fixed, but why not run on old versions too?
! 1892: sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
! 1893: || (rm -f "$cfgfile"; exit 1)
! 1894:
! 1895: case $xsi_shell in
! 1896: yes)
! 1897: cat << \_LT_EOF >> "$cfgfile"
! 1898:
! 1899: # func_dirname file append nondir_replacement
! 1900: # Compute the dirname of FILE. If nonempty, add APPEND to the result,
! 1901: # otherwise set result to NONDIR_REPLACEMENT.
! 1902: func_dirname ()
! 1903: {
! 1904: case ${1} in
! 1905: */*) func_dirname_result="${1%/*}${2}" ;;
! 1906: * ) func_dirname_result="${3}" ;;
! 1907: esac
! 1908: }
! 1909:
! 1910: # func_basename file
! 1911: func_basename ()
! 1912: {
! 1913: func_basename_result="${1##*/}"
! 1914: }
! 1915:
! 1916: # func_dirname_and_basename file append nondir_replacement
! 1917: # perform func_basename and func_dirname in a single function
! 1918: # call:
! 1919: # dirname: Compute the dirname of FILE. If nonempty,
! 1920: # add APPEND to the result, otherwise set result
! 1921: # to NONDIR_REPLACEMENT.
! 1922: # value returned in "$func_dirname_result"
! 1923: # basename: Compute filename of FILE.
! 1924: # value retuned in "$func_basename_result"
! 1925: # Implementation must be kept synchronized with func_dirname
! 1926: # and func_basename. For efficiency, we do not delegate to
! 1927: # those functions but instead duplicate the functionality here.
! 1928: func_dirname_and_basename ()
! 1929: {
! 1930: case ${1} in
! 1931: */*) func_dirname_result="${1%/*}${2}" ;;
! 1932: * ) func_dirname_result="${3}" ;;
! 1933: esac
! 1934: func_basename_result="${1##*/}"
! 1935: }
! 1936:
! 1937: # func_stripname prefix suffix name
! 1938: # strip PREFIX and SUFFIX off of NAME.
! 1939: # PREFIX and SUFFIX must not contain globbing or regex special
! 1940: # characters, hashes, percent signs, but SUFFIX may contain a leading
! 1941: # dot (in which case that matches only a dot).
! 1942: func_stripname ()
! 1943: {
! 1944: # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
! 1945: # positional parameters, so assign one to ordinary parameter first.
! 1946: func_stripname_result=${3}
! 1947: func_stripname_result=${func_stripname_result#"${1}"}
! 1948: func_stripname_result=${func_stripname_result%"${2}"}
! 1949: }
! 1950:
! 1951: # func_opt_split
! 1952: func_opt_split ()
! 1953: {
! 1954: func_opt_split_opt=${1%%=*}
! 1955: func_opt_split_arg=${1#*=}
! 1956: }
! 1957:
! 1958: # func_lo2o object
! 1959: func_lo2o ()
! 1960: {
! 1961: case ${1} in
! 1962: *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
! 1963: *) func_lo2o_result=${1} ;;
! 1964: esac
! 1965: }
! 1966:
! 1967: # func_xform libobj-or-source
! 1968: func_xform ()
! 1969: {
! 1970: func_xform_result=${1%.*}.lo
! 1971: }
! 1972:
! 1973: # func_arith arithmetic-term...
! 1974: func_arith ()
! 1975: {
! 1976: func_arith_result=$(( $* ))
! 1977: }
! 1978:
! 1979: # func_len string
! 1980: # STRING may not start with a hyphen.
! 1981: func_len ()
! 1982: {
! 1983: func_len_result=${#1}
! 1984: }
! 1985:
! 1986: _LT_EOF
! 1987: ;;
! 1988: *) # Bourne compatible functions.
! 1989: cat << \_LT_EOF >> "$cfgfile"
! 1990:
! 1991: # func_dirname file append nondir_replacement
! 1992: # Compute the dirname of FILE. If nonempty, add APPEND to the result,
! 1993: # otherwise set result to NONDIR_REPLACEMENT.
! 1994: func_dirname ()
! 1995: {
! 1996: # Extract subdirectory from the argument.
! 1997: func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
! 1998: if test "X$func_dirname_result" = "X${1}"; then
! 1999: func_dirname_result="${3}"
! 2000: else
! 2001: func_dirname_result="$func_dirname_result${2}"
! 2002: fi
! 2003: }
! 2004:
! 2005: # func_basename file
! 2006: func_basename ()
! 2007: {
! 2008: func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
! 2009: }
! 2010:
! 2011:
! 2012: # func_stripname prefix suffix name
! 2013: # strip PREFIX and SUFFIX off of NAME.
! 2014: # PREFIX and SUFFIX must not contain globbing or regex special
! 2015: # characters, hashes, percent signs, but SUFFIX may contain a leading
! 2016: # dot (in which case that matches only a dot).
! 2017: # func_strip_suffix prefix name
! 2018: func_stripname ()
! 2019: {
! 2020: case ${2} in
! 2021: .*) func_stripname_result=`$ECHO "X${3}" \
! 2022: | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
! 2023: *) func_stripname_result=`$ECHO "X${3}" \
! 2024: | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
! 2025: esac
! 2026: }
! 2027:
! 2028: # sed scripts:
! 2029: my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
! 2030: my_sed_long_arg='1s/^-[^=]*=//'
! 2031:
! 2032: # func_opt_split
! 2033: func_opt_split ()
! 2034: {
! 2035: func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
! 2036: func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
! 2037: }
! 2038:
! 2039: # func_lo2o object
! 2040: func_lo2o ()
! 2041: {
! 2042: func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
! 2043: }
! 2044:
! 2045: # func_xform libobj-or-source
! 2046: func_xform ()
! 2047: {
! 2048: func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
! 2049: }
! 2050:
! 2051: # func_arith arithmetic-term...
! 2052: func_arith ()
! 2053: {
! 2054: func_arith_result=`expr "$@"`
! 2055: }
! 2056:
! 2057: # func_len string
! 2058: # STRING may not start with a hyphen.
! 2059: func_len ()
! 2060: {
! 2061: func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
! 2062: }
! 2063:
! 2064: _LT_EOF
! 2065: esac
! 2066:
! 2067: case $lt_shell_append in
! 2068: yes)
! 2069: cat << \_LT_EOF >> "$cfgfile"
! 2070:
! 2071: # func_append var value
! 2072: # Append VALUE to the end of shell variable VAR.
! 2073: func_append ()
! 2074: {
! 2075: eval "$1+=\$2"
! 2076: }
! 2077: _LT_EOF
! 2078: ;;
! 2079: *)
! 2080: cat << \_LT_EOF >> "$cfgfile"
! 2081:
! 2082: # func_append var value
! 2083: # Append VALUE to the end of shell variable VAR.
! 2084: func_append ()
! 2085: {
! 2086: eval "$1=\$$1\$2"
! 2087: }
! 2088:
! 2089: _LT_EOF
! 2090: ;;
! 2091: esac
! 2092:
! 2093:
! 2094: sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
! 2095: || (rm -f "$cfgfile"; exit 1)
! 2096:
! 2097: mv -f "$cfgfile" "$ofile" ||
! 2098: (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
! 2099: chmod +x "$ofile"
! 2100:
! 2101: ;;
! 2102:
! 2103: esac
! 2104: done # for ac_tag
! 2105:
! 2106:
! 2107: as_fn_exit 0
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>