[21473] | 1 | #! /bin/sh
|
---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
| 3 | # Generated by GNU Autoconf 2.59 for greenstone2-runtime-src 2.84.
|
---|
| 4 | #
|
---|
| 5 | # Report bugs to <[email protected]>.
|
---|
| 6 | #
|
---|
| 7 | # Copyright (C) 2003 Free Software Foundation, Inc.
|
---|
| 8 | # This configure script is free software; the Free Software Foundation
|
---|
| 9 | # gives unlimited permission to copy, distribute and modify it.
|
---|
| 10 | ## --------------------- ##
|
---|
| 11 | ## M4sh Initialization. ##
|
---|
| 12 | ## --------------------- ##
|
---|
| 13 |
|
---|
| 14 | # Be Bourne compatible
|
---|
| 15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 16 | emulate sh
|
---|
| 17 | NULLCMD=:
|
---|
| 18 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
| 19 | # is contrary to our usage. Disable this feature.
|
---|
| 20 | alias -g '${1+"$@"}'='"$@"'
|
---|
| 21 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
---|
| 22 | set -o posix
|
---|
| 23 | fi
|
---|
| 24 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
| 25 |
|
---|
| 26 | # Support unset when possible.
|
---|
| 27 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
| 28 | as_unset=unset
|
---|
| 29 | else
|
---|
| 30 | as_unset=false
|
---|
| 31 | fi
|
---|
| 32 |
|
---|
| 33 |
|
---|
| 34 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
| 35 | $as_unset ENV MAIL MAILPATH
|
---|
| 36 | PS1='$ '
|
---|
| 37 | PS2='> '
|
---|
| 38 | PS4='+ '
|
---|
| 39 |
|
---|
| 40 | # NLS nuisances.
|
---|
| 41 | for as_var in \
|
---|
| 42 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
---|
| 43 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
---|
| 44 | LC_TELEPHONE LC_TIME
|
---|
| 45 | do
|
---|
| 46 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
---|
| 47 | eval $as_var=C; export $as_var
|
---|
| 48 | else
|
---|
| 49 | $as_unset $as_var
|
---|
| 50 | fi
|
---|
| 51 | done
|
---|
| 52 |
|
---|
| 53 | # Required to use basename.
|
---|
| 54 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
| 55 | as_expr=expr
|
---|
| 56 | else
|
---|
| 57 | as_expr=false
|
---|
| 58 | fi
|
---|
| 59 |
|
---|
| 60 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
---|
| 61 | as_basename=basename
|
---|
| 62 | else
|
---|
| 63 | as_basename=false
|
---|
| 64 | fi
|
---|
| 65 |
|
---|
| 66 |
|
---|
| 67 | # Name of the executable.
|
---|
| 68 | as_me=`$as_basename "$0" ||
|
---|
| 69 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 70 | X"$0" : 'X\(//\)$' \| \
|
---|
| 71 | X"$0" : 'X\(/\)$' \| \
|
---|
| 72 | . : '\(.\)' 2>/dev/null ||
|
---|
| 73 | echo X/"$0" |
|
---|
| 74 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
---|
| 75 | /^X\/\(\/\/\)$/{ s//\1/; q; }
|
---|
| 76 | /^X\/\(\/\).*/{ s//\1/; q; }
|
---|
| 77 | s/.*/./; q'`
|
---|
| 78 |
|
---|
| 79 |
|
---|
| 80 | # PATH needs CR, and LINENO needs CR and PATH.
|
---|
| 81 | # Avoid depending upon Character Ranges.
|
---|
| 82 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 83 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 84 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 85 | as_cr_digits='0123456789'
|
---|
| 86 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
| 87 |
|
---|
| 88 | # The user is always right.
|
---|
| 89 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 90 | echo "#! /bin/sh" >conf$$.sh
|
---|
| 91 | echo "exit 0" >>conf$$.sh
|
---|
| 92 | chmod +x conf$$.sh
|
---|
| 93 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
---|
| 94 | PATH_SEPARATOR=';'
|
---|
| 95 | else
|
---|
| 96 | PATH_SEPARATOR=:
|
---|
| 97 | fi
|
---|
| 98 | rm -f conf$$.sh
|
---|
| 99 | fi
|
---|
| 100 |
|
---|
| 101 |
|
---|
| 102 | as_lineno_1=$LINENO
|
---|
| 103 | as_lineno_2=$LINENO
|
---|
| 104 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
| 105 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
| 106 | test "x$as_lineno_3" = "x$as_lineno_2" || {
|
---|
| 107 | # Find who we are. Look in the path if we contain no path at all
|
---|
| 108 | # relative or not.
|
---|
| 109 | case $0 in
|
---|
| 110 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 111 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 112 | for as_dir in $PATH
|
---|
| 113 | do
|
---|
| 114 | IFS=$as_save_IFS
|
---|
| 115 | test -z "$as_dir" && as_dir=.
|
---|
| 116 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 117 | done
|
---|
| 118 |
|
---|
| 119 | ;;
|
---|
| 120 | esac
|
---|
| 121 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 122 | # in which case we are not to be found in the path.
|
---|
| 123 | if test "x$as_myself" = x; then
|
---|
| 124 | as_myself=$0
|
---|
| 125 | fi
|
---|
| 126 | if test ! -f "$as_myself"; then
|
---|
| 127 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
|
---|
| 128 | { (exit 1); exit 1; }; }
|
---|
| 129 | fi
|
---|
| 130 | case $CONFIG_SHELL in
|
---|
| 131 | '')
|
---|
| 132 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 133 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
| 134 | do
|
---|
| 135 | IFS=$as_save_IFS
|
---|
| 136 | test -z "$as_dir" && as_dir=.
|
---|
| 137 | for as_base in sh bash ksh sh5; do
|
---|
| 138 | case $as_dir in
|
---|
| 139 | /*)
|
---|
| 140 | if ("$as_dir/$as_base" -c '
|
---|
| 141 | as_lineno_1=$LINENO
|
---|
| 142 | as_lineno_2=$LINENO
|
---|
| 143 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
| 144 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
| 145 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
---|
| 146 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
---|
| 147 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
---|
| 148 | CONFIG_SHELL=$as_dir/$as_base
|
---|
| 149 | export CONFIG_SHELL
|
---|
| 150 | exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
---|
| 151 | fi;;
|
---|
| 152 | esac
|
---|
| 153 | done
|
---|
| 154 | done
|
---|
| 155 | ;;
|
---|
| 156 | esac
|
---|
| 157 |
|
---|
| 158 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
| 159 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
| 160 | # line-number line before each line; the second 'sed' does the real
|
---|
| 161 | # work. The second script uses 'N' to pair each line-number line
|
---|
| 162 | # with the numbered line, and appends trailing '-' during
|
---|
| 163 | # substitution so that $LINENO is not a special case at line end.
|
---|
| 164 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
| 165 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
---|
| 166 | sed '=' <$as_myself |
|
---|
| 167 | sed '
|
---|
| 168 | N
|
---|
| 169 | s,$,-,
|
---|
| 170 | : loop
|
---|
| 171 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
---|
| 172 | t loop
|
---|
| 173 | s,-$,,
|
---|
| 174 | s,^['$as_cr_digits']*\n,,
|
---|
| 175 | ' >$as_me.lineno &&
|
---|
| 176 | chmod +x $as_me.lineno ||
|
---|
| 177 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
---|
| 178 | { (exit 1); exit 1; }; }
|
---|
| 179 |
|
---|
| 180 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 181 | # (the dirname of $[0] is not the place where we might find the
|
---|
| 182 | # original and so on. Autoconf is especially sensible to this).
|
---|
| 183 | . ./$as_me.lineno
|
---|
| 184 | # Exit status is that of the last command.
|
---|
| 185 | exit
|
---|
| 186 | }
|
---|
| 187 |
|
---|
| 188 |
|
---|
| 189 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
---|
| 190 | *c*,-n*) ECHO_N= ECHO_C='
|
---|
| 191 | ' ECHO_T=' ' ;;
|
---|
| 192 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
---|
| 193 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
---|
| 194 | esac
|
---|
| 195 |
|
---|
| 196 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
| 197 | as_expr=expr
|
---|
| 198 | else
|
---|
| 199 | as_expr=false
|
---|
| 200 | fi
|
---|
| 201 |
|
---|
| 202 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 203 | echo >conf$$.file
|
---|
| 204 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 205 | # We could just check for DJGPP; but this test a) works b) is more generic
|
---|
| 206 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
---|
| 207 | if test -f conf$$.exe; then
|
---|
| 208 | # Don't use ln at all; we don't have any links
|
---|
| 209 | as_ln_s='cp -p'
|
---|
| 210 | else
|
---|
| 211 | as_ln_s='ln -s'
|
---|
| 212 | fi
|
---|
| 213 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 214 | as_ln_s=ln
|
---|
| 215 | else
|
---|
| 216 | as_ln_s='cp -p'
|
---|
| 217 | fi
|
---|
| 218 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 219 |
|
---|
| 220 | if mkdir -p . 2>/dev/null; then
|
---|
| 221 | as_mkdir_p=:
|
---|
| 222 | else
|
---|
| 223 | test -d ./-p && rmdir ./-p
|
---|
| 224 | as_mkdir_p=false
|
---|
| 225 | fi
|
---|
| 226 |
|
---|
| 227 | as_executable_p="test -f"
|
---|
| 228 |
|
---|
| 229 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 230 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 231 |
|
---|
| 232 | # Sed expression to map a string onto a valid variable name.
|
---|
| 233 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 234 |
|
---|
| 235 |
|
---|
| 236 | # IFS
|
---|
| 237 | # We need space, tab and new line, in precisely that order.
|
---|
| 238 | as_nl='
|
---|
| 239 | '
|
---|
| 240 | IFS=" $as_nl"
|
---|
| 241 |
|
---|
| 242 | # CDPATH.
|
---|
| 243 | $as_unset CDPATH
|
---|
| 244 |
|
---|
| 245 |
|
---|
| 246 | # Name of the host.
|
---|
| 247 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
---|
| 248 | # so uname gets run too.
|
---|
| 249 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 250 |
|
---|
| 251 | exec 6>&1
|
---|
| 252 |
|
---|
| 253 | #
|
---|
| 254 | # Initializations.
|
---|
| 255 | #
|
---|
| 256 | ac_default_prefix=/usr/local
|
---|
| 257 | ac_config_libobj_dir=.
|
---|
| 258 | cross_compiling=no
|
---|
| 259 | subdirs=
|
---|
| 260 | MFLAGS=
|
---|
| 261 | MAKEFLAGS=
|
---|
| 262 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
| 263 |
|
---|
| 264 | # Maximum number of lines to put in a shell here document.
|
---|
| 265 | # This variable seems obsolete. It should probably be removed, and
|
---|
| 266 | # only ac_max_sed_lines should be used.
|
---|
| 267 | : ${ac_max_here_lines=38}
|
---|
| 268 |
|
---|
| 269 | # Identity of this package.
|
---|
| 270 | PACKAGE_NAME='greenstone2-runtime-src'
|
---|
| 271 | PACKAGE_TARNAME='greenstone2-runtime-src'
|
---|
| 272 | PACKAGE_VERSION='2.84'
|
---|
| 273 | PACKAGE_STRING='greenstone2-runtime-src 2.84'
|
---|
| 274 | PACKAGE_BUGREPORT='[email protected]'
|
---|
| 275 |
|
---|
[21494] | 276 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os COMPAT32BITFLAGS USE_SQLITE_TRUE USE_SQLITE_FALSE LIBOBJS LTLIBOBJS'
|
---|
[21473] | 277 | ac_subst_files=''
|
---|
| 278 |
|
---|
| 279 | # Initialize some variables set by options.
|
---|
| 280 | ac_init_help=
|
---|
| 281 | ac_init_version=false
|
---|
| 282 | # The variables have the same names as the options, with
|
---|
| 283 | # dashes changed to underlines.
|
---|
| 284 | cache_file=/dev/null
|
---|
| 285 | exec_prefix=NONE
|
---|
| 286 | no_create=
|
---|
| 287 | no_recursion=
|
---|
| 288 | prefix=NONE
|
---|
| 289 | program_prefix=NONE
|
---|
| 290 | program_suffix=NONE
|
---|
| 291 | program_transform_name=s,x,x,
|
---|
| 292 | silent=
|
---|
| 293 | site=
|
---|
| 294 | srcdir=
|
---|
| 295 | verbose=
|
---|
| 296 | x_includes=NONE
|
---|
| 297 | x_libraries=NONE
|
---|
| 298 |
|
---|
| 299 | # Installation directory options.
|
---|
| 300 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
| 301 | # and all the variables that are supposed to be based on exec_prefix
|
---|
| 302 | # by default will actually change.
|
---|
| 303 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
| 304 | bindir='${exec_prefix}/bin'
|
---|
| 305 | sbindir='${exec_prefix}/sbin'
|
---|
| 306 | libexecdir='${exec_prefix}/libexec'
|
---|
| 307 | datadir='${prefix}/share'
|
---|
| 308 | sysconfdir='${prefix}/etc'
|
---|
| 309 | sharedstatedir='${prefix}/com'
|
---|
| 310 | localstatedir='${prefix}/var'
|
---|
| 311 | libdir='${exec_prefix}/lib'
|
---|
| 312 | includedir='${prefix}/include'
|
---|
| 313 | oldincludedir='/usr/include'
|
---|
| 314 | infodir='${prefix}/info'
|
---|
| 315 | mandir='${prefix}/man'
|
---|
| 316 |
|
---|
| 317 | ac_prev=
|
---|
| 318 | for ac_option
|
---|
| 319 | do
|
---|
| 320 | # If the previous option needs an argument, assign it.
|
---|
| 321 | if test -n "$ac_prev"; then
|
---|
| 322 | eval "$ac_prev=\$ac_option"
|
---|
| 323 | ac_prev=
|
---|
| 324 | continue
|
---|
| 325 | fi
|
---|
| 326 |
|
---|
| 327 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
---|
| 328 |
|
---|
| 329 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
| 330 |
|
---|
| 331 | case $ac_option in
|
---|
| 332 |
|
---|
| 333 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
| 334 | ac_prev=bindir ;;
|
---|
| 335 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
| 336 | bindir=$ac_optarg ;;
|
---|
| 337 |
|
---|
| 338 | -build | --build | --buil | --bui | --bu)
|
---|
| 339 | ac_prev=build_alias ;;
|
---|
| 340 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
| 341 | build_alias=$ac_optarg ;;
|
---|
| 342 |
|
---|
| 343 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 344 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 345 | ac_prev=cache_file ;;
|
---|
| 346 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 347 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
| 348 | cache_file=$ac_optarg ;;
|
---|
| 349 |
|
---|
| 350 | --config-cache | -C)
|
---|
| 351 | cache_file=config.cache ;;
|
---|
| 352 |
|
---|
| 353 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
---|
| 354 | ac_prev=datadir ;;
|
---|
| 355 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
---|
| 356 | | --da=*)
|
---|
| 357 | datadir=$ac_optarg ;;
|
---|
| 358 |
|
---|
| 359 | -disable-* | --disable-*)
|
---|
| 360 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
| 361 | # Reject names that are not valid shell variable names.
|
---|
| 362 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
---|
| 363 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
---|
| 364 | { (exit 1); exit 1; }; }
|
---|
| 365 | ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
---|
| 366 | eval "enable_$ac_feature=no" ;;
|
---|
| 367 |
|
---|
| 368 | -enable-* | --enable-*)
|
---|
| 369 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
| 370 | # Reject names that are not valid shell variable names.
|
---|
| 371 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
---|
| 372 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
---|
| 373 | { (exit 1); exit 1; }; }
|
---|
| 374 | ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
---|
| 375 | case $ac_option in
|
---|
| 376 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
---|
| 377 | *) ac_optarg=yes ;;
|
---|
| 378 | esac
|
---|
| 379 | eval "enable_$ac_feature='$ac_optarg'" ;;
|
---|
| 380 |
|
---|
| 381 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
| 382 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
| 383 | | --exec | --exe | --ex)
|
---|
| 384 | ac_prev=exec_prefix ;;
|
---|
| 385 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
| 386 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
| 387 | | --exec=* | --exe=* | --ex=*)
|
---|
| 388 | exec_prefix=$ac_optarg ;;
|
---|
| 389 |
|
---|
| 390 | -gas | --gas | --ga | --g)
|
---|
| 391 | # Obsolete; use --with-gas.
|
---|
| 392 | with_gas=yes ;;
|
---|
| 393 |
|
---|
| 394 | -help | --help | --hel | --he | -h)
|
---|
| 395 | ac_init_help=long ;;
|
---|
| 396 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
| 397 | ac_init_help=recursive ;;
|
---|
| 398 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
| 399 | ac_init_help=short ;;
|
---|
| 400 |
|
---|
| 401 | -host | --host | --hos | --ho)
|
---|
| 402 | ac_prev=host_alias ;;
|
---|
| 403 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
| 404 | host_alias=$ac_optarg ;;
|
---|
| 405 |
|
---|
| 406 | -includedir | --includedir | --includedi | --included | --include \
|
---|
| 407 | | --includ | --inclu | --incl | --inc)
|
---|
| 408 | ac_prev=includedir ;;
|
---|
| 409 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
| 410 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
| 411 | includedir=$ac_optarg ;;
|
---|
| 412 |
|
---|
| 413 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
| 414 | ac_prev=infodir ;;
|
---|
| 415 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
| 416 | infodir=$ac_optarg ;;
|
---|
| 417 |
|
---|
| 418 | -libdir | --libdir | --libdi | --libd)
|
---|
| 419 | ac_prev=libdir ;;
|
---|
| 420 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
| 421 | libdir=$ac_optarg ;;
|
---|
| 422 |
|
---|
| 423 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
| 424 | | --libexe | --libex | --libe)
|
---|
| 425 | ac_prev=libexecdir ;;
|
---|
| 426 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
| 427 | | --libexe=* | --libex=* | --libe=*)
|
---|
| 428 | libexecdir=$ac_optarg ;;
|
---|
| 429 |
|
---|
| 430 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
| 431 | | --localstate | --localstat | --localsta | --localst \
|
---|
| 432 | | --locals | --local | --loca | --loc | --lo)
|
---|
| 433 | ac_prev=localstatedir ;;
|
---|
| 434 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
| 435 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
---|
| 436 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
---|
| 437 | localstatedir=$ac_optarg ;;
|
---|
| 438 |
|
---|
| 439 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
| 440 | ac_prev=mandir ;;
|
---|
| 441 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
| 442 | mandir=$ac_optarg ;;
|
---|
| 443 |
|
---|
| 444 | -nfp | --nfp | --nf)
|
---|
| 445 | # Obsolete; use --without-fp.
|
---|
| 446 | with_fp=no ;;
|
---|
| 447 |
|
---|
| 448 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
| 449 | | --no-cr | --no-c | -n)
|
---|
| 450 | no_create=yes ;;
|
---|
| 451 |
|
---|
| 452 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 453 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
| 454 | no_recursion=yes ;;
|
---|
| 455 |
|
---|
| 456 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
| 457 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
| 458 | | --oldin | --oldi | --old | --ol | --o)
|
---|
| 459 | ac_prev=oldincludedir ;;
|
---|
| 460 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
| 461 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
| 462 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
| 463 | oldincludedir=$ac_optarg ;;
|
---|
| 464 |
|
---|
| 465 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 466 | ac_prev=prefix ;;
|
---|
| 467 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 468 | prefix=$ac_optarg ;;
|
---|
| 469 |
|
---|
| 470 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
| 471 | | --program-pre | --program-pr | --program-p)
|
---|
| 472 | ac_prev=program_prefix ;;
|
---|
| 473 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
| 474 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
| 475 | program_prefix=$ac_optarg ;;
|
---|
| 476 |
|
---|
| 477 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
| 478 | | --program-suf | --program-su | --program-s)
|
---|
| 479 | ac_prev=program_suffix ;;
|
---|
| 480 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
| 481 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
| 482 | program_suffix=$ac_optarg ;;
|
---|
| 483 |
|
---|
| 484 | -program-transform-name | --program-transform-name \
|
---|
| 485 | | --program-transform-nam | --program-transform-na \
|
---|
| 486 | | --program-transform-n | --program-transform- \
|
---|
| 487 | | --program-transform | --program-transfor \
|
---|
| 488 | | --program-transfo | --program-transf \
|
---|
| 489 | | --program-trans | --program-tran \
|
---|
| 490 | | --progr-tra | --program-tr | --program-t)
|
---|
| 491 | ac_prev=program_transform_name ;;
|
---|
| 492 | -program-transform-name=* | --program-transform-name=* \
|
---|
| 493 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
| 494 | | --program-transform-n=* | --program-transform-=* \
|
---|
| 495 | | --program-transform=* | --program-transfor=* \
|
---|
| 496 | | --program-transfo=* | --program-transf=* \
|
---|
| 497 | | --program-trans=* | --program-tran=* \
|
---|
| 498 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
| 499 | program_transform_name=$ac_optarg ;;
|
---|
| 500 |
|
---|
| 501 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 502 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 503 | silent=yes ;;
|
---|
| 504 |
|
---|
| 505 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
| 506 | ac_prev=sbindir ;;
|
---|
| 507 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
| 508 | | --sbi=* | --sb=*)
|
---|
| 509 | sbindir=$ac_optarg ;;
|
---|
| 510 |
|
---|
| 511 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
| 512 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
| 513 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
| 514 | | --sha | --sh)
|
---|
| 515 | ac_prev=sharedstatedir ;;
|
---|
| 516 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
| 517 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
| 518 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
| 519 | | --sha=* | --sh=*)
|
---|
| 520 | sharedstatedir=$ac_optarg ;;
|
---|
| 521 |
|
---|
| 522 | -site | --site | --sit)
|
---|
| 523 | ac_prev=site ;;
|
---|
| 524 | -site=* | --site=* | --sit=*)
|
---|
| 525 | site=$ac_optarg ;;
|
---|
| 526 |
|
---|
| 527 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 528 | ac_prev=srcdir ;;
|
---|
| 529 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 530 | srcdir=$ac_optarg ;;
|
---|
| 531 |
|
---|
| 532 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
| 533 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
| 534 | ac_prev=sysconfdir ;;
|
---|
| 535 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
| 536 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
| 537 | sysconfdir=$ac_optarg ;;
|
---|
| 538 |
|
---|
| 539 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
| 540 | ac_prev=target_alias ;;
|
---|
| 541 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
| 542 | target_alias=$ac_optarg ;;
|
---|
| 543 |
|
---|
| 544 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
| 545 | verbose=yes ;;
|
---|
| 546 |
|
---|
| 547 | -version | --version | --versio | --versi | --vers | -V)
|
---|
| 548 | ac_init_version=: ;;
|
---|
| 549 |
|
---|
| 550 | -with-* | --with-*)
|
---|
| 551 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
| 552 | # Reject names that are not valid shell variable names.
|
---|
| 553 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
---|
| 554 | { echo "$as_me: error: invalid package name: $ac_package" >&2
|
---|
| 555 | { (exit 1); exit 1; }; }
|
---|
| 556 | ac_package=`echo $ac_package| sed 's/-/_/g'`
|
---|
| 557 | case $ac_option in
|
---|
| 558 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
---|
| 559 | *) ac_optarg=yes ;;
|
---|
| 560 | esac
|
---|
| 561 | eval "with_$ac_package='$ac_optarg'" ;;
|
---|
| 562 |
|
---|
| 563 | -without-* | --without-*)
|
---|
| 564 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
| 565 | # Reject names that are not valid shell variable names.
|
---|
| 566 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
---|
| 567 | { echo "$as_me: error: invalid package name: $ac_package" >&2
|
---|
| 568 | { (exit 1); exit 1; }; }
|
---|
| 569 | ac_package=`echo $ac_package | sed 's/-/_/g'`
|
---|
| 570 | eval "with_$ac_package=no" ;;
|
---|
| 571 |
|
---|
| 572 | --x)
|
---|
| 573 | # Obsolete; use --with-x.
|
---|
| 574 | with_x=yes ;;
|
---|
| 575 |
|
---|
| 576 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
| 577 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
| 578 | ac_prev=x_includes ;;
|
---|
| 579 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
| 580 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
| 581 | x_includes=$ac_optarg ;;
|
---|
| 582 |
|
---|
| 583 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
| 584 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
| 585 | ac_prev=x_libraries ;;
|
---|
| 586 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
| 587 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
| 588 | x_libraries=$ac_optarg ;;
|
---|
| 589 |
|
---|
| 590 | -*) { echo "$as_me: error: unrecognized option: $ac_option
|
---|
| 591 | Try \`$0 --help' for more information." >&2
|
---|
| 592 | { (exit 1); exit 1; }; }
|
---|
| 593 | ;;
|
---|
| 594 |
|
---|
| 595 | *=*)
|
---|
| 596 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
| 597 | # Reject names that are not valid shell variable names.
|
---|
| 598 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
---|
| 599 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
---|
| 600 | { (exit 1); exit 1; }; }
|
---|
| 601 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
---|
| 602 | eval "$ac_envvar='$ac_optarg'"
|
---|
| 603 | export $ac_envvar ;;
|
---|
| 604 |
|
---|
| 605 | *)
|
---|
| 606 | # FIXME: should be removed in autoconf 3.0.
|
---|
| 607 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
| 608 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
| 609 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
| 610 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
---|
| 611 | ;;
|
---|
| 612 |
|
---|
| 613 | esac
|
---|
| 614 | done
|
---|
| 615 |
|
---|
| 616 | if test -n "$ac_prev"; then
|
---|
| 617 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
| 618 | { echo "$as_me: error: missing argument to $ac_option" >&2
|
---|
| 619 | { (exit 1); exit 1; }; }
|
---|
| 620 | fi
|
---|
| 621 |
|
---|
| 622 | # Be sure to have absolute paths.
|
---|
| 623 | for ac_var in exec_prefix prefix
|
---|
| 624 | do
|
---|
| 625 | eval ac_val=$`echo $ac_var`
|
---|
| 626 | case $ac_val in
|
---|
| 627 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
---|
| 628 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
---|
| 629 | { (exit 1); exit 1; }; };;
|
---|
| 630 | esac
|
---|
| 631 | done
|
---|
| 632 |
|
---|
| 633 | # Be sure to have absolute paths.
|
---|
| 634 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
---|
| 635 | localstatedir libdir includedir oldincludedir infodir mandir
|
---|
| 636 | do
|
---|
| 637 | eval ac_val=$`echo $ac_var`
|
---|
| 638 | case $ac_val in
|
---|
| 639 | [\\/$]* | ?:[\\/]* ) ;;
|
---|
| 640 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
---|
| 641 | { (exit 1); exit 1; }; };;
|
---|
| 642 | esac
|
---|
| 643 | done
|
---|
| 644 |
|
---|
| 645 | # There might be people who depend on the old broken behavior: `$host'
|
---|
| 646 | # used to hold the argument of --host etc.
|
---|
| 647 | # FIXME: To remove some day.
|
---|
| 648 | build=$build_alias
|
---|
| 649 | host=$host_alias
|
---|
| 650 | target=$target_alias
|
---|
| 651 |
|
---|
| 652 | # FIXME: To remove some day.
|
---|
| 653 | if test "x$host_alias" != x; then
|
---|
| 654 | if test "x$build_alias" = x; then
|
---|
| 655 | cross_compiling=maybe
|
---|
| 656 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
---|
| 657 | If a cross compiler is detected then cross compile mode will be used." >&2
|
---|
| 658 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
| 659 | cross_compiling=yes
|
---|
| 660 | fi
|
---|
| 661 | fi
|
---|
| 662 |
|
---|
| 663 | ac_tool_prefix=
|
---|
| 664 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
| 665 |
|
---|
| 666 | test "$silent" = yes && exec 6>/dev/null
|
---|
| 667 |
|
---|
| 668 |
|
---|
| 669 | # Find the source files, if location was not specified.
|
---|
| 670 | if test -z "$srcdir"; then
|
---|
| 671 | ac_srcdir_defaulted=yes
|
---|
| 672 | # Try the directory containing this script, then its parent.
|
---|
| 673 | ac_confdir=`(dirname "$0") 2>/dev/null ||
|
---|
| 674 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 675 | X"$0" : 'X\(//\)[^/]' \| \
|
---|
| 676 | X"$0" : 'X\(//\)$' \| \
|
---|
| 677 | X"$0" : 'X\(/\)' \| \
|
---|
| 678 | . : '\(.\)' 2>/dev/null ||
|
---|
| 679 | echo X"$0" |
|
---|
| 680 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 681 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 682 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 683 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 684 | s/.*/./; q'`
|
---|
| 685 | srcdir=$ac_confdir
|
---|
| 686 | if test ! -r $srcdir/$ac_unique_file; then
|
---|
| 687 | srcdir=..
|
---|
| 688 | fi
|
---|
| 689 | else
|
---|
| 690 | ac_srcdir_defaulted=no
|
---|
| 691 | fi
|
---|
| 692 | if test ! -r $srcdir/$ac_unique_file; then
|
---|
| 693 | if test "$ac_srcdir_defaulted" = yes; then
|
---|
| 694 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
|
---|
| 695 | { (exit 1); exit 1; }; }
|
---|
| 696 | else
|
---|
| 697 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
---|
| 698 | { (exit 1); exit 1; }; }
|
---|
| 699 | fi
|
---|
| 700 | fi
|
---|
| 701 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
|
---|
| 702 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
|
---|
| 703 | { (exit 1); exit 1; }; }
|
---|
| 704 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
---|
| 705 | ac_env_build_alias_set=${build_alias+set}
|
---|
| 706 | ac_env_build_alias_value=$build_alias
|
---|
| 707 | ac_cv_env_build_alias_set=${build_alias+set}
|
---|
| 708 | ac_cv_env_build_alias_value=$build_alias
|
---|
| 709 | ac_env_host_alias_set=${host_alias+set}
|
---|
| 710 | ac_env_host_alias_value=$host_alias
|
---|
| 711 | ac_cv_env_host_alias_set=${host_alias+set}
|
---|
| 712 | ac_cv_env_host_alias_value=$host_alias
|
---|
| 713 | ac_env_target_alias_set=${target_alias+set}
|
---|
| 714 | ac_env_target_alias_value=$target_alias
|
---|
| 715 | ac_cv_env_target_alias_set=${target_alias+set}
|
---|
| 716 | ac_cv_env_target_alias_value=$target_alias
|
---|
[21494] | 717 | ac_env_CC_set=${CC+set}
|
---|
| 718 | ac_env_CC_value=$CC
|
---|
| 719 | ac_cv_env_CC_set=${CC+set}
|
---|
| 720 | ac_cv_env_CC_value=$CC
|
---|
| 721 | ac_env_CFLAGS_set=${CFLAGS+set}
|
---|
| 722 | ac_env_CFLAGS_value=$CFLAGS
|
---|
| 723 | ac_cv_env_CFLAGS_set=${CFLAGS+set}
|
---|
| 724 | ac_cv_env_CFLAGS_value=$CFLAGS
|
---|
| 725 | ac_env_LDFLAGS_set=${LDFLAGS+set}
|
---|
| 726 | ac_env_LDFLAGS_value=$LDFLAGS
|
---|
| 727 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
|
---|
| 728 | ac_cv_env_LDFLAGS_value=$LDFLAGS
|
---|
| 729 | ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
---|
| 730 | ac_env_CPPFLAGS_value=$CPPFLAGS
|
---|
| 731 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
---|
| 732 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
---|
[21473] | 733 | ac_env_CXX_set=${CXX+set}
|
---|
| 734 | ac_env_CXX_value=$CXX
|
---|
| 735 | ac_cv_env_CXX_set=${CXX+set}
|
---|
| 736 | ac_cv_env_CXX_value=$CXX
|
---|
| 737 | ac_env_CXXFLAGS_set=${CXXFLAGS+set}
|
---|
| 738 | ac_env_CXXFLAGS_value=$CXXFLAGS
|
---|
| 739 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
|
---|
| 740 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS
|
---|
| 741 |
|
---|
| 742 | #
|
---|
| 743 | # Report the --help message.
|
---|
| 744 | #
|
---|
| 745 | if test "$ac_init_help" = "long"; then
|
---|
| 746 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
| 747 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
| 748 | cat <<_ACEOF
|
---|
| 749 | \`configure' configures greenstone2-runtime-src 2.84 to adapt to many kinds of systems.
|
---|
| 750 |
|
---|
| 751 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
| 752 |
|
---|
| 753 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
| 754 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
| 755 |
|
---|
| 756 | Defaults for the options are specified in brackets.
|
---|
| 757 |
|
---|
| 758 | Configuration:
|
---|
| 759 | -h, --help display this help and exit
|
---|
| 760 | --help=short display options specific to this package
|
---|
| 761 | --help=recursive display the short help of all the included packages
|
---|
| 762 | -V, --version display version information and exit
|
---|
| 763 | -q, --quiet, --silent do not print \`checking...' messages
|
---|
| 764 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
| 765 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
| 766 | -n, --no-create do not create output files
|
---|
| 767 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
| 768 |
|
---|
| 769 | _ACEOF
|
---|
| 770 |
|
---|
| 771 | cat <<_ACEOF
|
---|
| 772 | Installation directories:
|
---|
| 773 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
| 774 | [$ac_default_prefix]
|
---|
| 775 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
| 776 | [PREFIX]
|
---|
| 777 |
|
---|
| 778 | By default, \`make install' will install all the files in
|
---|
| 779 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
| 780 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
| 781 | for instance \`--prefix=\$HOME'.
|
---|
| 782 |
|
---|
| 783 | For better control, use the options below.
|
---|
| 784 |
|
---|
| 785 | Fine tuning of the installation directories:
|
---|
| 786 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
| 787 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
| 788 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
| 789 | --datadir=DIR read-only architecture-independent data [PREFIX/share]
|
---|
| 790 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
| 791 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
| 792 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
| 793 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
| 794 | --includedir=DIR C header files [PREFIX/include]
|
---|
| 795 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
| 796 | --infodir=DIR info documentation [PREFIX/info]
|
---|
| 797 | --mandir=DIR man documentation [PREFIX/man]
|
---|
| 798 | _ACEOF
|
---|
| 799 |
|
---|
| 800 | cat <<\_ACEOF
|
---|
| 801 |
|
---|
| 802 | Program names:
|
---|
| 803 | --program-prefix=PREFIX prepend PREFIX to installed program names
|
---|
| 804 | --program-suffix=SUFFIX append SUFFIX to installed program names
|
---|
| 805 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
---|
| 806 |
|
---|
| 807 | System types:
|
---|
| 808 | --build=BUILD configure for building on BUILD [guessed]
|
---|
| 809 | --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
---|
| 810 | _ACEOF
|
---|
| 811 | fi
|
---|
| 812 |
|
---|
| 813 | if test -n "$ac_init_help"; then
|
---|
| 814 | case $ac_init_help in
|
---|
| 815 | short | recursive ) echo "Configuration of greenstone2-runtime-src 2.84:";;
|
---|
| 816 | esac
|
---|
| 817 | cat <<\_ACEOF
|
---|
| 818 |
|
---|
| 819 | Optional Features:
|
---|
| 820 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
---|
| 821 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
---|
| 822 | --disable-dependency-tracking speeds up one-time build
|
---|
| 823 | --enable-dependency-tracking do not reject slow dependency extractors
|
---|
| 824 | --enable-sqlite Enable SQLite support
|
---|
| 825 |
|
---|
| 826 | Some influential environment variables:
|
---|
[21494] | 827 | CC C compiler command
|
---|
| 828 | CFLAGS C compiler flags
|
---|
[21473] | 829 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
| 830 | nonstandard directory <lib dir>
|
---|
| 831 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
---|
| 832 | headers in a nonstandard directory <include dir>
|
---|
[21494] | 833 | CXX C++ compiler command
|
---|
| 834 | CXXFLAGS C++ compiler flags
|
---|
[21473] | 835 |
|
---|
| 836 | Use these variables to override the choices made by `configure' or to help
|
---|
| 837 | it to find libraries and programs with nonstandard names/locations.
|
---|
| 838 |
|
---|
| 839 | Report bugs to <[email protected]>.
|
---|
| 840 | _ACEOF
|
---|
| 841 | fi
|
---|
| 842 |
|
---|
| 843 | if test "$ac_init_help" = "recursive"; then
|
---|
| 844 | # If there are subdirs, report their specific --help.
|
---|
| 845 | ac_popdir=`pwd`
|
---|
| 846 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
| 847 | test -d $ac_dir || continue
|
---|
| 848 | ac_builddir=.
|
---|
| 849 |
|
---|
| 850 | if test "$ac_dir" != .; then
|
---|
| 851 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
| 852 | # A "../" for each directory in $ac_dir_suffix.
|
---|
| 853 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
| 854 | else
|
---|
| 855 | ac_dir_suffix= ac_top_builddir=
|
---|
| 856 | fi
|
---|
| 857 |
|
---|
| 858 | case $srcdir in
|
---|
| 859 | .) # No --srcdir option. We are building in place.
|
---|
| 860 | ac_srcdir=.
|
---|
| 861 | if test -z "$ac_top_builddir"; then
|
---|
| 862 | ac_top_srcdir=.
|
---|
| 863 | else
|
---|
| 864 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
| 865 | fi ;;
|
---|
| 866 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
| 867 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
| 868 | ac_top_srcdir=$srcdir ;;
|
---|
| 869 | *) # Relative path.
|
---|
| 870 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
| 871 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
| 872 | esac
|
---|
| 873 |
|
---|
| 874 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
---|
| 875 | # the directories may not exist.
|
---|
| 876 | case `pwd` in
|
---|
| 877 | .) ac_abs_builddir="$ac_dir";;
|
---|
| 878 | *)
|
---|
| 879 | case "$ac_dir" in
|
---|
| 880 | .) ac_abs_builddir=`pwd`;;
|
---|
| 881 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
---|
| 882 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
---|
| 883 | esac;;
|
---|
| 884 | esac
|
---|
| 885 | case $ac_abs_builddir in
|
---|
| 886 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 887 | *)
|
---|
| 888 | case ${ac_top_builddir}. in
|
---|
| 889 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
---|
| 890 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 891 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
---|
| 892 | esac;;
|
---|
| 893 | esac
|
---|
| 894 | case $ac_abs_builddir in
|
---|
| 895 | .) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 896 | *)
|
---|
| 897 | case $ac_srcdir in
|
---|
| 898 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
---|
| 899 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 900 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
---|
| 901 | esac;;
|
---|
| 902 | esac
|
---|
| 903 | case $ac_abs_builddir in
|
---|
| 904 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 905 | *)
|
---|
| 906 | case $ac_top_srcdir in
|
---|
| 907 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
---|
| 908 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 909 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
---|
| 910 | esac;;
|
---|
| 911 | esac
|
---|
| 912 |
|
---|
| 913 | cd $ac_dir
|
---|
| 914 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
| 915 | if test -f $ac_srcdir/configure.gnu; then
|
---|
| 916 | echo
|
---|
| 917 | $SHELL $ac_srcdir/configure.gnu --help=recursive
|
---|
| 918 | elif test -f $ac_srcdir/configure; then
|
---|
| 919 | echo
|
---|
| 920 | $SHELL $ac_srcdir/configure --help=recursive
|
---|
| 921 | elif test -f $ac_srcdir/configure.ac ||
|
---|
| 922 | test -f $ac_srcdir/configure.in; then
|
---|
| 923 | echo
|
---|
| 924 | $ac_configure --help
|
---|
| 925 | else
|
---|
| 926 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
| 927 | fi
|
---|
| 928 | cd $ac_popdir
|
---|
| 929 | done
|
---|
| 930 | fi
|
---|
| 931 |
|
---|
| 932 | test -n "$ac_init_help" && exit 0
|
---|
| 933 | if $ac_init_version; then
|
---|
| 934 | cat <<\_ACEOF
|
---|
| 935 | greenstone2-runtime-src configure 2.84
|
---|
| 936 | generated by GNU Autoconf 2.59
|
---|
| 937 |
|
---|
| 938 | Copyright (C) 2003 Free Software Foundation, Inc.
|
---|
| 939 | This configure script is free software; the Free Software Foundation
|
---|
| 940 | gives unlimited permission to copy, distribute and modify it.
|
---|
| 941 | _ACEOF
|
---|
| 942 | exit 0
|
---|
| 943 | fi
|
---|
| 944 | exec 5>config.log
|
---|
| 945 | cat >&5 <<_ACEOF
|
---|
| 946 | This file contains any messages produced by compilers while
|
---|
| 947 | running configure, to aid debugging if configure makes a mistake.
|
---|
| 948 |
|
---|
| 949 | It was created by greenstone2-runtime-src $as_me 2.84, which was
|
---|
| 950 | generated by GNU Autoconf 2.59. Invocation command line was
|
---|
| 951 |
|
---|
| 952 | $ $0 $@
|
---|
| 953 |
|
---|
| 954 | _ACEOF
|
---|
| 955 | {
|
---|
| 956 | cat <<_ASUNAME
|
---|
| 957 | ## --------- ##
|
---|
| 958 | ## Platform. ##
|
---|
| 959 | ## --------- ##
|
---|
| 960 |
|
---|
| 961 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 962 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
| 963 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
| 964 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
| 965 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
| 966 |
|
---|
| 967 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
| 968 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
| 969 |
|
---|
| 970 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
| 971 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
| 972 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
| 973 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
---|
| 974 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
| 975 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
| 976 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
| 977 |
|
---|
| 978 | _ASUNAME
|
---|
| 979 |
|
---|
| 980 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 981 | for as_dir in $PATH
|
---|
| 982 | do
|
---|
| 983 | IFS=$as_save_IFS
|
---|
| 984 | test -z "$as_dir" && as_dir=.
|
---|
| 985 | echo "PATH: $as_dir"
|
---|
| 986 | done
|
---|
| 987 |
|
---|
| 988 | } >&5
|
---|
| 989 |
|
---|
| 990 | cat >&5 <<_ACEOF
|
---|
| 991 |
|
---|
| 992 |
|
---|
| 993 | ## ----------- ##
|
---|
| 994 | ## Core tests. ##
|
---|
| 995 | ## ----------- ##
|
---|
| 996 |
|
---|
| 997 | _ACEOF
|
---|
| 998 |
|
---|
| 999 |
|
---|
| 1000 | # Keep a trace of the command line.
|
---|
| 1001 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
| 1002 | # Strip out --silent because we don't want to record it for future runs.
|
---|
| 1003 | # Also quote any args containing shell meta-characters.
|
---|
| 1004 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
| 1005 | ac_configure_args=
|
---|
| 1006 | ac_configure_args0=
|
---|
| 1007 | ac_configure_args1=
|
---|
| 1008 | ac_sep=
|
---|
| 1009 | ac_must_keep_next=false
|
---|
| 1010 | for ac_pass in 1 2
|
---|
| 1011 | do
|
---|
| 1012 | for ac_arg
|
---|
| 1013 | do
|
---|
| 1014 | case $ac_arg in
|
---|
| 1015 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
| 1016 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1017 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1018 | continue ;;
|
---|
| 1019 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
---|
| 1020 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 1021 | esac
|
---|
| 1022 | case $ac_pass in
|
---|
| 1023 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
---|
| 1024 | 2)
|
---|
| 1025 | ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
---|
| 1026 | if test $ac_must_keep_next = true; then
|
---|
| 1027 | ac_must_keep_next=false # Got value, back to normal.
|
---|
| 1028 | else
|
---|
| 1029 | case $ac_arg in
|
---|
| 1030 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
| 1031 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
| 1032 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
| 1033 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
| 1034 | case "$ac_configure_args0 " in
|
---|
| 1035 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
| 1036 | esac
|
---|
| 1037 | ;;
|
---|
| 1038 | -* ) ac_must_keep_next=true ;;
|
---|
| 1039 | esac
|
---|
| 1040 | fi
|
---|
| 1041 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
---|
| 1042 | # Get rid of the leading space.
|
---|
| 1043 | ac_sep=" "
|
---|
| 1044 | ;;
|
---|
| 1045 | esac
|
---|
| 1046 | done
|
---|
| 1047 | done
|
---|
| 1048 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
---|
| 1049 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
---|
| 1050 |
|
---|
| 1051 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
| 1052 | # config.log. We remove comments because anyway the quotes in there
|
---|
| 1053 | # would cause problems or look ugly.
|
---|
| 1054 | # WARNING: Be sure not to use single quotes in there, as some shells,
|
---|
| 1055 | # such as our DU 5.0 friend, will then `close' the trap.
|
---|
| 1056 | trap 'exit_status=$?
|
---|
| 1057 | # Save into config.log some information that might help in debugging.
|
---|
| 1058 | {
|
---|
| 1059 | echo
|
---|
| 1060 |
|
---|
| 1061 | cat <<\_ASBOX
|
---|
| 1062 | ## ---------------- ##
|
---|
| 1063 | ## Cache variables. ##
|
---|
| 1064 | ## ---------------- ##
|
---|
| 1065 | _ASBOX
|
---|
| 1066 | echo
|
---|
| 1067 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 1068 | {
|
---|
| 1069 | (set) 2>&1 |
|
---|
| 1070 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
---|
| 1071 | *ac_space=\ *)
|
---|
| 1072 | sed -n \
|
---|
| 1073 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
---|
| 1074 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
---|
| 1075 | ;;
|
---|
| 1076 | *)
|
---|
| 1077 | sed -n \
|
---|
| 1078 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
---|
| 1079 | ;;
|
---|
| 1080 | esac;
|
---|
| 1081 | }
|
---|
| 1082 | echo
|
---|
| 1083 |
|
---|
| 1084 | cat <<\_ASBOX
|
---|
| 1085 | ## ----------------- ##
|
---|
| 1086 | ## Output variables. ##
|
---|
| 1087 | ## ----------------- ##
|
---|
| 1088 | _ASBOX
|
---|
| 1089 | echo
|
---|
| 1090 | for ac_var in $ac_subst_vars
|
---|
| 1091 | do
|
---|
| 1092 | eval ac_val=$`echo $ac_var`
|
---|
| 1093 | echo "$ac_var='"'"'$ac_val'"'"'"
|
---|
| 1094 | done | sort
|
---|
| 1095 | echo
|
---|
| 1096 |
|
---|
| 1097 | if test -n "$ac_subst_files"; then
|
---|
| 1098 | cat <<\_ASBOX
|
---|
| 1099 | ## ------------- ##
|
---|
| 1100 | ## Output files. ##
|
---|
| 1101 | ## ------------- ##
|
---|
| 1102 | _ASBOX
|
---|
| 1103 | echo
|
---|
| 1104 | for ac_var in $ac_subst_files
|
---|
| 1105 | do
|
---|
| 1106 | eval ac_val=$`echo $ac_var`
|
---|
| 1107 | echo "$ac_var='"'"'$ac_val'"'"'"
|
---|
| 1108 | done | sort
|
---|
| 1109 | echo
|
---|
| 1110 | fi
|
---|
| 1111 |
|
---|
| 1112 | if test -s confdefs.h; then
|
---|
| 1113 | cat <<\_ASBOX
|
---|
| 1114 | ## ----------- ##
|
---|
| 1115 | ## confdefs.h. ##
|
---|
| 1116 | ## ----------- ##
|
---|
| 1117 | _ASBOX
|
---|
| 1118 | echo
|
---|
| 1119 | sed "/^$/d" confdefs.h | sort
|
---|
| 1120 | echo
|
---|
| 1121 | fi
|
---|
| 1122 | test "$ac_signal" != 0 &&
|
---|
| 1123 | echo "$as_me: caught signal $ac_signal"
|
---|
| 1124 | echo "$as_me: exit $exit_status"
|
---|
| 1125 | } >&5
|
---|
| 1126 | rm -f core *.core &&
|
---|
| 1127 | rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
| 1128 | exit $exit_status
|
---|
| 1129 | ' 0
|
---|
| 1130 | for ac_signal in 1 2 13 15; do
|
---|
| 1131 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
---|
| 1132 | done
|
---|
| 1133 | ac_signal=0
|
---|
| 1134 |
|
---|
| 1135 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
| 1136 | rm -rf conftest* confdefs.h
|
---|
| 1137 | # AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
---|
| 1138 | echo >confdefs.h
|
---|
| 1139 |
|
---|
| 1140 | # Predefined preprocessor variables.
|
---|
| 1141 |
|
---|
| 1142 | cat >>confdefs.h <<_ACEOF
|
---|
| 1143 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
| 1144 | _ACEOF
|
---|
| 1145 |
|
---|
| 1146 |
|
---|
| 1147 | cat >>confdefs.h <<_ACEOF
|
---|
| 1148 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
| 1149 | _ACEOF
|
---|
| 1150 |
|
---|
| 1151 |
|
---|
| 1152 | cat >>confdefs.h <<_ACEOF
|
---|
| 1153 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
| 1154 | _ACEOF
|
---|
| 1155 |
|
---|
| 1156 |
|
---|
| 1157 | cat >>confdefs.h <<_ACEOF
|
---|
| 1158 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
| 1159 | _ACEOF
|
---|
| 1160 |
|
---|
| 1161 |
|
---|
| 1162 | cat >>confdefs.h <<_ACEOF
|
---|
| 1163 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
| 1164 | _ACEOF
|
---|
| 1165 |
|
---|
| 1166 |
|
---|
| 1167 | # Let the site file select an alternate cache file if it wants to.
|
---|
| 1168 | # Prefer explicitly selected file to automatically selected ones.
|
---|
| 1169 | if test -z "$CONFIG_SITE"; then
|
---|
| 1170 | if test "x$prefix" != xNONE; then
|
---|
| 1171 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
---|
| 1172 | else
|
---|
| 1173 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
---|
| 1174 | fi
|
---|
| 1175 | fi
|
---|
| 1176 | for ac_site_file in $CONFIG_SITE; do
|
---|
| 1177 | if test -r "$ac_site_file"; then
|
---|
| 1178 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
---|
| 1179 | echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
| 1180 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
| 1181 | . "$ac_site_file"
|
---|
| 1182 | fi
|
---|
| 1183 | done
|
---|
| 1184 |
|
---|
| 1185 | if test -r "$cache_file"; then
|
---|
| 1186 | # Some versions of bash will fail to source /dev/null (special
|
---|
| 1187 | # files actually), so we avoid doing that.
|
---|
| 1188 | if test -f "$cache_file"; then
|
---|
| 1189 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
---|
| 1190 | echo "$as_me: loading cache $cache_file" >&6;}
|
---|
| 1191 | case $cache_file in
|
---|
| 1192 | [\\/]* | ?:[\\/]* ) . $cache_file;;
|
---|
| 1193 | *) . ./$cache_file;;
|
---|
| 1194 | esac
|
---|
| 1195 | fi
|
---|
| 1196 | else
|
---|
| 1197 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
---|
| 1198 | echo "$as_me: creating cache $cache_file" >&6;}
|
---|
| 1199 | >$cache_file
|
---|
| 1200 | fi
|
---|
| 1201 |
|
---|
| 1202 | # Check that the precious variables saved in the cache have kept the same
|
---|
| 1203 | # value.
|
---|
| 1204 | ac_cache_corrupted=false
|
---|
| 1205 | for ac_var in `(set) 2>&1 |
|
---|
| 1206 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
---|
| 1207 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 1208 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
| 1209 | eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
---|
| 1210 | eval ac_new_val="\$ac_env_${ac_var}_value"
|
---|
| 1211 | case $ac_old_set,$ac_new_set in
|
---|
| 1212 | set,)
|
---|
| 1213 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
| 1214 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
| 1215 | ac_cache_corrupted=: ;;
|
---|
| 1216 | ,set)
|
---|
| 1217 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
---|
| 1218 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
| 1219 | ac_cache_corrupted=: ;;
|
---|
| 1220 | ,);;
|
---|
| 1221 | *)
|
---|
| 1222 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
| 1223 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
| 1224 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 1225 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
---|
| 1226 | echo "$as_me: former value: $ac_old_val" >&2;}
|
---|
| 1227 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
---|
| 1228 | echo "$as_me: current value: $ac_new_val" >&2;}
|
---|
| 1229 | ac_cache_corrupted=:
|
---|
| 1230 | fi;;
|
---|
| 1231 | esac
|
---|
| 1232 | # Pass precious variables to config.status.
|
---|
| 1233 | if test "$ac_new_set" = set; then
|
---|
| 1234 | case $ac_new_val in
|
---|
| 1235 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
---|
| 1236 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 1237 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
| 1238 | esac
|
---|
| 1239 | case " $ac_configure_args " in
|
---|
| 1240 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
| 1241 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
---|
| 1242 | esac
|
---|
| 1243 | fi
|
---|
| 1244 | done
|
---|
| 1245 | if $ac_cache_corrupted; then
|
---|
| 1246 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
---|
| 1247 | echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
| 1248 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
---|
| 1249 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
---|
| 1250 | { (exit 1); exit 1; }; }
|
---|
| 1251 | fi
|
---|
| 1252 |
|
---|
| 1253 | ac_ext=c
|
---|
| 1254 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 1255 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 1256 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 1257 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 1258 |
|
---|
| 1259 |
|
---|
| 1260 |
|
---|
| 1261 |
|
---|
| 1262 |
|
---|
| 1263 |
|
---|
| 1264 |
|
---|
| 1265 |
|
---|
| 1266 |
|
---|
| 1267 |
|
---|
| 1268 |
|
---|
| 1269 |
|
---|
| 1270 |
|
---|
| 1271 |
|
---|
| 1272 |
|
---|
| 1273 |
|
---|
| 1274 |
|
---|
| 1275 |
|
---|
| 1276 |
|
---|
| 1277 |
|
---|
| 1278 |
|
---|
| 1279 |
|
---|
| 1280 |
|
---|
| 1281 |
|
---|
| 1282 |
|
---|
| 1283 |
|
---|
| 1284 |
|
---|
| 1285 | ac_aux_dir=
|
---|
| 1286 | for ac_dir in . $srcdir/.; do
|
---|
| 1287 | if test -f $ac_dir/install-sh; then
|
---|
| 1288 | ac_aux_dir=$ac_dir
|
---|
| 1289 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 1290 | break
|
---|
| 1291 | elif test -f $ac_dir/install.sh; then
|
---|
| 1292 | ac_aux_dir=$ac_dir
|
---|
| 1293 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 1294 | break
|
---|
| 1295 | elif test -f $ac_dir/shtool; then
|
---|
| 1296 | ac_aux_dir=$ac_dir
|
---|
| 1297 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 1298 | break
|
---|
| 1299 | fi
|
---|
| 1300 | done
|
---|
| 1301 | if test -z "$ac_aux_dir"; then
|
---|
| 1302 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . $srcdir/." >&5
|
---|
| 1303 | echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;}
|
---|
| 1304 | { (exit 1); exit 1; }; }
|
---|
| 1305 | fi
|
---|
| 1306 | ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
---|
| 1307 | ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
---|
| 1308 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
---|
| 1309 |
|
---|
| 1310 | ac_config_headers="$ac_config_headers config.h"
|
---|
| 1311 |
|
---|
| 1312 | am__api_version="1.9"
|
---|
| 1313 | # Find a good install program. We prefer a C program (faster),
|
---|
| 1314 | # so one script is as good as another. But avoid the broken or
|
---|
| 1315 | # incompatible versions:
|
---|
| 1316 | # SysV /etc/install, /usr/sbin/install
|
---|
| 1317 | # SunOS /usr/etc/install
|
---|
| 1318 | # IRIX /sbin/install
|
---|
| 1319 | # AIX /bin/install
|
---|
| 1320 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
| 1321 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 1322 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 1323 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
| 1324 | # OS/2's system install, which has a completely different semantic
|
---|
| 1325 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
| 1326 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
---|
| 1327 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
---|
| 1328 | if test -z "$INSTALL"; then
|
---|
| 1329 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 1330 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1331 | else
|
---|
| 1332 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1333 | for as_dir in $PATH
|
---|
| 1334 | do
|
---|
| 1335 | IFS=$as_save_IFS
|
---|
| 1336 | test -z "$as_dir" && as_dir=.
|
---|
| 1337 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 1338 | case $as_dir/ in
|
---|
| 1339 | ./ | .// | /cC/* | \
|
---|
| 1340 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
| 1341 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
---|
| 1342 | /usr/ucb/* ) ;;
|
---|
| 1343 | *)
|
---|
| 1344 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 1345 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 1346 | # by default.
|
---|
| 1347 | for ac_prog in ginstall scoinst install; do
|
---|
| 1348 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1349 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
---|
| 1350 | if test $ac_prog = install &&
|
---|
| 1351 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 1352 | # AIX install. It has an incompatible calling convention.
|
---|
| 1353 | :
|
---|
| 1354 | elif test $ac_prog = install &&
|
---|
| 1355 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 1356 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 1357 | :
|
---|
| 1358 | else
|
---|
| 1359 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
| 1360 | break 3
|
---|
| 1361 | fi
|
---|
| 1362 | fi
|
---|
| 1363 | done
|
---|
| 1364 | done
|
---|
| 1365 | ;;
|
---|
| 1366 | esac
|
---|
| 1367 | done
|
---|
| 1368 |
|
---|
| 1369 |
|
---|
| 1370 | fi
|
---|
| 1371 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 1372 | INSTALL=$ac_cv_path_install
|
---|
| 1373 | else
|
---|
| 1374 | # As a last resort, use the slow shell script. We don't cache a
|
---|
| 1375 | # path for INSTALL within a source directory, because that will
|
---|
| 1376 | # break other packages using the cache if that directory is
|
---|
| 1377 | # removed, or if the path is relative.
|
---|
| 1378 | INSTALL=$ac_install_sh
|
---|
| 1379 | fi
|
---|
| 1380 | fi
|
---|
| 1381 | echo "$as_me:$LINENO: result: $INSTALL" >&5
|
---|
| 1382 | echo "${ECHO_T}$INSTALL" >&6
|
---|
| 1383 |
|
---|
| 1384 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 1385 | # It thinks the first close brace ends the variable substitution.
|
---|
| 1386 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 1387 |
|
---|
| 1388 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
| 1389 |
|
---|
| 1390 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 1391 |
|
---|
| 1392 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
---|
| 1393 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
|
---|
| 1394 | # Just in case
|
---|
| 1395 | sleep 1
|
---|
| 1396 | echo timestamp > conftest.file
|
---|
| 1397 | # Do `set' in a subshell so we don't clobber the current shell's
|
---|
| 1398 | # arguments. Must try -L first in case configure is actually a
|
---|
| 1399 | # symlink; some systems play weird games with the mod time of symlinks
|
---|
| 1400 | # (eg FreeBSD returns the mod time of the symlink's containing
|
---|
| 1401 | # directory).
|
---|
| 1402 | if (
|
---|
| 1403 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
---|
| 1404 | if test "$*" = "X"; then
|
---|
| 1405 | # -L didn't work.
|
---|
| 1406 | set X `ls -t $srcdir/configure conftest.file`
|
---|
| 1407 | fi
|
---|
| 1408 | rm -f conftest.file
|
---|
| 1409 | if test "$*" != "X $srcdir/configure conftest.file" \
|
---|
| 1410 | && test "$*" != "X conftest.file $srcdir/configure"; then
|
---|
| 1411 |
|
---|
| 1412 | # If neither matched, then we have a broken ls. This can happen
|
---|
| 1413 | # if, for instance, CONFIG_SHELL is bash and it inherits a
|
---|
| 1414 | # broken ls alias from the environment. This has actually
|
---|
| 1415 | # happened. Such a system could not be considered "sane".
|
---|
| 1416 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
---|
| 1417 | alias in your environment" >&5
|
---|
| 1418 | echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
---|
| 1419 | alias in your environment" >&2;}
|
---|
| 1420 | { (exit 1); exit 1; }; }
|
---|
| 1421 | fi
|
---|
| 1422 |
|
---|
| 1423 | test "$2" = conftest.file
|
---|
| 1424 | )
|
---|
| 1425 | then
|
---|
| 1426 | # Ok.
|
---|
| 1427 | :
|
---|
| 1428 | else
|
---|
| 1429 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
---|
| 1430 | Check your system clock" >&5
|
---|
| 1431 | echo "$as_me: error: newly created file is older than distributed files!
|
---|
| 1432 | Check your system clock" >&2;}
|
---|
| 1433 | { (exit 1); exit 1; }; }
|
---|
| 1434 | fi
|
---|
| 1435 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 1436 | echo "${ECHO_T}yes" >&6
|
---|
| 1437 | test "$program_prefix" != NONE &&
|
---|
| 1438 | program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
---|
| 1439 | # Use a double $ so make ignores it.
|
---|
| 1440 | test "$program_suffix" != NONE &&
|
---|
| 1441 | program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
---|
| 1442 | # Double any \ or $. echo might interpret backslashes.
|
---|
| 1443 | # By default was `s,x,x', remove it if useless.
|
---|
| 1444 | cat <<\_ACEOF >conftest.sed
|
---|
| 1445 | s/[\\$]/&&/g;s/;s,x,x,$//
|
---|
| 1446 | _ACEOF
|
---|
| 1447 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
---|
| 1448 | rm conftest.sed
|
---|
| 1449 |
|
---|
| 1450 | # expand $ac_aux_dir to an absolute path
|
---|
| 1451 | am_aux_dir=`cd $ac_aux_dir && pwd`
|
---|
| 1452 |
|
---|
| 1453 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
---|
| 1454 | # Use eval to expand $SHELL
|
---|
| 1455 | if eval "$MISSING --run true"; then
|
---|
| 1456 | am_missing_run="$MISSING --run "
|
---|
| 1457 | else
|
---|
| 1458 | am_missing_run=
|
---|
| 1459 | { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
---|
| 1460 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
---|
| 1461 | fi
|
---|
| 1462 |
|
---|
| 1463 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
---|
| 1464 | # We used to keeping the `.' as first argument, in order to
|
---|
| 1465 | # allow $(mkdir_p) to be used without argument. As in
|
---|
| 1466 | # $(mkdir_p) $(somedir)
|
---|
| 1467 | # where $(somedir) is conditionally defined. However this is wrong
|
---|
| 1468 | # for two reasons:
|
---|
| 1469 | # 1. if the package is installed by a user who cannot write `.'
|
---|
| 1470 | # make install will fail,
|
---|
| 1471 | # 2. the above comment should most certainly read
|
---|
| 1472 | # $(mkdir_p) $(DESTDIR)$(somedir)
|
---|
| 1473 | # so it does not work when $(somedir) is undefined and
|
---|
| 1474 | # $(DESTDIR) is not.
|
---|
| 1475 | # To support the latter case, we have to write
|
---|
| 1476 | # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
|
---|
| 1477 | # so the `.' trick is pointless.
|
---|
| 1478 | mkdir_p='mkdir -p --'
|
---|
| 1479 | else
|
---|
| 1480 | # On NextStep and OpenStep, the `mkdir' command does not
|
---|
| 1481 | # recognize any option. It will interpret all options as
|
---|
| 1482 | # directories to create, and then abort because `.' already
|
---|
| 1483 | # exists.
|
---|
| 1484 | for d in ./-p ./--version;
|
---|
| 1485 | do
|
---|
| 1486 | test -d $d && rmdir $d
|
---|
| 1487 | done
|
---|
| 1488 | # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
|
---|
| 1489 | if test -f "$ac_aux_dir/mkinstalldirs"; then
|
---|
| 1490 | mkdir_p='$(mkinstalldirs)'
|
---|
| 1491 | else
|
---|
| 1492 | mkdir_p='$(install_sh) -d'
|
---|
| 1493 | fi
|
---|
| 1494 | fi
|
---|
| 1495 |
|
---|
| 1496 | for ac_prog in gawk mawk nawk awk
|
---|
| 1497 | do
|
---|
| 1498 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 1499 | set dummy $ac_prog; ac_word=$2
|
---|
| 1500 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1501 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1502 | if test "${ac_cv_prog_AWK+set}" = set; then
|
---|
| 1503 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1504 | else
|
---|
| 1505 | if test -n "$AWK"; then
|
---|
| 1506 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
| 1507 | else
|
---|
| 1508 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1509 | for as_dir in $PATH
|
---|
| 1510 | do
|
---|
| 1511 | IFS=$as_save_IFS
|
---|
| 1512 | test -z "$as_dir" && as_dir=.
|
---|
| 1513 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1514 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1515 | ac_cv_prog_AWK="$ac_prog"
|
---|
| 1516 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1517 | break 2
|
---|
| 1518 | fi
|
---|
| 1519 | done
|
---|
| 1520 | done
|
---|
| 1521 |
|
---|
| 1522 | fi
|
---|
| 1523 | fi
|
---|
| 1524 | AWK=$ac_cv_prog_AWK
|
---|
| 1525 | if test -n "$AWK"; then
|
---|
| 1526 | echo "$as_me:$LINENO: result: $AWK" >&5
|
---|
| 1527 | echo "${ECHO_T}$AWK" >&6
|
---|
| 1528 | else
|
---|
| 1529 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1530 | echo "${ECHO_T}no" >&6
|
---|
| 1531 | fi
|
---|
| 1532 |
|
---|
| 1533 | test -n "$AWK" && break
|
---|
| 1534 | done
|
---|
| 1535 |
|
---|
| 1536 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
---|
| 1537 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
|
---|
| 1538 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
|
---|
| 1539 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
---|
| 1540 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1541 | else
|
---|
| 1542 | cat >conftest.make <<\_ACEOF
|
---|
| 1543 | all:
|
---|
| 1544 | @echo 'ac_maketemp="$(MAKE)"'
|
---|
| 1545 | _ACEOF
|
---|
| 1546 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
---|
| 1547 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
---|
| 1548 | if test -n "$ac_maketemp"; then
|
---|
| 1549 | eval ac_cv_prog_make_${ac_make}_set=yes
|
---|
| 1550 | else
|
---|
| 1551 | eval ac_cv_prog_make_${ac_make}_set=no
|
---|
| 1552 | fi
|
---|
| 1553 | rm -f conftest.make
|
---|
| 1554 | fi
|
---|
| 1555 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
---|
| 1556 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 1557 | echo "${ECHO_T}yes" >&6
|
---|
| 1558 | SET_MAKE=
|
---|
| 1559 | else
|
---|
| 1560 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1561 | echo "${ECHO_T}no" >&6
|
---|
| 1562 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
| 1563 | fi
|
---|
| 1564 |
|
---|
| 1565 | rm -rf .tst 2>/dev/null
|
---|
| 1566 | mkdir .tst 2>/dev/null
|
---|
| 1567 | if test -d .tst; then
|
---|
| 1568 | am__leading_dot=.
|
---|
| 1569 | else
|
---|
| 1570 | am__leading_dot=_
|
---|
| 1571 | fi
|
---|
| 1572 | rmdir .tst 2>/dev/null
|
---|
| 1573 |
|
---|
| 1574 | # test to see if srcdir already configured
|
---|
| 1575 | if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
---|
| 1576 | test -f $srcdir/config.status; then
|
---|
| 1577 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
---|
| 1578 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
---|
| 1579 | { (exit 1); exit 1; }; }
|
---|
| 1580 | fi
|
---|
| 1581 |
|
---|
| 1582 | # test whether we have cygpath
|
---|
| 1583 | if test -z "$CYGPATH_W"; then
|
---|
| 1584 | if (cygpath --version) >/dev/null 2>/dev/null; then
|
---|
| 1585 | CYGPATH_W='cygpath -w'
|
---|
| 1586 | else
|
---|
| 1587 | CYGPATH_W=echo
|
---|
| 1588 | fi
|
---|
| 1589 | fi
|
---|
| 1590 |
|
---|
| 1591 |
|
---|
| 1592 | # Define the identity of the package.
|
---|
| 1593 | PACKAGE='greenstone2-runtime-src'
|
---|
| 1594 | VERSION='2.84'
|
---|
| 1595 |
|
---|
| 1596 |
|
---|
| 1597 | # Some tools Automake needs.
|
---|
| 1598 |
|
---|
| 1599 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
---|
| 1600 |
|
---|
| 1601 |
|
---|
| 1602 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
---|
| 1603 |
|
---|
| 1604 |
|
---|
| 1605 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
---|
| 1606 |
|
---|
| 1607 |
|
---|
| 1608 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
---|
| 1609 |
|
---|
| 1610 |
|
---|
| 1611 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
---|
| 1612 |
|
---|
| 1613 | install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
---|
| 1614 |
|
---|
| 1615 | # Installed binaries are usually stripped using `strip' when the user
|
---|
| 1616 | # run `make install-strip'. However `strip' might not be the right
|
---|
| 1617 | # tool to use in cross-compilation environments, therefore Automake
|
---|
| 1618 | # will honor the `STRIP' environment variable to overrule this program.
|
---|
| 1619 | if test "$cross_compiling" != no; then
|
---|
| 1620 | if test -n "$ac_tool_prefix"; then
|
---|
| 1621 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
---|
| 1622 | set dummy ${ac_tool_prefix}strip; ac_word=$2
|
---|
| 1623 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1624 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1625 | if test "${ac_cv_prog_STRIP+set}" = set; then
|
---|
| 1626 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1627 | else
|
---|
| 1628 | if test -n "$STRIP"; then
|
---|
| 1629 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
---|
| 1630 | else
|
---|
| 1631 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1632 | for as_dir in $PATH
|
---|
| 1633 | do
|
---|
| 1634 | IFS=$as_save_IFS
|
---|
| 1635 | test -z "$as_dir" && as_dir=.
|
---|
| 1636 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1637 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1638 | ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
---|
| 1639 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1640 | break 2
|
---|
| 1641 | fi
|
---|
| 1642 | done
|
---|
| 1643 | done
|
---|
| 1644 |
|
---|
| 1645 | fi
|
---|
| 1646 | fi
|
---|
| 1647 | STRIP=$ac_cv_prog_STRIP
|
---|
| 1648 | if test -n "$STRIP"; then
|
---|
| 1649 | echo "$as_me:$LINENO: result: $STRIP" >&5
|
---|
| 1650 | echo "${ECHO_T}$STRIP" >&6
|
---|
| 1651 | else
|
---|
| 1652 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1653 | echo "${ECHO_T}no" >&6
|
---|
| 1654 | fi
|
---|
| 1655 |
|
---|
| 1656 | fi
|
---|
| 1657 | if test -z "$ac_cv_prog_STRIP"; then
|
---|
| 1658 | ac_ct_STRIP=$STRIP
|
---|
| 1659 | # Extract the first word of "strip", so it can be a program name with args.
|
---|
| 1660 | set dummy strip; ac_word=$2
|
---|
| 1661 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1662 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1663 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
---|
| 1664 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1665 | else
|
---|
| 1666 | if test -n "$ac_ct_STRIP"; then
|
---|
| 1667 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
---|
| 1668 | else
|
---|
| 1669 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1670 | for as_dir in $PATH
|
---|
| 1671 | do
|
---|
| 1672 | IFS=$as_save_IFS
|
---|
| 1673 | test -z "$as_dir" && as_dir=.
|
---|
| 1674 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1675 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1676 | ac_cv_prog_ac_ct_STRIP="strip"
|
---|
| 1677 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1678 | break 2
|
---|
| 1679 | fi
|
---|
| 1680 | done
|
---|
| 1681 | done
|
---|
| 1682 |
|
---|
| 1683 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
|
---|
| 1684 | fi
|
---|
| 1685 | fi
|
---|
| 1686 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
---|
| 1687 | if test -n "$ac_ct_STRIP"; then
|
---|
| 1688 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
---|
| 1689 | echo "${ECHO_T}$ac_ct_STRIP" >&6
|
---|
| 1690 | else
|
---|
| 1691 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1692 | echo "${ECHO_T}no" >&6
|
---|
| 1693 | fi
|
---|
| 1694 |
|
---|
| 1695 | STRIP=$ac_ct_STRIP
|
---|
| 1696 | else
|
---|
| 1697 | STRIP="$ac_cv_prog_STRIP"
|
---|
| 1698 | fi
|
---|
| 1699 |
|
---|
| 1700 | fi
|
---|
| 1701 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
---|
| 1702 |
|
---|
| 1703 | # We need awk for the "check" target. The system "awk" is bad on
|
---|
| 1704 | # some platforms.
|
---|
| 1705 | # Always define AMTAR for backward compatibility.
|
---|
| 1706 |
|
---|
| 1707 | AMTAR=${AMTAR-"${am_missing_run}tar"}
|
---|
| 1708 |
|
---|
| 1709 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
|
---|
| 1710 |
|
---|
| 1711 |
|
---|
| 1712 |
|
---|
| 1713 |
|
---|
| 1714 |
|
---|
| 1715 |
|
---|
[21494] | 1716 | # This package requires the crypt library
|
---|
| 1717 | DEPDIR="${am__leading_dot}deps"
|
---|
| 1718 |
|
---|
| 1719 | ac_config_commands="$ac_config_commands depfiles"
|
---|
| 1720 |
|
---|
| 1721 |
|
---|
| 1722 | am_make=${MAKE-make}
|
---|
| 1723 | cat > confinc << 'END'
|
---|
| 1724 | am__doit:
|
---|
| 1725 | @echo done
|
---|
| 1726 | .PHONY: am__doit
|
---|
| 1727 | END
|
---|
| 1728 | # If we don't find an include directive, just comment out the code.
|
---|
| 1729 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
---|
| 1730 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
|
---|
| 1731 | am__include="#"
|
---|
| 1732 | am__quote=
|
---|
| 1733 | _am_result=none
|
---|
| 1734 | # First try GNU make style include.
|
---|
| 1735 | echo "include confinc" > confmf
|
---|
| 1736 | # We grep out `Entering directory' and `Leaving directory'
|
---|
| 1737 | # messages which can occur if `w' ends up in MAKEFLAGS.
|
---|
| 1738 | # In particular we don't look at `^make:' because GNU make might
|
---|
| 1739 | # be invoked under some other name (usually "gmake"), in which
|
---|
| 1740 | # case it prints its new name instead of `make'.
|
---|
| 1741 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
---|
| 1742 | am__include=include
|
---|
| 1743 | am__quote=
|
---|
| 1744 | _am_result=GNU
|
---|
| 1745 | fi
|
---|
| 1746 | # Now try BSD make style include.
|
---|
| 1747 | if test "$am__include" = "#"; then
|
---|
| 1748 | echo '.include "confinc"' > confmf
|
---|
| 1749 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
---|
| 1750 | am__include=.include
|
---|
| 1751 | am__quote="\""
|
---|
| 1752 | _am_result=BSD
|
---|
| 1753 | fi
|
---|
| 1754 | fi
|
---|
| 1755 |
|
---|
| 1756 |
|
---|
| 1757 | echo "$as_me:$LINENO: result: $_am_result" >&5
|
---|
| 1758 | echo "${ECHO_T}$_am_result" >&6
|
---|
| 1759 | rm -f confinc confmf
|
---|
| 1760 |
|
---|
| 1761 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
|
---|
| 1762 | if test "${enable_dependency_tracking+set}" = set; then
|
---|
| 1763 | enableval="$enable_dependency_tracking"
|
---|
| 1764 |
|
---|
| 1765 | fi;
|
---|
| 1766 | if test "x$enable_dependency_tracking" != xno; then
|
---|
| 1767 | am_depcomp="$ac_aux_dir/depcomp"
|
---|
| 1768 | AMDEPBACKSLASH='\'
|
---|
| 1769 | fi
|
---|
| 1770 |
|
---|
| 1771 |
|
---|
| 1772 | if test "x$enable_dependency_tracking" != xno; then
|
---|
| 1773 | AMDEP_TRUE=
|
---|
| 1774 | AMDEP_FALSE='#'
|
---|
| 1775 | else
|
---|
| 1776 | AMDEP_TRUE='#'
|
---|
| 1777 | AMDEP_FALSE=
|
---|
| 1778 | fi
|
---|
| 1779 |
|
---|
| 1780 |
|
---|
| 1781 |
|
---|
| 1782 | ac_ext=c
|
---|
| 1783 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 1784 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 1785 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 1786 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[21473] | 1787 | if test -n "$ac_tool_prefix"; then
|
---|
[21494] | 1788 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
---|
| 1789 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
---|
| 1790 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1791 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1792 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1793 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1794 | else
|
---|
| 1795 | if test -n "$CC"; then
|
---|
| 1796 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 1797 | else
|
---|
| 1798 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1799 | for as_dir in $PATH
|
---|
| 1800 | do
|
---|
| 1801 | IFS=$as_save_IFS
|
---|
| 1802 | test -z "$as_dir" && as_dir=.
|
---|
| 1803 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1804 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1805 | ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
---|
| 1806 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1807 | break 2
|
---|
| 1808 | fi
|
---|
| 1809 | done
|
---|
| 1810 | done
|
---|
| 1811 |
|
---|
| 1812 | fi
|
---|
| 1813 | fi
|
---|
| 1814 | CC=$ac_cv_prog_CC
|
---|
| 1815 | if test -n "$CC"; then
|
---|
| 1816 | echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 1817 | echo "${ECHO_T}$CC" >&6
|
---|
| 1818 | else
|
---|
| 1819 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1820 | echo "${ECHO_T}no" >&6
|
---|
| 1821 | fi
|
---|
| 1822 |
|
---|
| 1823 | fi
|
---|
| 1824 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 1825 | ac_ct_CC=$CC
|
---|
| 1826 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
| 1827 | set dummy gcc; ac_word=$2
|
---|
| 1828 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1829 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1830 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
| 1831 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1832 | else
|
---|
| 1833 | if test -n "$ac_ct_CC"; then
|
---|
| 1834 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 1835 | else
|
---|
| 1836 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1837 | for as_dir in $PATH
|
---|
| 1838 | do
|
---|
| 1839 | IFS=$as_save_IFS
|
---|
| 1840 | test -z "$as_dir" && as_dir=.
|
---|
| 1841 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1842 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1843 | ac_cv_prog_ac_ct_CC="gcc"
|
---|
| 1844 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1845 | break 2
|
---|
| 1846 | fi
|
---|
| 1847 | done
|
---|
| 1848 | done
|
---|
| 1849 |
|
---|
| 1850 | fi
|
---|
| 1851 | fi
|
---|
| 1852 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 1853 | if test -n "$ac_ct_CC"; then
|
---|
| 1854 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
| 1855 | echo "${ECHO_T}$ac_ct_CC" >&6
|
---|
| 1856 | else
|
---|
| 1857 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1858 | echo "${ECHO_T}no" >&6
|
---|
| 1859 | fi
|
---|
| 1860 |
|
---|
| 1861 | CC=$ac_ct_CC
|
---|
| 1862 | else
|
---|
| 1863 | CC="$ac_cv_prog_CC"
|
---|
| 1864 | fi
|
---|
| 1865 |
|
---|
| 1866 | if test -z "$CC"; then
|
---|
| 1867 | if test -n "$ac_tool_prefix"; then
|
---|
| 1868 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
---|
| 1869 | set dummy ${ac_tool_prefix}cc; ac_word=$2
|
---|
| 1870 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1871 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1872 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1873 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1874 | else
|
---|
| 1875 | if test -n "$CC"; then
|
---|
| 1876 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 1877 | else
|
---|
| 1878 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1879 | for as_dir in $PATH
|
---|
| 1880 | do
|
---|
| 1881 | IFS=$as_save_IFS
|
---|
| 1882 | test -z "$as_dir" && as_dir=.
|
---|
| 1883 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1884 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1885 | ac_cv_prog_CC="${ac_tool_prefix}cc"
|
---|
| 1886 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1887 | break 2
|
---|
| 1888 | fi
|
---|
| 1889 | done
|
---|
| 1890 | done
|
---|
| 1891 |
|
---|
| 1892 | fi
|
---|
| 1893 | fi
|
---|
| 1894 | CC=$ac_cv_prog_CC
|
---|
| 1895 | if test -n "$CC"; then
|
---|
| 1896 | echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 1897 | echo "${ECHO_T}$CC" >&6
|
---|
| 1898 | else
|
---|
| 1899 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1900 | echo "${ECHO_T}no" >&6
|
---|
| 1901 | fi
|
---|
| 1902 |
|
---|
| 1903 | fi
|
---|
| 1904 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 1905 | ac_ct_CC=$CC
|
---|
| 1906 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 1907 | set dummy cc; ac_word=$2
|
---|
| 1908 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1909 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1910 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
| 1911 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1912 | else
|
---|
| 1913 | if test -n "$ac_ct_CC"; then
|
---|
| 1914 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 1915 | else
|
---|
| 1916 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1917 | for as_dir in $PATH
|
---|
| 1918 | do
|
---|
| 1919 | IFS=$as_save_IFS
|
---|
| 1920 | test -z "$as_dir" && as_dir=.
|
---|
| 1921 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1922 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1923 | ac_cv_prog_ac_ct_CC="cc"
|
---|
| 1924 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1925 | break 2
|
---|
| 1926 | fi
|
---|
| 1927 | done
|
---|
| 1928 | done
|
---|
| 1929 |
|
---|
| 1930 | fi
|
---|
| 1931 | fi
|
---|
| 1932 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 1933 | if test -n "$ac_ct_CC"; then
|
---|
| 1934 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
| 1935 | echo "${ECHO_T}$ac_ct_CC" >&6
|
---|
| 1936 | else
|
---|
| 1937 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1938 | echo "${ECHO_T}no" >&6
|
---|
| 1939 | fi
|
---|
| 1940 |
|
---|
| 1941 | CC=$ac_ct_CC
|
---|
| 1942 | else
|
---|
| 1943 | CC="$ac_cv_prog_CC"
|
---|
| 1944 | fi
|
---|
| 1945 |
|
---|
| 1946 | fi
|
---|
| 1947 | if test -z "$CC"; then
|
---|
| 1948 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 1949 | set dummy cc; ac_word=$2
|
---|
| 1950 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1951 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 1952 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1953 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1954 | else
|
---|
| 1955 | if test -n "$CC"; then
|
---|
| 1956 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 1957 | else
|
---|
| 1958 | ac_prog_rejected=no
|
---|
| 1959 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1960 | for as_dir in $PATH
|
---|
| 1961 | do
|
---|
| 1962 | IFS=$as_save_IFS
|
---|
| 1963 | test -z "$as_dir" && as_dir=.
|
---|
| 1964 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 1965 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 1966 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
---|
| 1967 | ac_prog_rejected=yes
|
---|
| 1968 | continue
|
---|
| 1969 | fi
|
---|
| 1970 | ac_cv_prog_CC="cc"
|
---|
| 1971 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1972 | break 2
|
---|
| 1973 | fi
|
---|
| 1974 | done
|
---|
| 1975 | done
|
---|
| 1976 |
|
---|
| 1977 | if test $ac_prog_rejected = yes; then
|
---|
| 1978 | # We found a bogon in the path, so make sure we never use it.
|
---|
| 1979 | set dummy $ac_cv_prog_CC
|
---|
| 1980 | shift
|
---|
| 1981 | if test $# != 0; then
|
---|
| 1982 | # We chose a different compiler from the bogus one.
|
---|
| 1983 | # However, it has the same basename, so the bogon will be chosen
|
---|
| 1984 | # first if we set CC to just the basename; use the full file name.
|
---|
| 1985 | shift
|
---|
| 1986 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
---|
| 1987 | fi
|
---|
| 1988 | fi
|
---|
| 1989 | fi
|
---|
| 1990 | fi
|
---|
| 1991 | CC=$ac_cv_prog_CC
|
---|
| 1992 | if test -n "$CC"; then
|
---|
| 1993 | echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 1994 | echo "${ECHO_T}$CC" >&6
|
---|
| 1995 | else
|
---|
| 1996 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1997 | echo "${ECHO_T}no" >&6
|
---|
| 1998 | fi
|
---|
| 1999 |
|
---|
| 2000 | fi
|
---|
| 2001 | if test -z "$CC"; then
|
---|
| 2002 | if test -n "$ac_tool_prefix"; then
|
---|
| 2003 | for ac_prog in cl
|
---|
[21473] | 2004 | do
|
---|
| 2005 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2006 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
| 2007 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2008 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[21494] | 2009 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
[21473] | 2010 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2011 | else
|
---|
[21494] | 2012 | if test -n "$CC"; then
|
---|
| 2013 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
[21473] | 2014 | else
|
---|
| 2015 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2016 | for as_dir in $PATH
|
---|
| 2017 | do
|
---|
| 2018 | IFS=$as_save_IFS
|
---|
| 2019 | test -z "$as_dir" && as_dir=.
|
---|
| 2020 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2021 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[21494] | 2022 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
---|
[21473] | 2023 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2024 | break 2
|
---|
| 2025 | fi
|
---|
| 2026 | done
|
---|
| 2027 | done
|
---|
| 2028 |
|
---|
| 2029 | fi
|
---|
| 2030 | fi
|
---|
[21494] | 2031 | CC=$ac_cv_prog_CC
|
---|
| 2032 | if test -n "$CC"; then
|
---|
| 2033 | echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 2034 | echo "${ECHO_T}$CC" >&6
|
---|
[21473] | 2035 | else
|
---|
| 2036 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2037 | echo "${ECHO_T}no" >&6
|
---|
| 2038 | fi
|
---|
| 2039 |
|
---|
[21494] | 2040 | test -n "$CC" && break
|
---|
[21473] | 2041 | done
|
---|
| 2042 | fi
|
---|
[21494] | 2043 | if test -z "$CC"; then
|
---|
| 2044 | ac_ct_CC=$CC
|
---|
| 2045 | for ac_prog in cl
|
---|
[21473] | 2046 | do
|
---|
| 2047 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2048 | set dummy $ac_prog; ac_word=$2
|
---|
| 2049 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2050 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
[21494] | 2051 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
[21473] | 2052 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2053 | else
|
---|
[21494] | 2054 | if test -n "$ac_ct_CC"; then
|
---|
| 2055 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
[21473] | 2056 | else
|
---|
| 2057 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2058 | for as_dir in $PATH
|
---|
| 2059 | do
|
---|
| 2060 | IFS=$as_save_IFS
|
---|
| 2061 | test -z "$as_dir" && as_dir=.
|
---|
| 2062 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2063 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
[21494] | 2064 | ac_cv_prog_ac_ct_CC="$ac_prog"
|
---|
[21473] | 2065 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2066 | break 2
|
---|
| 2067 | fi
|
---|
| 2068 | done
|
---|
| 2069 | done
|
---|
| 2070 |
|
---|
| 2071 | fi
|
---|
| 2072 | fi
|
---|
[21494] | 2073 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2074 | if test -n "$ac_ct_CC"; then
|
---|
| 2075 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
| 2076 | echo "${ECHO_T}$ac_ct_CC" >&6
|
---|
[21473] | 2077 | else
|
---|
| 2078 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2079 | echo "${ECHO_T}no" >&6
|
---|
| 2080 | fi
|
---|
| 2081 |
|
---|
[21494] | 2082 | test -n "$ac_ct_CC" && break
|
---|
[21473] | 2083 | done
|
---|
| 2084 |
|
---|
[21494] | 2085 | CC=$ac_ct_CC
|
---|
[21473] | 2086 | fi
|
---|
| 2087 |
|
---|
[21494] | 2088 | fi
|
---|
[21473] | 2089 |
|
---|
[21494] | 2090 |
|
---|
| 2091 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
---|
| 2092 | See \`config.log' for more details." >&5
|
---|
| 2093 | echo "$as_me: error: no acceptable C compiler found in \$PATH
|
---|
| 2094 | See \`config.log' for more details." >&2;}
|
---|
| 2095 | { (exit 1); exit 1; }; }
|
---|
| 2096 |
|
---|
[21473] | 2097 | # Provide some information about the compiler.
|
---|
| 2098 | echo "$as_me:$LINENO:" \
|
---|
[21494] | 2099 | "checking for C compiler version" >&5
|
---|
[21473] | 2100 | ac_compiler=`set X $ac_compile; echo $2`
|
---|
| 2101 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
---|
| 2102 | (eval $ac_compiler --version </dev/null >&5) 2>&5
|
---|
| 2103 | ac_status=$?
|
---|
| 2104 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2105 | (exit $ac_status); }
|
---|
| 2106 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
|
---|
| 2107 | (eval $ac_compiler -v </dev/null >&5) 2>&5
|
---|
| 2108 | ac_status=$?
|
---|
| 2109 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2110 | (exit $ac_status); }
|
---|
| 2111 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
|
---|
| 2112 | (eval $ac_compiler -V </dev/null >&5) 2>&5
|
---|
| 2113 | ac_status=$?
|
---|
| 2114 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2115 | (exit $ac_status); }
|
---|
| 2116 |
|
---|
| 2117 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2118 | /* confdefs.h. */
|
---|
| 2119 | _ACEOF
|
---|
| 2120 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2121 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2122 | /* end confdefs.h. */
|
---|
| 2123 |
|
---|
| 2124 | int
|
---|
| 2125 | main ()
|
---|
| 2126 | {
|
---|
| 2127 |
|
---|
| 2128 | ;
|
---|
| 2129 | return 0;
|
---|
| 2130 | }
|
---|
| 2131 | _ACEOF
|
---|
| 2132 | ac_clean_files_save=$ac_clean_files
|
---|
| 2133 | ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
---|
| 2134 | # Try to create an executable without -o first, disregard a.out.
|
---|
| 2135 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
| 2136 | # of exeext.
|
---|
[21494] | 2137 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
---|
| 2138 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
|
---|
[21473] | 2139 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
| 2140 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
---|
| 2141 | (eval $ac_link_default) 2>&5
|
---|
| 2142 | ac_status=$?
|
---|
| 2143 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2144 | (exit $ac_status); }; then
|
---|
| 2145 | # Find the output, starting from the most likely. This scheme is
|
---|
| 2146 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
---|
| 2147 | # resort.
|
---|
| 2148 |
|
---|
| 2149 | # Be careful to initialize this variable, since it used to be cached.
|
---|
| 2150 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
|
---|
| 2151 | ac_cv_exeext=
|
---|
| 2152 | # b.out is created by i960 compilers.
|
---|
| 2153 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
|
---|
| 2154 | do
|
---|
| 2155 | test -f "$ac_file" || continue
|
---|
| 2156 | case $ac_file in
|
---|
| 2157 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
---|
| 2158 | ;;
|
---|
| 2159 | conftest.$ac_ext )
|
---|
| 2160 | # This is the source file.
|
---|
| 2161 | ;;
|
---|
| 2162 | [ab].out )
|
---|
| 2163 | # We found the default executable, but exeext='' is most
|
---|
| 2164 | # certainly right.
|
---|
| 2165 | break;;
|
---|
| 2166 | *.* )
|
---|
| 2167 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2168 | # FIXME: I believe we export ac_cv_exeext for Libtool,
|
---|
| 2169 | # but it would be cool to find out if it's true. Does anybody
|
---|
| 2170 | # maintain Libtool? --akim.
|
---|
| 2171 | export ac_cv_exeext
|
---|
| 2172 | break;;
|
---|
| 2173 | * )
|
---|
| 2174 | break;;
|
---|
| 2175 | esac
|
---|
| 2176 | done
|
---|
| 2177 | else
|
---|
| 2178 | echo "$as_me: failed program was:" >&5
|
---|
| 2179 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2180 |
|
---|
[21494] | 2181 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
---|
[21473] | 2182 | See \`config.log' for more details." >&5
|
---|
[21494] | 2183 | echo "$as_me: error: C compiler cannot create executables
|
---|
[21473] | 2184 | See \`config.log' for more details." >&2;}
|
---|
| 2185 | { (exit 77); exit 77; }; }
|
---|
| 2186 | fi
|
---|
| 2187 |
|
---|
| 2188 | ac_exeext=$ac_cv_exeext
|
---|
| 2189 | echo "$as_me:$LINENO: result: $ac_file" >&5
|
---|
| 2190 | echo "${ECHO_T}$ac_file" >&6
|
---|
| 2191 |
|
---|
| 2192 | # Check the compiler produces executables we can run. If not, either
|
---|
| 2193 | # the compiler is broken, or we cross compile.
|
---|
[21494] | 2194 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
---|
| 2195 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
|
---|
[21473] | 2196 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
---|
| 2197 | # If not cross compiling, check that we can run a simple program.
|
---|
| 2198 | if test "$cross_compiling" != yes; then
|
---|
| 2199 | if { ac_try='./$ac_file'
|
---|
| 2200 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2201 | (eval $ac_try) 2>&5
|
---|
| 2202 | ac_status=$?
|
---|
| 2203 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2204 | (exit $ac_status); }; }; then
|
---|
| 2205 | cross_compiling=no
|
---|
| 2206 | else
|
---|
| 2207 | if test "$cross_compiling" = maybe; then
|
---|
| 2208 | cross_compiling=yes
|
---|
| 2209 | else
|
---|
[21494] | 2210 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
---|
[21473] | 2211 | If you meant to cross compile, use \`--host'.
|
---|
| 2212 | See \`config.log' for more details." >&5
|
---|
[21494] | 2213 | echo "$as_me: error: cannot run C compiled programs.
|
---|
[21473] | 2214 | If you meant to cross compile, use \`--host'.
|
---|
| 2215 | See \`config.log' for more details." >&2;}
|
---|
| 2216 | { (exit 1); exit 1; }; }
|
---|
| 2217 | fi
|
---|
| 2218 | fi
|
---|
| 2219 | fi
|
---|
| 2220 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 2221 | echo "${ECHO_T}yes" >&6
|
---|
| 2222 |
|
---|
| 2223 | rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
---|
| 2224 | ac_clean_files=$ac_clean_files_save
|
---|
| 2225 | # Check the compiler produces executables we can run. If not, either
|
---|
| 2226 | # the compiler is broken, or we cross compile.
|
---|
| 2227 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
---|
| 2228 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
---|
| 2229 | echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
---|
| 2230 | echo "${ECHO_T}$cross_compiling" >&6
|
---|
| 2231 |
|
---|
| 2232 | echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
---|
| 2233 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
|
---|
| 2234 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 2235 | (eval $ac_link) 2>&5
|
---|
| 2236 | ac_status=$?
|
---|
| 2237 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2238 | (exit $ac_status); }; then
|
---|
| 2239 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
| 2240 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
| 2241 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
| 2242 | # `rm'.
|
---|
| 2243 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
| 2244 | test -f "$ac_file" || continue
|
---|
| 2245 | case $ac_file in
|
---|
| 2246 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
---|
| 2247 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2248 | export ac_cv_exeext
|
---|
| 2249 | break;;
|
---|
| 2250 | * ) break;;
|
---|
| 2251 | esac
|
---|
| 2252 | done
|
---|
| 2253 | else
|
---|
| 2254 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
---|
| 2255 | See \`config.log' for more details." >&5
|
---|
| 2256 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
---|
| 2257 | See \`config.log' for more details." >&2;}
|
---|
| 2258 | { (exit 1); exit 1; }; }
|
---|
| 2259 | fi
|
---|
| 2260 |
|
---|
| 2261 | rm -f conftest$ac_cv_exeext
|
---|
| 2262 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
---|
| 2263 | echo "${ECHO_T}$ac_cv_exeext" >&6
|
---|
| 2264 |
|
---|
| 2265 | rm -f conftest.$ac_ext
|
---|
| 2266 | EXEEXT=$ac_cv_exeext
|
---|
| 2267 | ac_exeext=$EXEEXT
|
---|
| 2268 | echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
---|
| 2269 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
|
---|
| 2270 | if test "${ac_cv_objext+set}" = set; then
|
---|
| 2271 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2272 | else
|
---|
| 2273 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2274 | /* confdefs.h. */
|
---|
| 2275 | _ACEOF
|
---|
| 2276 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2277 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2278 | /* end confdefs.h. */
|
---|
| 2279 |
|
---|
| 2280 | int
|
---|
| 2281 | main ()
|
---|
| 2282 | {
|
---|
| 2283 |
|
---|
| 2284 | ;
|
---|
| 2285 | return 0;
|
---|
| 2286 | }
|
---|
| 2287 | _ACEOF
|
---|
| 2288 | rm -f conftest.o conftest.obj
|
---|
| 2289 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2290 | (eval $ac_compile) 2>&5
|
---|
| 2291 | ac_status=$?
|
---|
| 2292 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2293 | (exit $ac_status); }; then
|
---|
| 2294 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
---|
| 2295 | case $ac_file in
|
---|
| 2296 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
|
---|
| 2297 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
| 2298 | break;;
|
---|
| 2299 | esac
|
---|
| 2300 | done
|
---|
| 2301 | else
|
---|
| 2302 | echo "$as_me: failed program was:" >&5
|
---|
| 2303 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2304 |
|
---|
| 2305 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
---|
| 2306 | See \`config.log' for more details." >&5
|
---|
| 2307 | echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
---|
| 2308 | See \`config.log' for more details." >&2;}
|
---|
| 2309 | { (exit 1); exit 1; }; }
|
---|
| 2310 | fi
|
---|
| 2311 |
|
---|
| 2312 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
| 2313 | fi
|
---|
| 2314 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
---|
| 2315 | echo "${ECHO_T}$ac_cv_objext" >&6
|
---|
| 2316 | OBJEXT=$ac_cv_objext
|
---|
| 2317 | ac_objext=$OBJEXT
|
---|
[21494] | 2318 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
---|
| 2319 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
|
---|
| 2320 | if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
---|
| 2321 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2322 | else
|
---|
| 2323 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2324 | /* confdefs.h. */
|
---|
| 2325 | _ACEOF
|
---|
| 2326 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2327 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2328 | /* end confdefs.h. */
|
---|
| 2329 |
|
---|
| 2330 | int
|
---|
| 2331 | main ()
|
---|
| 2332 | {
|
---|
| 2333 | #ifndef __GNUC__
|
---|
| 2334 | choke me
|
---|
| 2335 | #endif
|
---|
| 2336 |
|
---|
| 2337 | ;
|
---|
| 2338 | return 0;
|
---|
| 2339 | }
|
---|
| 2340 | _ACEOF
|
---|
| 2341 | rm -f conftest.$ac_objext
|
---|
| 2342 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2343 | (eval $ac_compile) 2>conftest.er1
|
---|
| 2344 | ac_status=$?
|
---|
| 2345 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2346 | rm -f conftest.er1
|
---|
| 2347 | cat conftest.err >&5
|
---|
| 2348 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2349 | (exit $ac_status); } &&
|
---|
| 2350 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2351 | || test ! -s conftest.err'
|
---|
| 2352 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2353 | (eval $ac_try) 2>&5
|
---|
| 2354 | ac_status=$?
|
---|
| 2355 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2356 | (exit $ac_status); }; } &&
|
---|
| 2357 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2358 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2359 | (eval $ac_try) 2>&5
|
---|
| 2360 | ac_status=$?
|
---|
| 2361 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2362 | (exit $ac_status); }; }; then
|
---|
| 2363 | ac_compiler_gnu=yes
|
---|
| 2364 | else
|
---|
| 2365 | echo "$as_me: failed program was:" >&5
|
---|
| 2366 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2367 |
|
---|
| 2368 | ac_compiler_gnu=no
|
---|
| 2369 | fi
|
---|
| 2370 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2371 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
| 2372 |
|
---|
| 2373 | fi
|
---|
| 2374 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
---|
| 2375 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
---|
| 2376 | GCC=`test $ac_compiler_gnu = yes && echo yes`
|
---|
| 2377 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
| 2378 | ac_save_CFLAGS=$CFLAGS
|
---|
| 2379 | CFLAGS="-g"
|
---|
| 2380 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
---|
| 2381 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
---|
| 2382 | if test "${ac_cv_prog_cc_g+set}" = set; then
|
---|
| 2383 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2384 | else
|
---|
| 2385 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2386 | /* confdefs.h. */
|
---|
| 2387 | _ACEOF
|
---|
| 2388 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2389 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2390 | /* end confdefs.h. */
|
---|
| 2391 |
|
---|
| 2392 | int
|
---|
| 2393 | main ()
|
---|
| 2394 | {
|
---|
| 2395 |
|
---|
| 2396 | ;
|
---|
| 2397 | return 0;
|
---|
| 2398 | }
|
---|
| 2399 | _ACEOF
|
---|
| 2400 | rm -f conftest.$ac_objext
|
---|
| 2401 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2402 | (eval $ac_compile) 2>conftest.er1
|
---|
| 2403 | ac_status=$?
|
---|
| 2404 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2405 | rm -f conftest.er1
|
---|
| 2406 | cat conftest.err >&5
|
---|
| 2407 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2408 | (exit $ac_status); } &&
|
---|
| 2409 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2410 | || test ! -s conftest.err'
|
---|
| 2411 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2412 | (eval $ac_try) 2>&5
|
---|
| 2413 | ac_status=$?
|
---|
| 2414 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2415 | (exit $ac_status); }; } &&
|
---|
| 2416 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2417 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2418 | (eval $ac_try) 2>&5
|
---|
| 2419 | ac_status=$?
|
---|
| 2420 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2421 | (exit $ac_status); }; }; then
|
---|
| 2422 | ac_cv_prog_cc_g=yes
|
---|
| 2423 | else
|
---|
| 2424 | echo "$as_me: failed program was:" >&5
|
---|
| 2425 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2426 |
|
---|
| 2427 | ac_cv_prog_cc_g=no
|
---|
| 2428 | fi
|
---|
| 2429 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2430 | fi
|
---|
| 2431 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
---|
| 2432 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
---|
| 2433 | if test "$ac_test_CFLAGS" = set; then
|
---|
| 2434 | CFLAGS=$ac_save_CFLAGS
|
---|
| 2435 | elif test $ac_cv_prog_cc_g = yes; then
|
---|
| 2436 | if test "$GCC" = yes; then
|
---|
| 2437 | CFLAGS="-g -O2"
|
---|
| 2438 | else
|
---|
| 2439 | CFLAGS="-g"
|
---|
| 2440 | fi
|
---|
| 2441 | else
|
---|
| 2442 | if test "$GCC" = yes; then
|
---|
| 2443 | CFLAGS="-O2"
|
---|
| 2444 | else
|
---|
| 2445 | CFLAGS=
|
---|
| 2446 | fi
|
---|
| 2447 | fi
|
---|
| 2448 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
|
---|
| 2449 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
|
---|
| 2450 | if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
---|
| 2451 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2452 | else
|
---|
| 2453 | ac_cv_prog_cc_stdc=no
|
---|
| 2454 | ac_save_CC=$CC
|
---|
| 2455 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2456 | /* confdefs.h. */
|
---|
| 2457 | _ACEOF
|
---|
| 2458 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2459 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2460 | /* end confdefs.h. */
|
---|
| 2461 | #include <stdarg.h>
|
---|
| 2462 | #include <stdio.h>
|
---|
| 2463 | #include <sys/types.h>
|
---|
| 2464 | #include <sys/stat.h>
|
---|
| 2465 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
| 2466 | struct buf { int x; };
|
---|
| 2467 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
| 2468 | static char *e (p, i)
|
---|
| 2469 | char **p;
|
---|
| 2470 | int i;
|
---|
| 2471 | {
|
---|
| 2472 | return p[i];
|
---|
| 2473 | }
|
---|
| 2474 | static char *f (char * (*g) (char **, int), char **p, ...)
|
---|
| 2475 | {
|
---|
| 2476 | char *s;
|
---|
| 2477 | va_list v;
|
---|
| 2478 | va_start (v,p);
|
---|
| 2479 | s = g (p, va_arg (v,int));
|
---|
| 2480 | va_end (v);
|
---|
| 2481 | return s;
|
---|
| 2482 | }
|
---|
| 2483 |
|
---|
| 2484 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
---|
| 2485 | function prototypes and stuff, but not '\xHH' hex character constants.
|
---|
| 2486 | These don't provoke an error unfortunately, instead are silently treated
|
---|
| 2487 | as 'x'. The following induces an error, until -std1 is added to get
|
---|
| 2488 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
---|
| 2489 | array size at least. It's necessary to write '\x00'==0 to get something
|
---|
| 2490 | that's true only with -std1. */
|
---|
| 2491 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
---|
| 2492 |
|
---|
| 2493 | int test (int i, double x);
|
---|
| 2494 | struct s1 {int (*f) (int a);};
|
---|
| 2495 | struct s2 {int (*f) (double a);};
|
---|
| 2496 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
| 2497 | int argc;
|
---|
| 2498 | char **argv;
|
---|
| 2499 | int
|
---|
| 2500 | main ()
|
---|
| 2501 | {
|
---|
| 2502 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
| 2503 | ;
|
---|
| 2504 | return 0;
|
---|
| 2505 | }
|
---|
| 2506 | _ACEOF
|
---|
| 2507 | # Don't try gcc -ansi; that turns off useful extensions and
|
---|
| 2508 | # breaks some systems' header files.
|
---|
| 2509 | # AIX -qlanglvl=ansi
|
---|
| 2510 | # Ultrix and OSF/1 -std1
|
---|
| 2511 | # HP-UX 10.20 and later -Ae
|
---|
| 2512 | # HP-UX older versions -Aa -D_HPUX_SOURCE
|
---|
| 2513 | # SVR4 -Xc -D__EXTENSIONS__
|
---|
| 2514 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
| 2515 | do
|
---|
| 2516 | CC="$ac_save_CC $ac_arg"
|
---|
| 2517 | rm -f conftest.$ac_objext
|
---|
| 2518 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2519 | (eval $ac_compile) 2>conftest.er1
|
---|
| 2520 | ac_status=$?
|
---|
| 2521 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2522 | rm -f conftest.er1
|
---|
| 2523 | cat conftest.err >&5
|
---|
| 2524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2525 | (exit $ac_status); } &&
|
---|
| 2526 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2527 | || test ! -s conftest.err'
|
---|
| 2528 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2529 | (eval $ac_try) 2>&5
|
---|
| 2530 | ac_status=$?
|
---|
| 2531 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2532 | (exit $ac_status); }; } &&
|
---|
| 2533 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2534 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2535 | (eval $ac_try) 2>&5
|
---|
| 2536 | ac_status=$?
|
---|
| 2537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2538 | (exit $ac_status); }; }; then
|
---|
| 2539 | ac_cv_prog_cc_stdc=$ac_arg
|
---|
| 2540 | break
|
---|
| 2541 | else
|
---|
| 2542 | echo "$as_me: failed program was:" >&5
|
---|
| 2543 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2544 |
|
---|
| 2545 | fi
|
---|
| 2546 | rm -f conftest.err conftest.$ac_objext
|
---|
| 2547 | done
|
---|
| 2548 | rm -f conftest.$ac_ext conftest.$ac_objext
|
---|
| 2549 | CC=$ac_save_CC
|
---|
| 2550 |
|
---|
| 2551 | fi
|
---|
| 2552 |
|
---|
| 2553 | case "x$ac_cv_prog_cc_stdc" in
|
---|
| 2554 | x|xno)
|
---|
| 2555 | echo "$as_me:$LINENO: result: none needed" >&5
|
---|
| 2556 | echo "${ECHO_T}none needed" >&6 ;;
|
---|
| 2557 | *)
|
---|
| 2558 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
---|
| 2559 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
|
---|
| 2560 | CC="$CC $ac_cv_prog_cc_stdc" ;;
|
---|
| 2561 | esac
|
---|
| 2562 |
|
---|
| 2563 | # Some people use a C++ compiler to compile C. Since we use `exit',
|
---|
| 2564 | # in C++ we need to declare it. In case someone uses the same compiler
|
---|
| 2565 | # for both compiling C and C++ we need to have the C++ compiler decide
|
---|
| 2566 | # the declaration of exit, since it's the most demanding environment.
|
---|
| 2567 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2568 | #ifndef __cplusplus
|
---|
| 2569 | choke me
|
---|
| 2570 | #endif
|
---|
| 2571 | _ACEOF
|
---|
| 2572 | rm -f conftest.$ac_objext
|
---|
| 2573 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2574 | (eval $ac_compile) 2>conftest.er1
|
---|
| 2575 | ac_status=$?
|
---|
| 2576 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2577 | rm -f conftest.er1
|
---|
| 2578 | cat conftest.err >&5
|
---|
| 2579 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2580 | (exit $ac_status); } &&
|
---|
| 2581 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2582 | || test ! -s conftest.err'
|
---|
| 2583 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2584 | (eval $ac_try) 2>&5
|
---|
| 2585 | ac_status=$?
|
---|
| 2586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2587 | (exit $ac_status); }; } &&
|
---|
| 2588 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2589 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2590 | (eval $ac_try) 2>&5
|
---|
| 2591 | ac_status=$?
|
---|
| 2592 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2593 | (exit $ac_status); }; }; then
|
---|
| 2594 | for ac_declaration in \
|
---|
| 2595 | '' \
|
---|
| 2596 | 'extern "C" void std::exit (int) throw (); using std::exit;' \
|
---|
| 2597 | 'extern "C" void std::exit (int); using std::exit;' \
|
---|
| 2598 | 'extern "C" void exit (int) throw ();' \
|
---|
| 2599 | 'extern "C" void exit (int);' \
|
---|
| 2600 | 'void exit (int);'
|
---|
| 2601 | do
|
---|
| 2602 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2603 | /* confdefs.h. */
|
---|
| 2604 | _ACEOF
|
---|
| 2605 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2606 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2607 | /* end confdefs.h. */
|
---|
| 2608 | $ac_declaration
|
---|
| 2609 | #include <stdlib.h>
|
---|
| 2610 | int
|
---|
| 2611 | main ()
|
---|
| 2612 | {
|
---|
| 2613 | exit (42);
|
---|
| 2614 | ;
|
---|
| 2615 | return 0;
|
---|
| 2616 | }
|
---|
| 2617 | _ACEOF
|
---|
| 2618 | rm -f conftest.$ac_objext
|
---|
| 2619 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2620 | (eval $ac_compile) 2>conftest.er1
|
---|
| 2621 | ac_status=$?
|
---|
| 2622 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2623 | rm -f conftest.er1
|
---|
| 2624 | cat conftest.err >&5
|
---|
| 2625 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2626 | (exit $ac_status); } &&
|
---|
| 2627 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2628 | || test ! -s conftest.err'
|
---|
| 2629 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2630 | (eval $ac_try) 2>&5
|
---|
| 2631 | ac_status=$?
|
---|
| 2632 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2633 | (exit $ac_status); }; } &&
|
---|
| 2634 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2635 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2636 | (eval $ac_try) 2>&5
|
---|
| 2637 | ac_status=$?
|
---|
| 2638 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2639 | (exit $ac_status); }; }; then
|
---|
| 2640 | :
|
---|
| 2641 | else
|
---|
| 2642 | echo "$as_me: failed program was:" >&5
|
---|
| 2643 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2644 |
|
---|
| 2645 | continue
|
---|
| 2646 | fi
|
---|
| 2647 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2648 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2649 | /* confdefs.h. */
|
---|
| 2650 | _ACEOF
|
---|
| 2651 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2652 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2653 | /* end confdefs.h. */
|
---|
| 2654 | $ac_declaration
|
---|
| 2655 | int
|
---|
| 2656 | main ()
|
---|
| 2657 | {
|
---|
| 2658 | exit (42);
|
---|
| 2659 | ;
|
---|
| 2660 | return 0;
|
---|
| 2661 | }
|
---|
| 2662 | _ACEOF
|
---|
| 2663 | rm -f conftest.$ac_objext
|
---|
| 2664 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 2665 | (eval $ac_compile) 2>conftest.er1
|
---|
| 2666 | ac_status=$?
|
---|
| 2667 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2668 | rm -f conftest.er1
|
---|
| 2669 | cat conftest.err >&5
|
---|
| 2670 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2671 | (exit $ac_status); } &&
|
---|
| 2672 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2673 | || test ! -s conftest.err'
|
---|
| 2674 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2675 | (eval $ac_try) 2>&5
|
---|
| 2676 | ac_status=$?
|
---|
| 2677 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2678 | (exit $ac_status); }; } &&
|
---|
| 2679 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 2680 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2681 | (eval $ac_try) 2>&5
|
---|
| 2682 | ac_status=$?
|
---|
| 2683 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2684 | (exit $ac_status); }; }; then
|
---|
| 2685 | break
|
---|
| 2686 | else
|
---|
| 2687 | echo "$as_me: failed program was:" >&5
|
---|
| 2688 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2689 |
|
---|
| 2690 | fi
|
---|
| 2691 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2692 | done
|
---|
| 2693 | rm -f conftest*
|
---|
| 2694 | if test -n "$ac_declaration"; then
|
---|
| 2695 | echo '#ifdef __cplusplus' >>confdefs.h
|
---|
| 2696 | echo $ac_declaration >>confdefs.h
|
---|
| 2697 | echo '#endif' >>confdefs.h
|
---|
| 2698 | fi
|
---|
| 2699 |
|
---|
| 2700 | else
|
---|
| 2701 | echo "$as_me: failed program was:" >&5
|
---|
| 2702 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2703 |
|
---|
| 2704 | fi
|
---|
| 2705 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2706 | ac_ext=c
|
---|
| 2707 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2708 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2709 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2710 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2711 |
|
---|
| 2712 | depcc="$CC" am_compiler_list=
|
---|
| 2713 |
|
---|
| 2714 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
---|
| 2715 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
|
---|
| 2716 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
---|
| 2717 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2718 | else
|
---|
| 2719 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
---|
| 2720 | # We make a subdir and do the tests there. Otherwise we can end up
|
---|
| 2721 | # making bogus files that we don't know about and never remove. For
|
---|
| 2722 | # instance it was reported that on HP-UX the gcc test will end up
|
---|
| 2723 | # making a dummy file named `D' -- because `-MD' means `put the output
|
---|
| 2724 | # in D'.
|
---|
| 2725 | mkdir conftest.dir
|
---|
| 2726 | # Copy depcomp to subdir because otherwise we won't find it if we're
|
---|
| 2727 | # using a relative directory.
|
---|
| 2728 | cp "$am_depcomp" conftest.dir
|
---|
| 2729 | cd conftest.dir
|
---|
| 2730 | # We will build objects and dependencies in a subdirectory because
|
---|
| 2731 | # it helps to detect inapplicable dependency modes. For instance
|
---|
| 2732 | # both Tru64's cc and ICC support -MD to output dependencies as a
|
---|
| 2733 | # side effect of compilation, but ICC will put the dependencies in
|
---|
| 2734 | # the current directory while Tru64 will put them in the object
|
---|
| 2735 | # directory.
|
---|
| 2736 | mkdir sub
|
---|
| 2737 |
|
---|
| 2738 | am_cv_CC_dependencies_compiler_type=none
|
---|
| 2739 | if test "$am_compiler_list" = ""; then
|
---|
| 2740 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
---|
| 2741 | fi
|
---|
| 2742 | for depmode in $am_compiler_list; do
|
---|
| 2743 | # Setup a source with many dependencies, because some compilers
|
---|
| 2744 | # like to wrap large dependency lists on column 80 (with \), and
|
---|
| 2745 | # we should not choose a depcomp mode which is confused by this.
|
---|
| 2746 | #
|
---|
| 2747 | # We need to recreate these files for each test, as the compiler may
|
---|
| 2748 | # overwrite some of them when testing with obscure command lines.
|
---|
| 2749 | # This happens at least with the AIX C compiler.
|
---|
| 2750 | : > sub/conftest.c
|
---|
| 2751 | for i in 1 2 3 4 5 6; do
|
---|
| 2752 | echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
---|
| 2753 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
---|
| 2754 | # Solaris 8's {/usr,}/bin/sh.
|
---|
| 2755 | touch sub/conftst$i.h
|
---|
| 2756 | done
|
---|
| 2757 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
---|
| 2758 |
|
---|
| 2759 | case $depmode in
|
---|
| 2760 | nosideeffect)
|
---|
| 2761 | # after this tag, mechanisms are not by side-effect, so they'll
|
---|
| 2762 | # only be used when explicitly requested
|
---|
| 2763 | if test "x$enable_dependency_tracking" = xyes; then
|
---|
| 2764 | continue
|
---|
| 2765 | else
|
---|
| 2766 | break
|
---|
| 2767 | fi
|
---|
| 2768 | ;;
|
---|
| 2769 | none) break ;;
|
---|
| 2770 | esac
|
---|
| 2771 | # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
---|
| 2772 | # mode. It turns out that the SunPro C++ compiler does not properly
|
---|
| 2773 | # handle `-M -o', and we need to detect this.
|
---|
| 2774 | if depmode=$depmode \
|
---|
| 2775 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
---|
| 2776 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
---|
| 2777 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
---|
| 2778 | >/dev/null 2>conftest.err &&
|
---|
| 2779 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
---|
| 2780 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
---|
| 2781 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
---|
| 2782 | # icc doesn't choke on unknown options, it will just issue warnings
|
---|
| 2783 | # or remarks (even with -Werror). So we grep stderr for any message
|
---|
| 2784 | # that says an option was ignored or not supported.
|
---|
| 2785 | # When given -MP, icc 7.0 and 7.1 complain thusly:
|
---|
| 2786 | # icc: Command line warning: ignoring option '-M'; no argument required
|
---|
| 2787 | # The diagnosis changed in icc 8.0:
|
---|
| 2788 | # icc: Command line remark: option '-MP' not supported
|
---|
| 2789 | if (grep 'ignoring option' conftest.err ||
|
---|
| 2790 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
---|
| 2791 | am_cv_CC_dependencies_compiler_type=$depmode
|
---|
| 2792 | break
|
---|
| 2793 | fi
|
---|
| 2794 | fi
|
---|
| 2795 | done
|
---|
| 2796 |
|
---|
| 2797 | cd ..
|
---|
| 2798 | rm -rf conftest.dir
|
---|
| 2799 | else
|
---|
| 2800 | am_cv_CC_dependencies_compiler_type=none
|
---|
| 2801 | fi
|
---|
| 2802 |
|
---|
| 2803 | fi
|
---|
| 2804 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
---|
| 2805 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
|
---|
| 2806 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
---|
| 2807 |
|
---|
| 2808 |
|
---|
| 2809 |
|
---|
| 2810 | if
|
---|
| 2811 | test "x$enable_dependency_tracking" != xno \
|
---|
| 2812 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
---|
| 2813 | am__fastdepCC_TRUE=
|
---|
| 2814 | am__fastdepCC_FALSE='#'
|
---|
| 2815 | else
|
---|
| 2816 | am__fastdepCC_TRUE='#'
|
---|
| 2817 | am__fastdepCC_FALSE=
|
---|
| 2818 | fi
|
---|
| 2819 |
|
---|
| 2820 |
|
---|
| 2821 |
|
---|
| 2822 |
|
---|
| 2823 | echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
|
---|
| 2824 | echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
|
---|
| 2825 | if test "${ac_cv_lib_crypt_main+set}" = set; then
|
---|
| 2826 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2827 | else
|
---|
| 2828 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 2829 | LIBS="-lcrypt $LIBS"
|
---|
| 2830 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2831 | /* confdefs.h. */
|
---|
| 2832 | _ACEOF
|
---|
| 2833 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2834 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2835 | /* end confdefs.h. */
|
---|
| 2836 |
|
---|
| 2837 |
|
---|
| 2838 | int
|
---|
| 2839 | main ()
|
---|
| 2840 | {
|
---|
| 2841 | main ();
|
---|
| 2842 | ;
|
---|
| 2843 | return 0;
|
---|
| 2844 | }
|
---|
| 2845 | _ACEOF
|
---|
| 2846 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 2847 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
---|
| 2848 | (eval $ac_link) 2>conftest.er1
|
---|
| 2849 | ac_status=$?
|
---|
| 2850 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2851 | rm -f conftest.er1
|
---|
| 2852 | cat conftest.err >&5
|
---|
| 2853 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2854 | (exit $ac_status); } &&
|
---|
| 2855 | { ac_try='test -z "$ac_c_werror_flag"
|
---|
| 2856 | || test ! -s conftest.err'
|
---|
| 2857 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2858 | (eval $ac_try) 2>&5
|
---|
| 2859 | ac_status=$?
|
---|
| 2860 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2861 | (exit $ac_status); }; } &&
|
---|
| 2862 | { ac_try='test -s conftest$ac_exeext'
|
---|
| 2863 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 2864 | (eval $ac_try) 2>&5
|
---|
| 2865 | ac_status=$?
|
---|
| 2866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2867 | (exit $ac_status); }; }; then
|
---|
| 2868 | ac_cv_lib_crypt_main=yes
|
---|
| 2869 | else
|
---|
| 2870 | echo "$as_me: failed program was:" >&5
|
---|
| 2871 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2872 |
|
---|
| 2873 | ac_cv_lib_crypt_main=no
|
---|
| 2874 | fi
|
---|
| 2875 | rm -f conftest.err conftest.$ac_objext \
|
---|
| 2876 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 2877 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 2878 | fi
|
---|
| 2879 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
|
---|
| 2880 | echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
|
---|
| 2881 | if test $ac_cv_lib_crypt_main = yes; then
|
---|
| 2882 | cat >>confdefs.h <<_ACEOF
|
---|
| 2883 | #define HAVE_LIBCRYPT 1
|
---|
| 2884 | _ACEOF
|
---|
| 2885 |
|
---|
| 2886 | LIBS="-lcrypt $LIBS"
|
---|
| 2887 |
|
---|
| 2888 | fi
|
---|
| 2889 | ac_cv_lib_crypt=ac_cv_lib_crypt_main
|
---|
| 2890 |
|
---|
| 2891 |
|
---|
| 2892 | # This package requires C++ compilation and library creation
|
---|
| 2893 | ac_ext=cc
|
---|
| 2894 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 2895 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2896 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2897 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
| 2898 | if test -n "$ac_tool_prefix"; then
|
---|
| 2899 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
|
---|
| 2900 | do
|
---|
| 2901 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2902 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
| 2903 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2904 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 2905 | if test "${ac_cv_prog_CXX+set}" = set; then
|
---|
| 2906 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2907 | else
|
---|
| 2908 | if test -n "$CXX"; then
|
---|
| 2909 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
| 2910 | else
|
---|
| 2911 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2912 | for as_dir in $PATH
|
---|
| 2913 | do
|
---|
| 2914 | IFS=$as_save_IFS
|
---|
| 2915 | test -z "$as_dir" && as_dir=.
|
---|
| 2916 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2917 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 2918 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
| 2919 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2920 | break 2
|
---|
| 2921 | fi
|
---|
| 2922 | done
|
---|
| 2923 | done
|
---|
| 2924 |
|
---|
| 2925 | fi
|
---|
| 2926 | fi
|
---|
| 2927 | CXX=$ac_cv_prog_CXX
|
---|
| 2928 | if test -n "$CXX"; then
|
---|
| 2929 | echo "$as_me:$LINENO: result: $CXX" >&5
|
---|
| 2930 | echo "${ECHO_T}$CXX" >&6
|
---|
| 2931 | else
|
---|
| 2932 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2933 | echo "${ECHO_T}no" >&6
|
---|
| 2934 | fi
|
---|
| 2935 |
|
---|
| 2936 | test -n "$CXX" && break
|
---|
| 2937 | done
|
---|
| 2938 | fi
|
---|
| 2939 | if test -z "$CXX"; then
|
---|
| 2940 | ac_ct_CXX=$CXX
|
---|
| 2941 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
|
---|
| 2942 | do
|
---|
| 2943 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2944 | set dummy $ac_prog; ac_word=$2
|
---|
| 2945 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2946 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 2947 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
---|
| 2948 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2949 | else
|
---|
| 2950 | if test -n "$ac_ct_CXX"; then
|
---|
| 2951 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
| 2952 | else
|
---|
| 2953 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2954 | for as_dir in $PATH
|
---|
| 2955 | do
|
---|
| 2956 | IFS=$as_save_IFS
|
---|
| 2957 | test -z "$as_dir" && as_dir=.
|
---|
| 2958 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2959 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 2960 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
| 2961 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2962 | break 2
|
---|
| 2963 | fi
|
---|
| 2964 | done
|
---|
| 2965 | done
|
---|
| 2966 |
|
---|
| 2967 | fi
|
---|
| 2968 | fi
|
---|
| 2969 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
| 2970 | if test -n "$ac_ct_CXX"; then
|
---|
| 2971 | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
|
---|
| 2972 | echo "${ECHO_T}$ac_ct_CXX" >&6
|
---|
| 2973 | else
|
---|
| 2974 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2975 | echo "${ECHO_T}no" >&6
|
---|
| 2976 | fi
|
---|
| 2977 |
|
---|
| 2978 | test -n "$ac_ct_CXX" && break
|
---|
| 2979 | done
|
---|
| 2980 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
|
---|
| 2981 |
|
---|
| 2982 | CXX=$ac_ct_CXX
|
---|
| 2983 | fi
|
---|
| 2984 |
|
---|
| 2985 |
|
---|
| 2986 | # Provide some information about the compiler.
|
---|
| 2987 | echo "$as_me:$LINENO:" \
|
---|
| 2988 | "checking for C++ compiler version" >&5
|
---|
| 2989 | ac_compiler=`set X $ac_compile; echo $2`
|
---|
| 2990 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
---|
| 2991 | (eval $ac_compiler --version </dev/null >&5) 2>&5
|
---|
| 2992 | ac_status=$?
|
---|
| 2993 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2994 | (exit $ac_status); }
|
---|
| 2995 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
|
---|
| 2996 | (eval $ac_compiler -v </dev/null >&5) 2>&5
|
---|
| 2997 | ac_status=$?
|
---|
| 2998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2999 | (exit $ac_status); }
|
---|
| 3000 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
|
---|
| 3001 | (eval $ac_compiler -V </dev/null >&5) 2>&5
|
---|
| 3002 | ac_status=$?
|
---|
| 3003 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3004 | (exit $ac_status); }
|
---|
| 3005 |
|
---|
[21473] | 3006 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
|
---|
| 3007 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
|
---|
| 3008 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
---|
| 3009 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3010 | else
|
---|
| 3011 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3012 | /* confdefs.h. */
|
---|
| 3013 | _ACEOF
|
---|
| 3014 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3015 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3016 | /* end confdefs.h. */
|
---|
| 3017 |
|
---|
| 3018 | int
|
---|
| 3019 | main ()
|
---|
| 3020 | {
|
---|
| 3021 | #ifndef __GNUC__
|
---|
| 3022 | choke me
|
---|
| 3023 | #endif
|
---|
| 3024 |
|
---|
| 3025 | ;
|
---|
| 3026 | return 0;
|
---|
| 3027 | }
|
---|
| 3028 | _ACEOF
|
---|
| 3029 | rm -f conftest.$ac_objext
|
---|
| 3030 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3031 | (eval $ac_compile) 2>conftest.er1
|
---|
| 3032 | ac_status=$?
|
---|
| 3033 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3034 | rm -f conftest.er1
|
---|
| 3035 | cat conftest.err >&5
|
---|
| 3036 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3037 | (exit $ac_status); } &&
|
---|
| 3038 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 3039 | || test ! -s conftest.err'
|
---|
| 3040 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3041 | (eval $ac_try) 2>&5
|
---|
| 3042 | ac_status=$?
|
---|
| 3043 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3044 | (exit $ac_status); }; } &&
|
---|
| 3045 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3046 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3047 | (eval $ac_try) 2>&5
|
---|
| 3048 | ac_status=$?
|
---|
| 3049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3050 | (exit $ac_status); }; }; then
|
---|
| 3051 | ac_compiler_gnu=yes
|
---|
| 3052 | else
|
---|
| 3053 | echo "$as_me: failed program was:" >&5
|
---|
| 3054 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3055 |
|
---|
| 3056 | ac_compiler_gnu=no
|
---|
| 3057 | fi
|
---|
| 3058 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3059 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
| 3060 |
|
---|
| 3061 | fi
|
---|
| 3062 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
| 3063 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
|
---|
| 3064 | GXX=`test $ac_compiler_gnu = yes && echo yes`
|
---|
| 3065 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
| 3066 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
| 3067 | CXXFLAGS="-g"
|
---|
| 3068 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
|
---|
| 3069 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
|
---|
| 3070 | if test "${ac_cv_prog_cxx_g+set}" = set; then
|
---|
| 3071 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3072 | else
|
---|
| 3073 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3074 | /* confdefs.h. */
|
---|
| 3075 | _ACEOF
|
---|
| 3076 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3077 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3078 | /* end confdefs.h. */
|
---|
| 3079 |
|
---|
| 3080 | int
|
---|
| 3081 | main ()
|
---|
| 3082 | {
|
---|
| 3083 |
|
---|
| 3084 | ;
|
---|
| 3085 | return 0;
|
---|
| 3086 | }
|
---|
| 3087 | _ACEOF
|
---|
| 3088 | rm -f conftest.$ac_objext
|
---|
| 3089 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3090 | (eval $ac_compile) 2>conftest.er1
|
---|
| 3091 | ac_status=$?
|
---|
| 3092 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3093 | rm -f conftest.er1
|
---|
| 3094 | cat conftest.err >&5
|
---|
| 3095 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3096 | (exit $ac_status); } &&
|
---|
| 3097 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 3098 | || test ! -s conftest.err'
|
---|
| 3099 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3100 | (eval $ac_try) 2>&5
|
---|
| 3101 | ac_status=$?
|
---|
| 3102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3103 | (exit $ac_status); }; } &&
|
---|
| 3104 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3105 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3106 | (eval $ac_try) 2>&5
|
---|
| 3107 | ac_status=$?
|
---|
| 3108 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3109 | (exit $ac_status); }; }; then
|
---|
| 3110 | ac_cv_prog_cxx_g=yes
|
---|
| 3111 | else
|
---|
| 3112 | echo "$as_me: failed program was:" >&5
|
---|
| 3113 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3114 |
|
---|
| 3115 | ac_cv_prog_cxx_g=no
|
---|
| 3116 | fi
|
---|
| 3117 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3118 | fi
|
---|
| 3119 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
---|
| 3120 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
|
---|
| 3121 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
| 3122 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 3123 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
| 3124 | if test "$GXX" = yes; then
|
---|
| 3125 | CXXFLAGS="-g -O2"
|
---|
| 3126 | else
|
---|
| 3127 | CXXFLAGS="-g"
|
---|
| 3128 | fi
|
---|
| 3129 | else
|
---|
| 3130 | if test "$GXX" = yes; then
|
---|
| 3131 | CXXFLAGS="-O2"
|
---|
| 3132 | else
|
---|
| 3133 | CXXFLAGS=
|
---|
| 3134 | fi
|
---|
| 3135 | fi
|
---|
| 3136 | for ac_declaration in \
|
---|
| 3137 | '' \
|
---|
| 3138 | 'extern "C" void std::exit (int) throw (); using std::exit;' \
|
---|
| 3139 | 'extern "C" void std::exit (int); using std::exit;' \
|
---|
| 3140 | 'extern "C" void exit (int) throw ();' \
|
---|
| 3141 | 'extern "C" void exit (int);' \
|
---|
| 3142 | 'void exit (int);'
|
---|
| 3143 | do
|
---|
| 3144 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3145 | /* confdefs.h. */
|
---|
| 3146 | _ACEOF
|
---|
| 3147 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3148 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3149 | /* end confdefs.h. */
|
---|
| 3150 | $ac_declaration
|
---|
| 3151 | #include <stdlib.h>
|
---|
| 3152 | int
|
---|
| 3153 | main ()
|
---|
| 3154 | {
|
---|
| 3155 | exit (42);
|
---|
| 3156 | ;
|
---|
| 3157 | return 0;
|
---|
| 3158 | }
|
---|
| 3159 | _ACEOF
|
---|
| 3160 | rm -f conftest.$ac_objext
|
---|
| 3161 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3162 | (eval $ac_compile) 2>conftest.er1
|
---|
| 3163 | ac_status=$?
|
---|
| 3164 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3165 | rm -f conftest.er1
|
---|
| 3166 | cat conftest.err >&5
|
---|
| 3167 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3168 | (exit $ac_status); } &&
|
---|
| 3169 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 3170 | || test ! -s conftest.err'
|
---|
| 3171 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3172 | (eval $ac_try) 2>&5
|
---|
| 3173 | ac_status=$?
|
---|
| 3174 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3175 | (exit $ac_status); }; } &&
|
---|
| 3176 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3177 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3178 | (eval $ac_try) 2>&5
|
---|
| 3179 | ac_status=$?
|
---|
| 3180 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3181 | (exit $ac_status); }; }; then
|
---|
| 3182 | :
|
---|
| 3183 | else
|
---|
| 3184 | echo "$as_me: failed program was:" >&5
|
---|
| 3185 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3186 |
|
---|
| 3187 | continue
|
---|
| 3188 | fi
|
---|
| 3189 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3190 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3191 | /* confdefs.h. */
|
---|
| 3192 | _ACEOF
|
---|
| 3193 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3194 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3195 | /* end confdefs.h. */
|
---|
| 3196 | $ac_declaration
|
---|
| 3197 | int
|
---|
| 3198 | main ()
|
---|
| 3199 | {
|
---|
| 3200 | exit (42);
|
---|
| 3201 | ;
|
---|
| 3202 | return 0;
|
---|
| 3203 | }
|
---|
| 3204 | _ACEOF
|
---|
| 3205 | rm -f conftest.$ac_objext
|
---|
| 3206 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
---|
| 3207 | (eval $ac_compile) 2>conftest.er1
|
---|
| 3208 | ac_status=$?
|
---|
| 3209 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3210 | rm -f conftest.er1
|
---|
| 3211 | cat conftest.err >&5
|
---|
| 3212 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3213 | (exit $ac_status); } &&
|
---|
| 3214 | { ac_try='test -z "$ac_cxx_werror_flag"
|
---|
| 3215 | || test ! -s conftest.err'
|
---|
| 3216 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3217 | (eval $ac_try) 2>&5
|
---|
| 3218 | ac_status=$?
|
---|
| 3219 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3220 | (exit $ac_status); }; } &&
|
---|
| 3221 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 3222 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
| 3223 | (eval $ac_try) 2>&5
|
---|
| 3224 | ac_status=$?
|
---|
| 3225 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3226 | (exit $ac_status); }; }; then
|
---|
| 3227 | break
|
---|
| 3228 | else
|
---|
| 3229 | echo "$as_me: failed program was:" >&5
|
---|
| 3230 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3231 |
|
---|
| 3232 | fi
|
---|
| 3233 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3234 | done
|
---|
| 3235 | rm -f conftest*
|
---|
| 3236 | if test -n "$ac_declaration"; then
|
---|
| 3237 | echo '#ifdef __cplusplus' >>confdefs.h
|
---|
| 3238 | echo $ac_declaration >>confdefs.h
|
---|
| 3239 | echo '#endif' >>confdefs.h
|
---|
| 3240 | fi
|
---|
| 3241 |
|
---|
| 3242 | ac_ext=c
|
---|
| 3243 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3244 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3245 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3246 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3247 |
|
---|
| 3248 | depcc="$CXX" am_compiler_list=
|
---|
| 3249 |
|
---|
| 3250 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
---|
| 3251 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
|
---|
| 3252 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
|
---|
| 3253 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3254 | else
|
---|
| 3255 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
---|
| 3256 | # We make a subdir and do the tests there. Otherwise we can end up
|
---|
| 3257 | # making bogus files that we don't know about and never remove. For
|
---|
| 3258 | # instance it was reported that on HP-UX the gcc test will end up
|
---|
| 3259 | # making a dummy file named `D' -- because `-MD' means `put the output
|
---|
| 3260 | # in D'.
|
---|
| 3261 | mkdir conftest.dir
|
---|
| 3262 | # Copy depcomp to subdir because otherwise we won't find it if we're
|
---|
| 3263 | # using a relative directory.
|
---|
| 3264 | cp "$am_depcomp" conftest.dir
|
---|
| 3265 | cd conftest.dir
|
---|
| 3266 | # We will build objects and dependencies in a subdirectory because
|
---|
| 3267 | # it helps to detect inapplicable dependency modes. For instance
|
---|
| 3268 | # both Tru64's cc and ICC support -MD to output dependencies as a
|
---|
| 3269 | # side effect of compilation, but ICC will put the dependencies in
|
---|
| 3270 | # the current directory while Tru64 will put them in the object
|
---|
| 3271 | # directory.
|
---|
| 3272 | mkdir sub
|
---|
| 3273 |
|
---|
| 3274 | am_cv_CXX_dependencies_compiler_type=none
|
---|
| 3275 | if test "$am_compiler_list" = ""; then
|
---|
| 3276 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
---|
| 3277 | fi
|
---|
| 3278 | for depmode in $am_compiler_list; do
|
---|
| 3279 | # Setup a source with many dependencies, because some compilers
|
---|
| 3280 | # like to wrap large dependency lists on column 80 (with \), and
|
---|
| 3281 | # we should not choose a depcomp mode which is confused by this.
|
---|
| 3282 | #
|
---|
| 3283 | # We need to recreate these files for each test, as the compiler may
|
---|
| 3284 | # overwrite some of them when testing with obscure command lines.
|
---|
| 3285 | # This happens at least with the AIX C compiler.
|
---|
| 3286 | : > sub/conftest.c
|
---|
| 3287 | for i in 1 2 3 4 5 6; do
|
---|
| 3288 | echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
---|
| 3289 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
---|
| 3290 | # Solaris 8's {/usr,}/bin/sh.
|
---|
| 3291 | touch sub/conftst$i.h
|
---|
| 3292 | done
|
---|
| 3293 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
---|
| 3294 |
|
---|
| 3295 | case $depmode in
|
---|
| 3296 | nosideeffect)
|
---|
| 3297 | # after this tag, mechanisms are not by side-effect, so they'll
|
---|
| 3298 | # only be used when explicitly requested
|
---|
| 3299 | if test "x$enable_dependency_tracking" = xyes; then
|
---|
| 3300 | continue
|
---|
| 3301 | else
|
---|
| 3302 | break
|
---|
| 3303 | fi
|
---|
| 3304 | ;;
|
---|
| 3305 | none) break ;;
|
---|
| 3306 | esac
|
---|
| 3307 | # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
---|
| 3308 | # mode. It turns out that the SunPro C++ compiler does not properly
|
---|
| 3309 | # handle `-M -o', and we need to detect this.
|
---|
| 3310 | if depmode=$depmode \
|
---|
| 3311 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
---|
| 3312 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
---|
| 3313 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
---|
| 3314 | >/dev/null 2>conftest.err &&
|
---|
| 3315 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
---|
| 3316 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
---|
| 3317 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
---|
| 3318 | # icc doesn't choke on unknown options, it will just issue warnings
|
---|
| 3319 | # or remarks (even with -Werror). So we grep stderr for any message
|
---|
| 3320 | # that says an option was ignored or not supported.
|
---|
| 3321 | # When given -MP, icc 7.0 and 7.1 complain thusly:
|
---|
| 3322 | # icc: Command line warning: ignoring option '-M'; no argument required
|
---|
| 3323 | # The diagnosis changed in icc 8.0:
|
---|
| 3324 | # icc: Command line remark: option '-MP' not supported
|
---|
| 3325 | if (grep 'ignoring option' conftest.err ||
|
---|
| 3326 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
---|
| 3327 | am_cv_CXX_dependencies_compiler_type=$depmode
|
---|
| 3328 | break
|
---|
| 3329 | fi
|
---|
| 3330 | fi
|
---|
| 3331 | done
|
---|
| 3332 |
|
---|
| 3333 | cd ..
|
---|
| 3334 | rm -rf conftest.dir
|
---|
| 3335 | else
|
---|
| 3336 | am_cv_CXX_dependencies_compiler_type=none
|
---|
| 3337 | fi
|
---|
| 3338 |
|
---|
| 3339 | fi
|
---|
| 3340 | echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
---|
| 3341 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
|
---|
| 3342 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
---|
| 3343 |
|
---|
| 3344 |
|
---|
| 3345 |
|
---|
| 3346 | if
|
---|
| 3347 | test "x$enable_dependency_tracking" != xno \
|
---|
| 3348 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
|
---|
| 3349 | am__fastdepCXX_TRUE=
|
---|
| 3350 | am__fastdepCXX_FALSE='#'
|
---|
| 3351 | else
|
---|
| 3352 | am__fastdepCXX_TRUE='#'
|
---|
| 3353 | am__fastdepCXX_FALSE=
|
---|
| 3354 | fi
|
---|
| 3355 |
|
---|
| 3356 |
|
---|
| 3357 | # Find a good install program. We prefer a C program (faster),
|
---|
| 3358 | # so one script is as good as another. But avoid the broken or
|
---|
| 3359 | # incompatible versions:
|
---|
| 3360 | # SysV /etc/install, /usr/sbin/install
|
---|
| 3361 | # SunOS /usr/etc/install
|
---|
| 3362 | # IRIX /sbin/install
|
---|
| 3363 | # AIX /bin/install
|
---|
| 3364 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
| 3365 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 3366 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 3367 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
| 3368 | # OS/2's system install, which has a completely different semantic
|
---|
| 3369 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
| 3370 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
---|
| 3371 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
---|
| 3372 | if test -z "$INSTALL"; then
|
---|
| 3373 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 3374 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3375 | else
|
---|
| 3376 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3377 | for as_dir in $PATH
|
---|
| 3378 | do
|
---|
| 3379 | IFS=$as_save_IFS
|
---|
| 3380 | test -z "$as_dir" && as_dir=.
|
---|
| 3381 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 3382 | case $as_dir/ in
|
---|
| 3383 | ./ | .// | /cC/* | \
|
---|
| 3384 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
| 3385 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
---|
| 3386 | /usr/ucb/* ) ;;
|
---|
| 3387 | *)
|
---|
| 3388 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 3389 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 3390 | # by default.
|
---|
| 3391 | for ac_prog in ginstall scoinst install; do
|
---|
| 3392 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3393 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
---|
| 3394 | if test $ac_prog = install &&
|
---|
| 3395 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 3396 | # AIX install. It has an incompatible calling convention.
|
---|
| 3397 | :
|
---|
| 3398 | elif test $ac_prog = install &&
|
---|
| 3399 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 3400 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 3401 | :
|
---|
| 3402 | else
|
---|
| 3403 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
| 3404 | break 3
|
---|
| 3405 | fi
|
---|
| 3406 | fi
|
---|
| 3407 | done
|
---|
| 3408 | done
|
---|
| 3409 | ;;
|
---|
| 3410 | esac
|
---|
| 3411 | done
|
---|
| 3412 |
|
---|
| 3413 |
|
---|
| 3414 | fi
|
---|
| 3415 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 3416 | INSTALL=$ac_cv_path_install
|
---|
| 3417 | else
|
---|
| 3418 | # As a last resort, use the slow shell script. We don't cache a
|
---|
| 3419 | # path for INSTALL within a source directory, because that will
|
---|
| 3420 | # break other packages using the cache if that directory is
|
---|
| 3421 | # removed, or if the path is relative.
|
---|
| 3422 | INSTALL=$ac_install_sh
|
---|
| 3423 | fi
|
---|
| 3424 | fi
|
---|
| 3425 | echo "$as_me:$LINENO: result: $INSTALL" >&5
|
---|
| 3426 | echo "${ECHO_T}$INSTALL" >&6
|
---|
| 3427 |
|
---|
| 3428 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 3429 | # It thinks the first close brace ends the variable substitution.
|
---|
| 3430 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 3431 |
|
---|
| 3432 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
| 3433 |
|
---|
| 3434 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 3435 |
|
---|
| 3436 | if test -n "$ac_tool_prefix"; then
|
---|
| 3437 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
---|
| 3438 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
---|
| 3439 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 3440 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 3441 | if test "${ac_cv_prog_RANLIB+set}" = set; then
|
---|
| 3442 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3443 | else
|
---|
| 3444 | if test -n "$RANLIB"; then
|
---|
| 3445 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
---|
| 3446 | else
|
---|
| 3447 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3448 | for as_dir in $PATH
|
---|
| 3449 | do
|
---|
| 3450 | IFS=$as_save_IFS
|
---|
| 3451 | test -z "$as_dir" && as_dir=.
|
---|
| 3452 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3453 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 3454 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
---|
| 3455 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3456 | break 2
|
---|
| 3457 | fi
|
---|
| 3458 | done
|
---|
| 3459 | done
|
---|
| 3460 |
|
---|
| 3461 | fi
|
---|
| 3462 | fi
|
---|
| 3463 | RANLIB=$ac_cv_prog_RANLIB
|
---|
| 3464 | if test -n "$RANLIB"; then
|
---|
| 3465 | echo "$as_me:$LINENO: result: $RANLIB" >&5
|
---|
| 3466 | echo "${ECHO_T}$RANLIB" >&6
|
---|
| 3467 | else
|
---|
| 3468 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3469 | echo "${ECHO_T}no" >&6
|
---|
| 3470 | fi
|
---|
| 3471 |
|
---|
| 3472 | fi
|
---|
| 3473 | if test -z "$ac_cv_prog_RANLIB"; then
|
---|
| 3474 | ac_ct_RANLIB=$RANLIB
|
---|
| 3475 | # Extract the first word of "ranlib", so it can be a program name with args.
|
---|
| 3476 | set dummy ranlib; ac_word=$2
|
---|
| 3477 | echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 3478 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 3479 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
---|
| 3480 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3481 | else
|
---|
| 3482 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 3483 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
---|
| 3484 | else
|
---|
| 3485 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3486 | for as_dir in $PATH
|
---|
| 3487 | do
|
---|
| 3488 | IFS=$as_save_IFS
|
---|
| 3489 | test -z "$as_dir" && as_dir=.
|
---|
| 3490 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3491 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
---|
| 3492 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
---|
| 3493 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3494 | break 2
|
---|
| 3495 | fi
|
---|
| 3496 | done
|
---|
| 3497 | done
|
---|
| 3498 |
|
---|
| 3499 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
|
---|
| 3500 | fi
|
---|
| 3501 | fi
|
---|
| 3502 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
---|
| 3503 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 3504 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
---|
| 3505 | echo "${ECHO_T}$ac_ct_RANLIB" >&6
|
---|
| 3506 | else
|
---|
| 3507 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3508 | echo "${ECHO_T}no" >&6
|
---|
| 3509 | fi
|
---|
| 3510 |
|
---|
| 3511 | RANLIB=$ac_ct_RANLIB
|
---|
| 3512 | else
|
---|
| 3513 | RANLIB="$ac_cv_prog_RANLIB"
|
---|
| 3514 | fi
|
---|
| 3515 |
|
---|
| 3516 |
|
---|
| 3517 | # Check for 64-bit machines
|
---|
| 3518 | # Make sure we can run config.sub.
|
---|
| 3519 | $ac_config_sub sun4 >/dev/null 2>&1 ||
|
---|
| 3520 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
|
---|
| 3521 | echo "$as_me: error: cannot run $ac_config_sub" >&2;}
|
---|
| 3522 | { (exit 1); exit 1; }; }
|
---|
| 3523 |
|
---|
| 3524 | echo "$as_me:$LINENO: checking build system type" >&5
|
---|
| 3525 | echo $ECHO_N "checking build system type... $ECHO_C" >&6
|
---|
| 3526 | if test "${ac_cv_build+set}" = set; then
|
---|
| 3527 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3528 | else
|
---|
| 3529 | ac_cv_build_alias=$build_alias
|
---|
| 3530 | test -z "$ac_cv_build_alias" &&
|
---|
| 3531 | ac_cv_build_alias=`$ac_config_guess`
|
---|
| 3532 | test -z "$ac_cv_build_alias" &&
|
---|
| 3533 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
---|
| 3534 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
---|
| 3535 | { (exit 1); exit 1; }; }
|
---|
| 3536 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
|
---|
| 3537 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
|
---|
| 3538 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
|
---|
| 3539 | { (exit 1); exit 1; }; }
|
---|
| 3540 |
|
---|
| 3541 | fi
|
---|
| 3542 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
---|
| 3543 | echo "${ECHO_T}$ac_cv_build" >&6
|
---|
| 3544 | build=$ac_cv_build
|
---|
| 3545 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
---|
| 3546 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
---|
| 3547 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
---|
| 3548 |
|
---|
| 3549 |
|
---|
| 3550 | echo "$as_me:$LINENO: checking host system type" >&5
|
---|
| 3551 | echo $ECHO_N "checking host system type... $ECHO_C" >&6
|
---|
| 3552 | if test "${ac_cv_host+set}" = set; then
|
---|
| 3553 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3554 | else
|
---|
| 3555 | ac_cv_host_alias=$host_alias
|
---|
| 3556 | test -z "$ac_cv_host_alias" &&
|
---|
| 3557 | ac_cv_host_alias=$ac_cv_build_alias
|
---|
| 3558 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
|
---|
| 3559 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
|
---|
| 3560 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
|
---|
| 3561 | { (exit 1); exit 1; }; }
|
---|
| 3562 |
|
---|
| 3563 | fi
|
---|
| 3564 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
---|
| 3565 | echo "${ECHO_T}$ac_cv_host" >&6
|
---|
| 3566 | host=$ac_cv_host
|
---|
| 3567 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
---|
| 3568 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
---|
| 3569 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
---|
| 3570 |
|
---|
| 3571 |
|
---|
| 3572 | echo "$as_me:$LINENO: checking if architecture is 64-bit" >&5
|
---|
| 3573 | echo $ECHO_N "checking if architecture is 64-bit... $ECHO_C" >&6
|
---|
| 3574 | arch_64bit=no
|
---|
| 3575 | case "$host_cpu" in
|
---|
| 3576 | x86_64) arch_64bit=yes ;;
|
---|
| 3577 | esac
|
---|
| 3578 | if test "$arch_64bit" = yes; then
|
---|
| 3579 | echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 3580 | echo "${ECHO_T}yes" >&6
|
---|
| 3581 | if test -z "$COMPAT32BITFLAGS" ; then
|
---|
| 3582 | COMPAT32BITFLAGS="-m32"
|
---|
| 3583 | fi
|
---|
| 3584 | else
|
---|
| 3585 | echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3586 | echo "${ECHO_T}no" >&6
|
---|
| 3587 | fi
|
---|
| 3588 |
|
---|
| 3589 |
|
---|
| 3590 | # Option: SQLite support
|
---|
| 3591 | # Check whether --enable-sqlite or --disable-sqlite was given.
|
---|
| 3592 | if test "${enable_sqlite+set}" = set; then
|
---|
| 3593 | enableval="$enable_sqlite"
|
---|
[21474] | 3594 | USE_SQLITE=1 &&
|
---|
| 3595 | cat >>confdefs.h <<\_ACEOF
|
---|
| 3596 | #define USE_SQLITE 1
|
---|
| 3597 | _ACEOF
|
---|
| 3598 |
|
---|
[21473] | 3599 | else
|
---|
| 3600 | USE_SQLITE=0
|
---|
| 3601 | fi;
|
---|
| 3602 |
|
---|
| 3603 |
|
---|
| 3604 | if test "$USE_SQLITE" = 1; then
|
---|
| 3605 | USE_SQLITE_TRUE=
|
---|
| 3606 | USE_SQLITE_FALSE='#'
|
---|
| 3607 | else
|
---|
| 3608 | USE_SQLITE_TRUE='#'
|
---|
| 3609 | USE_SQLITE_FALSE=
|
---|
| 3610 | fi
|
---|
| 3611 |
|
---|
| 3612 |
|
---|
| 3613 | # Generate the Makefiles for this package
|
---|
[21482] | 3614 | ac_config_files="$ac_config_files Makefile src/colservr/Makefile src/protocol/Makefile src/recpt/Makefile"
|
---|
[21473] | 3615 | cat >confcache <<\_ACEOF
|
---|
| 3616 | # This file is a shell script that caches the results of configure
|
---|
| 3617 | # tests run on this system so they can be shared between configure
|
---|
| 3618 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 3619 | # It is not useful on other systems. If it contains results you don't
|
---|
| 3620 | # want to keep, you may remove or edit it.
|
---|
| 3621 | #
|
---|
| 3622 | # config.status only pays attention to the cache file if you give it
|
---|
| 3623 | # the --recheck option to rerun configure.
|
---|
| 3624 | #
|
---|
| 3625 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
| 3626 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 3627 | # following values.
|
---|
| 3628 |
|
---|
| 3629 | _ACEOF
|
---|
| 3630 |
|
---|
| 3631 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 3632 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
| 3633 | # So, don't put newlines in cache variables' values.
|
---|
| 3634 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 3635 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
| 3636 | {
|
---|
| 3637 | (set) 2>&1 |
|
---|
| 3638 | case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
---|
| 3639 | *ac_space=\ *)
|
---|
| 3640 | # `set' does not quote correctly, so add quotes (double-quote
|
---|
| 3641 | # substitution turns \\\\ into \\, and sed turns \\ into \).
|
---|
| 3642 | sed -n \
|
---|
| 3643 | "s/'/'\\\\''/g;
|
---|
| 3644 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
| 3645 | ;;
|
---|
| 3646 | *)
|
---|
| 3647 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
| 3648 | sed -n \
|
---|
| 3649 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
---|
| 3650 | ;;
|
---|
| 3651 | esac;
|
---|
| 3652 | } |
|
---|
| 3653 | sed '
|
---|
| 3654 | t clear
|
---|
| 3655 | : clear
|
---|
| 3656 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 3657 | t end
|
---|
| 3658 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 3659 | : end' >>confcache
|
---|
| 3660 | if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
---|
| 3661 | if test -w $cache_file; then
|
---|
| 3662 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
---|
| 3663 | cat confcache >$cache_file
|
---|
| 3664 | else
|
---|
| 3665 | echo "not updating unwritable cache $cache_file"
|
---|
| 3666 | fi
|
---|
| 3667 | fi
|
---|
| 3668 | rm -f confcache
|
---|
| 3669 |
|
---|
| 3670 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 3671 | # Let make expand exec_prefix.
|
---|
| 3672 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 3673 |
|
---|
| 3674 | # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
---|
| 3675 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
---|
| 3676 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 3677 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 3678 | if test "x$srcdir" = x.; then
|
---|
| 3679 | ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
---|
| 3680 | s/:*\$(srcdir):*/:/;
|
---|
| 3681 | s/:*\${srcdir}:*/:/;
|
---|
| 3682 | s/:*@srcdir@:*/:/;
|
---|
| 3683 | s/^\([^=]*=[ ]*\):*/\1/;
|
---|
| 3684 | s/:*$//;
|
---|
| 3685 | s/^[^=]*=[ ]*$//;
|
---|
| 3686 | }'
|
---|
| 3687 | fi
|
---|
| 3688 |
|
---|
| 3689 | DEFS=-DHAVE_CONFIG_H
|
---|
| 3690 |
|
---|
| 3691 | ac_libobjs=
|
---|
| 3692 | ac_ltlibobjs=
|
---|
| 3693 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
| 3694 | # 1. Remove the extension, and $U if already installed.
|
---|
| 3695 | ac_i=`echo "$ac_i" |
|
---|
| 3696 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
---|
| 3697 | # 2. Add them.
|
---|
| 3698 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
---|
| 3699 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
---|
| 3700 | done
|
---|
| 3701 | LIBOBJS=$ac_libobjs
|
---|
| 3702 |
|
---|
| 3703 | LTLIBOBJS=$ac_ltlibobjs
|
---|
| 3704 |
|
---|
| 3705 |
|
---|
| 3706 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
---|
| 3707 | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
---|
| 3708 | Usually this means the macro was only invoked conditionally." >&5
|
---|
| 3709 | echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
---|
| 3710 | Usually this means the macro was only invoked conditionally." >&2;}
|
---|
| 3711 | { (exit 1); exit 1; }; }
|
---|
| 3712 | fi
|
---|
[21494] | 3713 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
---|
| 3714 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
---|
| 3715 | Usually this means the macro was only invoked conditionally." >&5
|
---|
| 3716 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
---|
| 3717 | Usually this means the macro was only invoked conditionally." >&2;}
|
---|
| 3718 | { (exit 1); exit 1; }; }
|
---|
| 3719 | fi
|
---|
[21473] | 3720 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
|
---|
| 3721 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
|
---|
| 3722 | Usually this means the macro was only invoked conditionally." >&5
|
---|
| 3723 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
|
---|
| 3724 | Usually this means the macro was only invoked conditionally." >&2;}
|
---|
| 3725 | { (exit 1); exit 1; }; }
|
---|
| 3726 | fi
|
---|
| 3727 | if test -z "${USE_SQLITE_TRUE}" && test -z "${USE_SQLITE_FALSE}"; then
|
---|
| 3728 | { { echo "$as_me:$LINENO: error: conditional \"USE_SQLITE\" was never defined.
|
---|
| 3729 | Usually this means the macro was only invoked conditionally." >&5
|
---|
| 3730 | echo "$as_me: error: conditional \"USE_SQLITE\" was never defined.
|
---|
| 3731 | Usually this means the macro was only invoked conditionally." >&2;}
|
---|
| 3732 | { (exit 1); exit 1; }; }
|
---|
| 3733 | fi
|
---|
| 3734 |
|
---|
| 3735 | : ${CONFIG_STATUS=./config.status}
|
---|
| 3736 | ac_clean_files_save=$ac_clean_files
|
---|
| 3737 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
| 3738 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
---|
| 3739 | echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
| 3740 | cat >$CONFIG_STATUS <<_ACEOF
|
---|
| 3741 | #! $SHELL
|
---|
| 3742 | # Generated by $as_me.
|
---|
| 3743 | # Run this file to recreate the current configuration.
|
---|
| 3744 | # Compiler output produced by configure, useful for debugging
|
---|
| 3745 | # configure, is in config.log if it exists.
|
---|
| 3746 |
|
---|
| 3747 | debug=false
|
---|
| 3748 | ac_cs_recheck=false
|
---|
| 3749 | ac_cs_silent=false
|
---|
| 3750 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
| 3751 | _ACEOF
|
---|
| 3752 |
|
---|
| 3753 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 3754 | ## --------------------- ##
|
---|
| 3755 | ## M4sh Initialization. ##
|
---|
| 3756 | ## --------------------- ##
|
---|
| 3757 |
|
---|
| 3758 | # Be Bourne compatible
|
---|
| 3759 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 3760 | emulate sh
|
---|
| 3761 | NULLCMD=:
|
---|
| 3762 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
| 3763 | # is contrary to our usage. Disable this feature.
|
---|
| 3764 | alias -g '${1+"$@"}'='"$@"'
|
---|
| 3765 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
---|
| 3766 | set -o posix
|
---|
| 3767 | fi
|
---|
| 3768 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
| 3769 |
|
---|
| 3770 | # Support unset when possible.
|
---|
| 3771 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
| 3772 | as_unset=unset
|
---|
| 3773 | else
|
---|
| 3774 | as_unset=false
|
---|
| 3775 | fi
|
---|
| 3776 |
|
---|
| 3777 |
|
---|
| 3778 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
| 3779 | $as_unset ENV MAIL MAILPATH
|
---|
| 3780 | PS1='$ '
|
---|
| 3781 | PS2='> '
|
---|
| 3782 | PS4='+ '
|
---|
| 3783 |
|
---|
| 3784 | # NLS nuisances.
|
---|
| 3785 | for as_var in \
|
---|
| 3786 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
---|
| 3787 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
---|
| 3788 | LC_TELEPHONE LC_TIME
|
---|
| 3789 | do
|
---|
| 3790 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
---|
| 3791 | eval $as_var=C; export $as_var
|
---|
| 3792 | else
|
---|
| 3793 | $as_unset $as_var
|
---|
| 3794 | fi
|
---|
| 3795 | done
|
---|
| 3796 |
|
---|
| 3797 | # Required to use basename.
|
---|
| 3798 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
| 3799 | as_expr=expr
|
---|
| 3800 | else
|
---|
| 3801 | as_expr=false
|
---|
| 3802 | fi
|
---|
| 3803 |
|
---|
| 3804 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
---|
| 3805 | as_basename=basename
|
---|
| 3806 | else
|
---|
| 3807 | as_basename=false
|
---|
| 3808 | fi
|
---|
| 3809 |
|
---|
| 3810 |
|
---|
| 3811 | # Name of the executable.
|
---|
| 3812 | as_me=`$as_basename "$0" ||
|
---|
| 3813 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 3814 | X"$0" : 'X\(//\)$' \| \
|
---|
| 3815 | X"$0" : 'X\(/\)$' \| \
|
---|
| 3816 | . : '\(.\)' 2>/dev/null ||
|
---|
| 3817 | echo X/"$0" |
|
---|
| 3818 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
---|
| 3819 | /^X\/\(\/\/\)$/{ s//\1/; q; }
|
---|
| 3820 | /^X\/\(\/\).*/{ s//\1/; q; }
|
---|
| 3821 | s/.*/./; q'`
|
---|
| 3822 |
|
---|
| 3823 |
|
---|
| 3824 | # PATH needs CR, and LINENO needs CR and PATH.
|
---|
| 3825 | # Avoid depending upon Character Ranges.
|
---|
| 3826 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 3827 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 3828 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 3829 | as_cr_digits='0123456789'
|
---|
| 3830 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
| 3831 |
|
---|
| 3832 | # The user is always right.
|
---|
| 3833 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 3834 | echo "#! /bin/sh" >conf$$.sh
|
---|
| 3835 | echo "exit 0" >>conf$$.sh
|
---|
| 3836 | chmod +x conf$$.sh
|
---|
| 3837 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
---|
| 3838 | PATH_SEPARATOR=';'
|
---|
| 3839 | else
|
---|
| 3840 | PATH_SEPARATOR=:
|
---|
| 3841 | fi
|
---|
| 3842 | rm -f conf$$.sh
|
---|
| 3843 | fi
|
---|
| 3844 |
|
---|
| 3845 |
|
---|
| 3846 | as_lineno_1=$LINENO
|
---|
| 3847 | as_lineno_2=$LINENO
|
---|
| 3848 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
| 3849 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
| 3850 | test "x$as_lineno_3" = "x$as_lineno_2" || {
|
---|
| 3851 | # Find who we are. Look in the path if we contain no path at all
|
---|
| 3852 | # relative or not.
|
---|
| 3853 | case $0 in
|
---|
| 3854 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 3855 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3856 | for as_dir in $PATH
|
---|
| 3857 | do
|
---|
| 3858 | IFS=$as_save_IFS
|
---|
| 3859 | test -z "$as_dir" && as_dir=.
|
---|
| 3860 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 3861 | done
|
---|
| 3862 |
|
---|
| 3863 | ;;
|
---|
| 3864 | esac
|
---|
| 3865 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 3866 | # in which case we are not to be found in the path.
|
---|
| 3867 | if test "x$as_myself" = x; then
|
---|
| 3868 | as_myself=$0
|
---|
| 3869 | fi
|
---|
| 3870 | if test ! -f "$as_myself"; then
|
---|
| 3871 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
---|
| 3872 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
---|
| 3873 | { (exit 1); exit 1; }; }
|
---|
| 3874 | fi
|
---|
| 3875 | case $CONFIG_SHELL in
|
---|
| 3876 | '')
|
---|
| 3877 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3878 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
| 3879 | do
|
---|
| 3880 | IFS=$as_save_IFS
|
---|
| 3881 | test -z "$as_dir" && as_dir=.
|
---|
| 3882 | for as_base in sh bash ksh sh5; do
|
---|
| 3883 | case $as_dir in
|
---|
| 3884 | /*)
|
---|
| 3885 | if ("$as_dir/$as_base" -c '
|
---|
| 3886 | as_lineno_1=$LINENO
|
---|
| 3887 | as_lineno_2=$LINENO
|
---|
| 3888 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
---|
| 3889 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
| 3890 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
---|
| 3891 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
---|
| 3892 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
---|
| 3893 | CONFIG_SHELL=$as_dir/$as_base
|
---|
| 3894 | export CONFIG_SHELL
|
---|
| 3895 | exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
---|
| 3896 | fi;;
|
---|
| 3897 | esac
|
---|
| 3898 | done
|
---|
| 3899 | done
|
---|
| 3900 | ;;
|
---|
| 3901 | esac
|
---|
| 3902 |
|
---|
| 3903 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
| 3904 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
| 3905 | # line-number line before each line; the second 'sed' does the real
|
---|
| 3906 | # work. The second script uses 'N' to pair each line-number line
|
---|
| 3907 | # with the numbered line, and appends trailing '-' during
|
---|
| 3908 | # substitution so that $LINENO is not a special case at line end.
|
---|
| 3909 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
| 3910 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
---|
| 3911 | sed '=' <$as_myself |
|
---|
| 3912 | sed '
|
---|
| 3913 | N
|
---|
| 3914 | s,$,-,
|
---|
| 3915 | : loop
|
---|
| 3916 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
---|
| 3917 | t loop
|
---|
| 3918 | s,-$,,
|
---|
| 3919 | s,^['$as_cr_digits']*\n,,
|
---|
| 3920 | ' >$as_me.lineno &&
|
---|
| 3921 | chmod +x $as_me.lineno ||
|
---|
| 3922 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
---|
| 3923 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
---|
| 3924 | { (exit 1); exit 1; }; }
|
---|
| 3925 |
|
---|
| 3926 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 3927 | # (the dirname of $[0] is not the place where we might find the
|
---|
| 3928 | # original and so on. Autoconf is especially sensible to this).
|
---|
| 3929 | . ./$as_me.lineno
|
---|
| 3930 | # Exit status is that of the last command.
|
---|
| 3931 | exit
|
---|
| 3932 | }
|
---|
| 3933 |
|
---|
| 3934 |
|
---|
| 3935 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
---|
| 3936 | *c*,-n*) ECHO_N= ECHO_C='
|
---|
| 3937 | ' ECHO_T=' ' ;;
|
---|
| 3938 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
---|
| 3939 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
---|
| 3940 | esac
|
---|
| 3941 |
|
---|
| 3942 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
| 3943 | as_expr=expr
|
---|
| 3944 | else
|
---|
| 3945 | as_expr=false
|
---|
| 3946 | fi
|
---|
| 3947 |
|
---|
| 3948 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 3949 | echo >conf$$.file
|
---|
| 3950 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 3951 | # We could just check for DJGPP; but this test a) works b) is more generic
|
---|
| 3952 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
---|
| 3953 | if test -f conf$$.exe; then
|
---|
| 3954 | # Don't use ln at all; we don't have any links
|
---|
| 3955 | as_ln_s='cp -p'
|
---|
| 3956 | else
|
---|
| 3957 | as_ln_s='ln -s'
|
---|
| 3958 | fi
|
---|
| 3959 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 3960 | as_ln_s=ln
|
---|
| 3961 | else
|
---|
| 3962 | as_ln_s='cp -p'
|
---|
| 3963 | fi
|
---|
| 3964 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 3965 |
|
---|
| 3966 | if mkdir -p . 2>/dev/null; then
|
---|
| 3967 | as_mkdir_p=:
|
---|
| 3968 | else
|
---|
| 3969 | test -d ./-p && rmdir ./-p
|
---|
| 3970 | as_mkdir_p=false
|
---|
| 3971 | fi
|
---|
| 3972 |
|
---|
| 3973 | as_executable_p="test -f"
|
---|
| 3974 |
|
---|
| 3975 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 3976 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 3977 |
|
---|
| 3978 | # Sed expression to map a string onto a valid variable name.
|
---|
| 3979 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 3980 |
|
---|
| 3981 |
|
---|
| 3982 | # IFS
|
---|
| 3983 | # We need space, tab and new line, in precisely that order.
|
---|
| 3984 | as_nl='
|
---|
| 3985 | '
|
---|
| 3986 | IFS=" $as_nl"
|
---|
| 3987 |
|
---|
| 3988 | # CDPATH.
|
---|
| 3989 | $as_unset CDPATH
|
---|
| 3990 |
|
---|
| 3991 | exec 6>&1
|
---|
| 3992 |
|
---|
| 3993 | # Open the log real soon, to keep \$[0] and so on meaningful, and to
|
---|
| 3994 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
| 3995 | # values after options handling. Logging --version etc. is OK.
|
---|
| 3996 | exec 5>>config.log
|
---|
| 3997 | {
|
---|
| 3998 | echo
|
---|
| 3999 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
| 4000 | ## Running $as_me. ##
|
---|
| 4001 | _ASBOX
|
---|
| 4002 | } >&5
|
---|
| 4003 | cat >&5 <<_CSEOF
|
---|
| 4004 |
|
---|
| 4005 | This file was extended by greenstone2-runtime-src $as_me 2.84, which was
|
---|
| 4006 | generated by GNU Autoconf 2.59. Invocation command line was
|
---|
| 4007 |
|
---|
| 4008 | CONFIG_FILES = $CONFIG_FILES
|
---|
| 4009 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
| 4010 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
| 4011 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
| 4012 | $ $0 $@
|
---|
| 4013 |
|
---|
| 4014 | _CSEOF
|
---|
| 4015 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
---|
| 4016 | echo >&5
|
---|
| 4017 | _ACEOF
|
---|
| 4018 |
|
---|
| 4019 | # Files that config.status was made for.
|
---|
| 4020 | if test -n "$ac_config_files"; then
|
---|
| 4021 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
---|
| 4022 | fi
|
---|
| 4023 |
|
---|
| 4024 | if test -n "$ac_config_headers"; then
|
---|
| 4025 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
---|
| 4026 | fi
|
---|
| 4027 |
|
---|
| 4028 | if test -n "$ac_config_links"; then
|
---|
| 4029 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
---|
| 4030 | fi
|
---|
| 4031 |
|
---|
| 4032 | if test -n "$ac_config_commands"; then
|
---|
| 4033 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
---|
| 4034 | fi
|
---|
| 4035 |
|
---|
| 4036 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 4037 |
|
---|
| 4038 | ac_cs_usage="\
|
---|
| 4039 | \`$as_me' instantiates files from templates according to the
|
---|
| 4040 | current configuration.
|
---|
| 4041 |
|
---|
| 4042 | Usage: $0 [OPTIONS] [FILE]...
|
---|
| 4043 |
|
---|
| 4044 | -h, --help print this help, then exit
|
---|
| 4045 | -V, --version print version number, then exit
|
---|
| 4046 | -q, --quiet do not print progress messages
|
---|
| 4047 | -d, --debug don't remove temporary files
|
---|
| 4048 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
| 4049 | --file=FILE[:TEMPLATE]
|
---|
| 4050 | instantiate the configuration file FILE
|
---|
| 4051 | --header=FILE[:TEMPLATE]
|
---|
| 4052 | instantiate the configuration header FILE
|
---|
| 4053 |
|
---|
| 4054 | Configuration files:
|
---|
| 4055 | $config_files
|
---|
| 4056 |
|
---|
| 4057 | Configuration headers:
|
---|
| 4058 | $config_headers
|
---|
| 4059 |
|
---|
| 4060 | Configuration commands:
|
---|
| 4061 | $config_commands
|
---|
| 4062 |
|
---|
| 4063 | Report bugs to <[email protected]>."
|
---|
| 4064 | _ACEOF
|
---|
| 4065 |
|
---|
| 4066 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 4067 | ac_cs_version="\\
|
---|
| 4068 | greenstone2-runtime-src config.status 2.84
|
---|
| 4069 | configured by $0, generated by GNU Autoconf 2.59,
|
---|
| 4070 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
---|
| 4071 |
|
---|
| 4072 | Copyright (C) 2003 Free Software Foundation, Inc.
|
---|
| 4073 | This config.status script is free software; the Free Software Foundation
|
---|
| 4074 | gives unlimited permission to copy, distribute and modify it."
|
---|
| 4075 | srcdir=$srcdir
|
---|
| 4076 | INSTALL="$INSTALL"
|
---|
| 4077 | _ACEOF
|
---|
| 4078 |
|
---|
| 4079 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 4080 | # If no file are specified by the user, then we need to provide default
|
---|
| 4081 | # value. By we need to know if files were specified by the user.
|
---|
| 4082 | ac_need_defaults=:
|
---|
| 4083 | while test $# != 0
|
---|
| 4084 | do
|
---|
| 4085 | case $1 in
|
---|
| 4086 | --*=*)
|
---|
| 4087 | ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
---|
| 4088 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
---|
| 4089 | ac_shift=:
|
---|
| 4090 | ;;
|
---|
| 4091 | -*)
|
---|
| 4092 | ac_option=$1
|
---|
| 4093 | ac_optarg=$2
|
---|
| 4094 | ac_shift=shift
|
---|
| 4095 | ;;
|
---|
| 4096 | *) # This is not an option, so the user has probably given explicit
|
---|
| 4097 | # arguments.
|
---|
| 4098 | ac_option=$1
|
---|
| 4099 | ac_need_defaults=false;;
|
---|
| 4100 | esac
|
---|
| 4101 |
|
---|
| 4102 | case $ac_option in
|
---|
| 4103 | # Handling of the options.
|
---|
| 4104 | _ACEOF
|
---|
| 4105 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 4106 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
| 4107 | ac_cs_recheck=: ;;
|
---|
| 4108 | --version | --vers* | -V )
|
---|
| 4109 | echo "$ac_cs_version"; exit 0 ;;
|
---|
| 4110 | --he | --h)
|
---|
| 4111 | # Conflict between --help and --header
|
---|
| 4112 | { { echo "$as_me:$LINENO: error: ambiguous option: $1
|
---|
| 4113 | Try \`$0 --help' for more information." >&5
|
---|
| 4114 | echo "$as_me: error: ambiguous option: $1
|
---|
| 4115 | Try \`$0 --help' for more information." >&2;}
|
---|
| 4116 | { (exit 1); exit 1; }; };;
|
---|
| 4117 | --help | --hel | -h )
|
---|
| 4118 | echo "$ac_cs_usage"; exit 0 ;;
|
---|
| 4119 | --debug | --d* | -d )
|
---|
| 4120 | debug=: ;;
|
---|
| 4121 | --file | --fil | --fi | --f )
|
---|
| 4122 | $ac_shift
|
---|
| 4123 | CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
---|
| 4124 | ac_need_defaults=false;;
|
---|
| 4125 | --header | --heade | --head | --hea )
|
---|
| 4126 | $ac_shift
|
---|
| 4127 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
---|
| 4128 | ac_need_defaults=false;;
|
---|
| 4129 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 4130 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
| 4131 | ac_cs_silent=: ;;
|
---|
| 4132 |
|
---|
| 4133 | # This is an error.
|
---|
| 4134 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
---|
| 4135 | Try \`$0 --help' for more information." >&5
|
---|
| 4136 | echo "$as_me: error: unrecognized option: $1
|
---|
| 4137 | Try \`$0 --help' for more information." >&2;}
|
---|
| 4138 | { (exit 1); exit 1; }; } ;;
|
---|
| 4139 |
|
---|
| 4140 | *) ac_config_targets="$ac_config_targets $1" ;;
|
---|
| 4141 |
|
---|
| 4142 | esac
|
---|
| 4143 | shift
|
---|
| 4144 | done
|
---|
| 4145 |
|
---|
| 4146 | ac_configure_extra_args=
|
---|
| 4147 |
|
---|
| 4148 | if $ac_cs_silent; then
|
---|
| 4149 | exec 6>/dev/null
|
---|
| 4150 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
| 4151 | fi
|
---|
| 4152 |
|
---|
| 4153 | _ACEOF
|
---|
| 4154 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 4155 | if \$ac_cs_recheck; then
|
---|
| 4156 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
---|
| 4157 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
| 4158 | fi
|
---|
| 4159 |
|
---|
| 4160 | _ACEOF
|
---|
| 4161 |
|
---|
| 4162 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 4163 | #
|
---|
| 4164 | # INIT-COMMANDS section.
|
---|
| 4165 | #
|
---|
| 4166 |
|
---|
| 4167 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
---|
| 4168 |
|
---|
| 4169 | _ACEOF
|
---|
| 4170 |
|
---|
| 4171 |
|
---|
| 4172 |
|
---|
| 4173 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 4174 | for ac_config_target in $ac_config_targets
|
---|
| 4175 | do
|
---|
| 4176 | case "$ac_config_target" in
|
---|
| 4177 | # Handling of arguments.
|
---|
| 4178 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
| 4179 | "src/colservr/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/colservr/Makefile" ;;
|
---|
| 4180 | "src/protocol/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/protocol/Makefile" ;;
|
---|
[21482] | 4181 | "src/recpt/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/recpt/Makefile" ;;
|
---|
[21473] | 4182 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
---|
| 4183 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
| 4184 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
---|
| 4185 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
---|
| 4186 | { (exit 1); exit 1; }; };;
|
---|
| 4187 | esac
|
---|
| 4188 | done
|
---|
| 4189 |
|
---|
| 4190 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 4191 | # then the envvar interface is used. Set only those that are not.
|
---|
| 4192 | # We use the long form for the default assignment because of an extremely
|
---|
| 4193 | # bizarre bug on SunOS 4.1.3.
|
---|
| 4194 | if $ac_need_defaults; then
|
---|
| 4195 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 4196 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
| 4197 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
---|
| 4198 | fi
|
---|
| 4199 |
|
---|
| 4200 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
| 4201 | # simply because there is no reason to put it here, and in addition,
|
---|
| 4202 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
| 4203 | # Create a temporary directory, and hook for its removal unless debugging.
|
---|
| 4204 | $debug ||
|
---|
| 4205 | {
|
---|
| 4206 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
---|
| 4207 | trap '{ (exit 1); exit 1; }' 1 2 13 15
|
---|
| 4208 | }
|
---|
| 4209 |
|
---|
| 4210 | # Create a (secure) tmp directory for tmp files.
|
---|
| 4211 |
|
---|
| 4212 | {
|
---|
| 4213 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
---|
| 4214 | test -n "$tmp" && test -d "$tmp"
|
---|
| 4215 | } ||
|
---|
| 4216 | {
|
---|
| 4217 | tmp=./confstat$$-$RANDOM
|
---|
| 4218 | (umask 077 && mkdir $tmp)
|
---|
| 4219 | } ||
|
---|
| 4220 | {
|
---|
| 4221 | echo "$me: cannot create a temporary directory in ." >&2
|
---|
| 4222 | { (exit 1); exit 1; }
|
---|
| 4223 | }
|
---|
| 4224 |
|
---|
| 4225 | _ACEOF
|
---|
| 4226 |
|
---|
| 4227 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 4228 |
|
---|
| 4229 | #
|
---|
| 4230 | # CONFIG_FILES section.
|
---|
| 4231 | #
|
---|
| 4232 |
|
---|
| 4233 | # No need to generate the scripts if there are no CONFIG_FILES.
|
---|
| 4234 | # This happens for instance when ./config.status config.h
|
---|
| 4235 | if test -n "\$CONFIG_FILES"; then
|
---|
| 4236 | # Protect against being on the right side of a sed subst in config.status.
|
---|
| 4237 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
---|
| 4238 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
---|
| 4239 | s,@SHELL@,$SHELL,;t t
|
---|
| 4240 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
---|
| 4241 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
---|
| 4242 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
---|
| 4243 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
---|
| 4244 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
---|
| 4245 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
---|
| 4246 | s,@exec_prefix@,$exec_prefix,;t t
|
---|
| 4247 | s,@prefix@,$prefix,;t t
|
---|
| 4248 | s,@program_transform_name@,$program_transform_name,;t t
|
---|
| 4249 | s,@bindir@,$bindir,;t t
|
---|
| 4250 | s,@sbindir@,$sbindir,;t t
|
---|
| 4251 | s,@libexecdir@,$libexecdir,;t t
|
---|
| 4252 | s,@datadir@,$datadir,;t t
|
---|
| 4253 | s,@sysconfdir@,$sysconfdir,;t t
|
---|
| 4254 | s,@sharedstatedir@,$sharedstatedir,;t t
|
---|
| 4255 | s,@localstatedir@,$localstatedir,;t t
|
---|
| 4256 | s,@libdir@,$libdir,;t t
|
---|
| 4257 | s,@includedir@,$includedir,;t t
|
---|
| 4258 | s,@oldincludedir@,$oldincludedir,;t t
|
---|
| 4259 | s,@infodir@,$infodir,;t t
|
---|
| 4260 | s,@mandir@,$mandir,;t t
|
---|
| 4261 | s,@build_alias@,$build_alias,;t t
|
---|
| 4262 | s,@host_alias@,$host_alias,;t t
|
---|
| 4263 | s,@target_alias@,$target_alias,;t t
|
---|
| 4264 | s,@DEFS@,$DEFS,;t t
|
---|
| 4265 | s,@ECHO_C@,$ECHO_C,;t t
|
---|
| 4266 | s,@ECHO_N@,$ECHO_N,;t t
|
---|
| 4267 | s,@ECHO_T@,$ECHO_T,;t t
|
---|
| 4268 | s,@LIBS@,$LIBS,;t t
|
---|
| 4269 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
---|
| 4270 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
---|
| 4271 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
---|
| 4272 | s,@CYGPATH_W@,$CYGPATH_W,;t t
|
---|
| 4273 | s,@PACKAGE@,$PACKAGE,;t t
|
---|
| 4274 | s,@VERSION@,$VERSION,;t t
|
---|
| 4275 | s,@ACLOCAL@,$ACLOCAL,;t t
|
---|
| 4276 | s,@AUTOCONF@,$AUTOCONF,;t t
|
---|
| 4277 | s,@AUTOMAKE@,$AUTOMAKE,;t t
|
---|
| 4278 | s,@AUTOHEADER@,$AUTOHEADER,;t t
|
---|
| 4279 | s,@MAKEINFO@,$MAKEINFO,;t t
|
---|
| 4280 | s,@install_sh@,$install_sh,;t t
|
---|
| 4281 | s,@STRIP@,$STRIP,;t t
|
---|
| 4282 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
|
---|
| 4283 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
|
---|
| 4284 | s,@mkdir_p@,$mkdir_p,;t t
|
---|
| 4285 | s,@AWK@,$AWK,;t t
|
---|
| 4286 | s,@SET_MAKE@,$SET_MAKE,;t t
|
---|
| 4287 | s,@am__leading_dot@,$am__leading_dot,;t t
|
---|
| 4288 | s,@AMTAR@,$AMTAR,;t t
|
---|
| 4289 | s,@am__tar@,$am__tar,;t t
|
---|
| 4290 | s,@am__untar@,$am__untar,;t t
|
---|
[21494] | 4291 | s,@CC@,$CC,;t t
|
---|
| 4292 | s,@CFLAGS@,$CFLAGS,;t t
|
---|
[21473] | 4293 | s,@LDFLAGS@,$LDFLAGS,;t t
|
---|
| 4294 | s,@CPPFLAGS@,$CPPFLAGS,;t t
|
---|
[21494] | 4295 | s,@ac_ct_CC@,$ac_ct_CC,;t t
|
---|
[21473] | 4296 | s,@EXEEXT@,$EXEEXT,;t t
|
---|
| 4297 | s,@OBJEXT@,$OBJEXT,;t t
|
---|
| 4298 | s,@DEPDIR@,$DEPDIR,;t t
|
---|
| 4299 | s,@am__include@,$am__include,;t t
|
---|
| 4300 | s,@am__quote@,$am__quote,;t t
|
---|
| 4301 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
|
---|
| 4302 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
|
---|
| 4303 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
|
---|
[21494] | 4304 | s,@CCDEPMODE@,$CCDEPMODE,;t t
|
---|
| 4305 | s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
|
---|
| 4306 | s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
|
---|
| 4307 | s,@CXX@,$CXX,;t t
|
---|
| 4308 | s,@CXXFLAGS@,$CXXFLAGS,;t t
|
---|
| 4309 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t
|
---|
[21473] | 4310 | s,@CXXDEPMODE@,$CXXDEPMODE,;t t
|
---|
| 4311 | s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
|
---|
| 4312 | s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
|
---|
| 4313 | s,@RANLIB@,$RANLIB,;t t
|
---|
| 4314 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
---|
| 4315 | s,@build@,$build,;t t
|
---|
| 4316 | s,@build_cpu@,$build_cpu,;t t
|
---|
| 4317 | s,@build_vendor@,$build_vendor,;t t
|
---|
| 4318 | s,@build_os@,$build_os,;t t
|
---|
| 4319 | s,@host@,$host,;t t
|
---|
| 4320 | s,@host_cpu@,$host_cpu,;t t
|
---|
| 4321 | s,@host_vendor@,$host_vendor,;t t
|
---|
| 4322 | s,@host_os@,$host_os,;t t
|
---|
| 4323 | s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
|
---|
| 4324 | s,@USE_SQLITE_TRUE@,$USE_SQLITE_TRUE,;t t
|
---|
| 4325 | s,@USE_SQLITE_FALSE@,$USE_SQLITE_FALSE,;t t
|
---|
| 4326 | s,@LIBOBJS@,$LIBOBJS,;t t
|
---|
| 4327 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
---|
| 4328 | CEOF
|
---|
| 4329 |
|
---|
| 4330 | _ACEOF
|
---|
| 4331 |
|
---|
| 4332 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 4333 | # Split the substitutions into bite-sized pieces for seds with
|
---|
| 4334 | # small command number limits, like on Digital OSF/1 and HP-UX.
|
---|
| 4335 | ac_max_sed_lines=48
|
---|
| 4336 | ac_sed_frag=1 # Number of current file.
|
---|
| 4337 | ac_beg=1 # First line for current file.
|
---|
| 4338 | ac_end=$ac_max_sed_lines # Line after last line for current file.
|
---|
| 4339 | ac_more_lines=:
|
---|
| 4340 | ac_sed_cmds=
|
---|
| 4341 | while $ac_more_lines; do
|
---|
| 4342 | if test $ac_beg -gt 1; then
|
---|
| 4343 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
---|
| 4344 | else
|
---|
| 4345 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
---|
| 4346 | fi
|
---|
| 4347 | if test ! -s $tmp/subs.frag; then
|
---|
| 4348 | ac_more_lines=false
|
---|
| 4349 | else
|
---|
| 4350 | # The purpose of the label and of the branching condition is to
|
---|
| 4351 | # speed up the sed processing (if there are no `@' at all, there
|
---|
| 4352 | # is no need to browse any of the substitutions).
|
---|
| 4353 | # These are the two extra sed commands mentioned above.
|
---|
| 4354 | (echo ':t
|
---|
| 4355 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
---|
| 4356 | if test -z "$ac_sed_cmds"; then
|
---|
| 4357 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
---|
| 4358 | else
|
---|
| 4359 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
---|
| 4360 | fi
|
---|
| 4361 | ac_sed_frag=`expr $ac_sed_frag + 1`
|
---|
| 4362 | ac_beg=$ac_end
|
---|
| 4363 | ac_end=`expr $ac_end + $ac_max_sed_lines`
|
---|
| 4364 | fi
|
---|
| 4365 | done
|
---|
| 4366 | if test -z "$ac_sed_cmds"; then
|
---|
| 4367 | ac_sed_cmds=cat
|
---|
| 4368 | fi
|
---|
| 4369 | fi # test -n "$CONFIG_FILES"
|
---|
| 4370 |
|
---|
| 4371 | _ACEOF
|
---|
| 4372 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 4373 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
---|
| 4374 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
---|
| 4375 | case $ac_file in
|
---|
| 4376 | - | *:- | *:-:* ) # input from stdin
|
---|
| 4377 | cat >$tmp/stdin
|
---|
| 4378 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 4379 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 4380 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 4381 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 4382 | * ) ac_file_in=$ac_file.in ;;
|
---|
| 4383 | esac
|
---|
| 4384 |
|
---|
| 4385 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
---|
| 4386 | ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
---|
| 4387 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 4388 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 4389 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
| 4390 | X"$ac_file" : 'X\(/\)' \| \
|
---|
| 4391 | . : '\(.\)' 2>/dev/null ||
|
---|
| 4392 | echo X"$ac_file" |
|
---|
| 4393 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 4394 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 4395 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 4396 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 4397 | s/.*/./; q'`
|
---|
| 4398 | { if $as_mkdir_p; then
|
---|
| 4399 | mkdir -p "$ac_dir"
|
---|
| 4400 | else
|
---|
| 4401 | as_dir="$ac_dir"
|
---|
| 4402 | as_dirs=
|
---|
| 4403 | while test ! -d "$as_dir"; do
|
---|
| 4404 | as_dirs="$as_dir $as_dirs"
|
---|
| 4405 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
| 4406 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 4407 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 4408 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 4409 | X"$as_dir" : 'X\(/\)' \| \
|
---|
| 4410 | . : '\(.\)' 2>/dev/null ||
|
---|
| 4411 | echo X"$as_dir" |
|
---|
| 4412 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 4413 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 4414 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 4415 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 4416 | s/.*/./; q'`
|
---|
| 4417 | done
|
---|
| 4418 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
| 4419 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
| 4420 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
| 4421 | { (exit 1); exit 1; }; }; }
|
---|
| 4422 |
|
---|
| 4423 | ac_builddir=.
|
---|
| 4424 |
|
---|
| 4425 | if test "$ac_dir" != .; then
|
---|
| 4426 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
| 4427 | # A "../" for each directory in $ac_dir_suffix.
|
---|
| 4428 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
| 4429 | else
|
---|
| 4430 | ac_dir_suffix= ac_top_builddir=
|
---|
| 4431 | fi
|
---|
| 4432 |
|
---|
| 4433 | case $srcdir in
|
---|
| 4434 | .) # No --srcdir option. We are building in place.
|
---|
| 4435 | ac_srcdir=.
|
---|
| 4436 | if test -z "$ac_top_builddir"; then
|
---|
| 4437 | ac_top_srcdir=.
|
---|
| 4438 | else
|
---|
| 4439 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
| 4440 | fi ;;
|
---|
| 4441 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
| 4442 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
| 4443 | ac_top_srcdir=$srcdir ;;
|
---|
| 4444 | *) # Relative path.
|
---|
| 4445 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
| 4446 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
| 4447 | esac
|
---|
| 4448 |
|
---|
| 4449 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
---|
| 4450 | # the directories may not exist.
|
---|
| 4451 | case `pwd` in
|
---|
| 4452 | .) ac_abs_builddir="$ac_dir";;
|
---|
| 4453 | *)
|
---|
| 4454 | case "$ac_dir" in
|
---|
| 4455 | .) ac_abs_builddir=`pwd`;;
|
---|
| 4456 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
---|
| 4457 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
---|
| 4458 | esac;;
|
---|
| 4459 | esac
|
---|
| 4460 | case $ac_abs_builddir in
|
---|
| 4461 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 4462 | *)
|
---|
| 4463 | case ${ac_top_builddir}. in
|
---|
| 4464 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
---|
| 4465 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 4466 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
---|
| 4467 | esac;;
|
---|
| 4468 | esac
|
---|
| 4469 | case $ac_abs_builddir in
|
---|
| 4470 | .) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 4471 | *)
|
---|
| 4472 | case $ac_srcdir in
|
---|
| 4473 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
---|
| 4474 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 4475 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
---|
| 4476 | esac;;
|
---|
| 4477 | esac
|
---|
| 4478 | case $ac_abs_builddir in
|
---|
| 4479 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 4480 | *)
|
---|
| 4481 | case $ac_top_srcdir in
|
---|
| 4482 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
---|
| 4483 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 4484 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
---|
| 4485 | esac;;
|
---|
| 4486 | esac
|
---|
| 4487 |
|
---|
| 4488 |
|
---|
| 4489 | case $INSTALL in
|
---|
| 4490 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
| 4491 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
---|
| 4492 | esac
|
---|
| 4493 |
|
---|
| 4494 | if test x"$ac_file" != x-; then
|
---|
| 4495 | { echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
| 4496 | echo "$as_me: creating $ac_file" >&6;}
|
---|
| 4497 | rm -f "$ac_file"
|
---|
| 4498 | fi
|
---|
| 4499 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 4500 | # use $as_me), people would be surprised to read:
|
---|
| 4501 | # /* config.h. Generated by config.status. */
|
---|
| 4502 | if test x"$ac_file" = x-; then
|
---|
| 4503 | configure_input=
|
---|
| 4504 | else
|
---|
| 4505 | configure_input="$ac_file. "
|
---|
| 4506 | fi
|
---|
| 4507 | configure_input=$configure_input"Generated from `echo $ac_file_in |
|
---|
| 4508 | sed 's,.*/,,'` by configure."
|
---|
| 4509 |
|
---|
| 4510 | # First look for the input files in the build tree, otherwise in the
|
---|
| 4511 | # src tree.
|
---|
| 4512 | ac_file_inputs=`IFS=:
|
---|
| 4513 | for f in $ac_file_in; do
|
---|
| 4514 | case $f in
|
---|
| 4515 | -) echo $tmp/stdin ;;
|
---|
| 4516 | [\\/$]*)
|
---|
| 4517 | # Absolute (can't be DOS-style, as IFS=:)
|
---|
| 4518 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
| 4519 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 4520 | { (exit 1); exit 1; }; }
|
---|
| 4521 | echo "$f";;
|
---|
| 4522 | *) # Relative
|
---|
| 4523 | if test -f "$f"; then
|
---|
| 4524 | # Build tree
|
---|
| 4525 | echo "$f"
|
---|
| 4526 | elif test -f "$srcdir/$f"; then
|
---|
| 4527 | # Source tree
|
---|
| 4528 | echo "$srcdir/$f"
|
---|
| 4529 | else
|
---|
| 4530 | # /dev/null tree
|
---|
| 4531 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
| 4532 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 4533 | { (exit 1); exit 1; }; }
|
---|
| 4534 | fi;;
|
---|
| 4535 | esac
|
---|
| 4536 | done` || { (exit 1); exit 1; }
|
---|
| 4537 | _ACEOF
|
---|
| 4538 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 4539 | sed "$ac_vpsub
|
---|
| 4540 | $extrasub
|
---|
| 4541 | _ACEOF
|
---|
| 4542 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 4543 | :t
|
---|
| 4544 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
| 4545 | s,@configure_input@,$configure_input,;t t
|
---|
| 4546 | s,@srcdir@,$ac_srcdir,;t t
|
---|
| 4547 | s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
---|
| 4548 | s,@top_srcdir@,$ac_top_srcdir,;t t
|
---|
| 4549 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
---|
| 4550 | s,@builddir@,$ac_builddir,;t t
|
---|
| 4551 | s,@abs_builddir@,$ac_abs_builddir,;t t
|
---|
| 4552 | s,@top_builddir@,$ac_top_builddir,;t t
|
---|
| 4553 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
---|
| 4554 | s,@INSTALL@,$ac_INSTALL,;t t
|
---|
| 4555 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
---|
| 4556 | rm -f $tmp/stdin
|
---|
| 4557 | if test x"$ac_file" != x-; then
|
---|
| 4558 | mv $tmp/out $ac_file
|
---|
| 4559 | else
|
---|
| 4560 | cat $tmp/out
|
---|
| 4561 | rm -f $tmp/out
|
---|
| 4562 | fi
|
---|
| 4563 |
|
---|
| 4564 | done
|
---|
| 4565 | _ACEOF
|
---|
| 4566 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 4567 |
|
---|
| 4568 | #
|
---|
| 4569 | # CONFIG_HEADER section.
|
---|
| 4570 | #
|
---|
| 4571 |
|
---|
| 4572 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
---|
| 4573 | # NAME is the cpp macro being defined and VALUE is the value it is being given.
|
---|
| 4574 | #
|
---|
| 4575 | # ac_d sets the value in "#define NAME VALUE" lines.
|
---|
| 4576 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
---|
| 4577 | ac_dB='[ ].*$,\1#\2'
|
---|
| 4578 | ac_dC=' '
|
---|
| 4579 | ac_dD=',;t'
|
---|
| 4580 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
---|
| 4581 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
---|
| 4582 | ac_uB='$,\1#\2define\3'
|
---|
| 4583 | ac_uC=' '
|
---|
| 4584 | ac_uD=',;t'
|
---|
| 4585 |
|
---|
| 4586 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
---|
| 4587 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
---|
| 4588 | case $ac_file in
|
---|
| 4589 | - | *:- | *:-:* ) # input from stdin
|
---|
| 4590 | cat >$tmp/stdin
|
---|
| 4591 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 4592 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 4593 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 4594 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 4595 | * ) ac_file_in=$ac_file.in ;;
|
---|
| 4596 | esac
|
---|
| 4597 |
|
---|
| 4598 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
| 4599 | echo "$as_me: creating $ac_file" >&6;}
|
---|
| 4600 |
|
---|
| 4601 | # First look for the input files in the build tree, otherwise in the
|
---|
| 4602 | # src tree.
|
---|
| 4603 | ac_file_inputs=`IFS=:
|
---|
| 4604 | for f in $ac_file_in; do
|
---|
| 4605 | case $f in
|
---|
| 4606 | -) echo $tmp/stdin ;;
|
---|
| 4607 | [\\/$]*)
|
---|
| 4608 | # Absolute (can't be DOS-style, as IFS=:)
|
---|
| 4609 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
| 4610 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 4611 | { (exit 1); exit 1; }; }
|
---|
| 4612 | # Do quote $f, to prevent DOS paths from being IFS'd.
|
---|
| 4613 | echo "$f";;
|
---|
| 4614 | *) # Relative
|
---|
| 4615 | if test -f "$f"; then
|
---|
| 4616 | # Build tree
|
---|
| 4617 | echo "$f"
|
---|
| 4618 | elif test -f "$srcdir/$f"; then
|
---|
| 4619 | # Source tree
|
---|
| 4620 | echo "$srcdir/$f"
|
---|
| 4621 | else
|
---|
| 4622 | # /dev/null tree
|
---|
| 4623 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
---|
| 4624 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 4625 | { (exit 1); exit 1; }; }
|
---|
| 4626 | fi;;
|
---|
| 4627 | esac
|
---|
| 4628 | done` || { (exit 1); exit 1; }
|
---|
| 4629 | # Remove the trailing spaces.
|
---|
| 4630 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
---|
| 4631 |
|
---|
| 4632 | _ACEOF
|
---|
| 4633 |
|
---|
| 4634 | # Transform confdefs.h into two sed scripts, `conftest.defines' and
|
---|
| 4635 | # `conftest.undefs', that substitutes the proper values into
|
---|
| 4636 | # config.h.in to produce config.h. The first handles `#define'
|
---|
| 4637 | # templates, and the second `#undef' templates.
|
---|
| 4638 | # And first: Protect against being on the right side of a sed subst in
|
---|
| 4639 | # config.status. Protect against being in an unquoted here document
|
---|
| 4640 | # in config.status.
|
---|
| 4641 | rm -f conftest.defines conftest.undefs
|
---|
| 4642 | # Using a here document instead of a string reduces the quoting nightmare.
|
---|
| 4643 | # Putting comments in sed scripts is not portable.
|
---|
| 4644 | #
|
---|
| 4645 | # `end' is used to avoid that the second main sed command (meant for
|
---|
| 4646 | # 0-ary CPP macros) applies to n-ary macro definitions.
|
---|
| 4647 | # See the Autoconf documentation for `clear'.
|
---|
| 4648 | cat >confdef2sed.sed <<\_ACEOF
|
---|
| 4649 | s/[\\&,]/\\&/g
|
---|
| 4650 | s,[\\$`],\\&,g
|
---|
| 4651 | t clear
|
---|
| 4652 | : clear
|
---|
| 4653 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
---|
| 4654 | t end
|
---|
| 4655 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
---|
| 4656 | : end
|
---|
| 4657 | _ACEOF
|
---|
| 4658 | # If some macros were called several times there might be several times
|
---|
| 4659 | # the same #defines, which is useless. Nevertheless, we may not want to
|
---|
| 4660 | # sort them, since we want the *last* AC-DEFINE to be honored.
|
---|
| 4661 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
|
---|
| 4662 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
|
---|
| 4663 | rm -f confdef2sed.sed
|
---|
| 4664 |
|
---|
| 4665 | # This sed command replaces #undef with comments. This is necessary, for
|
---|
| 4666 | # example, in the case of _POSIX_SOURCE, which is predefined and required
|
---|
| 4667 | # on some systems where configure will not decide to define it.
|
---|
| 4668 | cat >>conftest.undefs <<\_ACEOF
|
---|
| 4669 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
---|
| 4670 | _ACEOF
|
---|
| 4671 |
|
---|
| 4672 | # Break up conftest.defines because some shells have a limit on the size
|
---|
| 4673 | # of here documents, and old seds have small limits too (100 cmds).
|
---|
| 4674 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
|
---|
| 4675 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
|
---|
| 4676 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
|
---|
| 4677 | echo ' :' >>$CONFIG_STATUS
|
---|
| 4678 | rm -f conftest.tail
|
---|
| 4679 | while grep . conftest.defines >/dev/null
|
---|
| 4680 | do
|
---|
| 4681 | # Write a limited-size here document to $tmp/defines.sed.
|
---|
| 4682 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
|
---|
| 4683 | # Speed up: don't consider the non `#define' lines.
|
---|
| 4684 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
|
---|
| 4685 | # Work around the forget-to-reset-the-flag bug.
|
---|
| 4686 | echo 't clr' >>$CONFIG_STATUS
|
---|
| 4687 | echo ': clr' >>$CONFIG_STATUS
|
---|
| 4688 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
|
---|
| 4689 | echo 'CEOF
|
---|
| 4690 | sed -f $tmp/defines.sed $tmp/in >$tmp/out
|
---|
| 4691 | rm -f $tmp/in
|
---|
| 4692 | mv $tmp/out $tmp/in
|
---|
| 4693 | ' >>$CONFIG_STATUS
|
---|
| 4694 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
|
---|
| 4695 | rm -f conftest.defines
|
---|
| 4696 | mv conftest.tail conftest.defines
|
---|
| 4697 | done
|
---|
| 4698 | rm -f conftest.defines
|
---|
| 4699 | echo ' fi # grep' >>$CONFIG_STATUS
|
---|
| 4700 | echo >>$CONFIG_STATUS
|
---|
| 4701 |
|
---|
| 4702 | # Break up conftest.undefs because some shells have a limit on the size
|
---|
| 4703 | # of here documents, and old seds have small limits too (100 cmds).
|
---|
| 4704 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
|
---|
| 4705 | rm -f conftest.tail
|
---|
| 4706 | while grep . conftest.undefs >/dev/null
|
---|
| 4707 | do
|
---|
| 4708 | # Write a limited-size here document to $tmp/undefs.sed.
|
---|
| 4709 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
|
---|
| 4710 | # Speed up: don't consider the non `#undef'
|
---|
| 4711 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
|
---|
| 4712 | # Work around the forget-to-reset-the-flag bug.
|
---|
| 4713 | echo 't clr' >>$CONFIG_STATUS
|
---|
| 4714 | echo ': clr' >>$CONFIG_STATUS
|
---|
| 4715 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
|
---|
| 4716 | echo 'CEOF
|
---|
| 4717 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out
|
---|
| 4718 | rm -f $tmp/in
|
---|
| 4719 | mv $tmp/out $tmp/in
|
---|
| 4720 | ' >>$CONFIG_STATUS
|
---|
| 4721 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
|
---|
| 4722 | rm -f conftest.undefs
|
---|
| 4723 | mv conftest.tail conftest.undefs
|
---|
| 4724 | done
|
---|
| 4725 | rm -f conftest.undefs
|
---|
| 4726 |
|
---|
| 4727 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 4728 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 4729 | # use $as_me), people would be surprised to read:
|
---|
| 4730 | # /* config.h. Generated by config.status. */
|
---|
| 4731 | if test x"$ac_file" = x-; then
|
---|
| 4732 | echo "/* Generated by configure. */" >$tmp/config.h
|
---|
| 4733 | else
|
---|
| 4734 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
---|
| 4735 | fi
|
---|
| 4736 | cat $tmp/in >>$tmp/config.h
|
---|
| 4737 | rm -f $tmp/in
|
---|
| 4738 | if test x"$ac_file" != x-; then
|
---|
| 4739 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
|
---|
| 4740 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
---|
| 4741 | echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
| 4742 | else
|
---|
| 4743 | ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
---|
| 4744 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 4745 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 4746 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
| 4747 | X"$ac_file" : 'X\(/\)' \| \
|
---|
| 4748 | . : '\(.\)' 2>/dev/null ||
|
---|
| 4749 | echo X"$ac_file" |
|
---|
| 4750 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 4751 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 4752 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 4753 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 4754 | s/.*/./; q'`
|
---|
| 4755 | { if $as_mkdir_p; then
|
---|
| 4756 | mkdir -p "$ac_dir"
|
---|
| 4757 | else
|
---|
| 4758 | as_dir="$ac_dir"
|
---|
| 4759 | as_dirs=
|
---|
| 4760 | while test ! -d "$as_dir"; do
|
---|
| 4761 | as_dirs="$as_dir $as_dirs"
|
---|
| 4762 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
| 4763 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 4764 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 4765 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 4766 | X"$as_dir" : 'X\(/\)' \| \
|
---|
| 4767 | . : '\(.\)' 2>/dev/null ||
|
---|
| 4768 | echo X"$as_dir" |
|
---|
| 4769 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 4770 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 4771 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 4772 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 4773 | s/.*/./; q'`
|
---|
| 4774 | done
|
---|
| 4775 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
| 4776 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
| 4777 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
| 4778 | { (exit 1); exit 1; }; }; }
|
---|
| 4779 |
|
---|
| 4780 | rm -f $ac_file
|
---|
| 4781 | mv $tmp/config.h $ac_file
|
---|
| 4782 | fi
|
---|
| 4783 | else
|
---|
| 4784 | cat $tmp/config.h
|
---|
| 4785 | rm -f $tmp/config.h
|
---|
| 4786 | fi
|
---|
| 4787 | # Compute $ac_file's index in $config_headers.
|
---|
| 4788 | _am_stamp_count=1
|
---|
| 4789 | for _am_header in $config_headers :; do
|
---|
| 4790 | case $_am_header in
|
---|
| 4791 | $ac_file | $ac_file:* )
|
---|
| 4792 | break ;;
|
---|
| 4793 | * )
|
---|
| 4794 | _am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
---|
| 4795 | esac
|
---|
| 4796 | done
|
---|
| 4797 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
|
---|
| 4798 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 4799 | X$ac_file : 'X\(//\)[^/]' \| \
|
---|
| 4800 | X$ac_file : 'X\(//\)$' \| \
|
---|
| 4801 | X$ac_file : 'X\(/\)' \| \
|
---|
| 4802 | . : '\(.\)' 2>/dev/null ||
|
---|
| 4803 | echo X$ac_file |
|
---|
| 4804 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 4805 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 4806 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 4807 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 4808 | s/.*/./; q'`/stamp-h$_am_stamp_count
|
---|
| 4809 | done
|
---|
| 4810 | _ACEOF
|
---|
| 4811 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 4812 |
|
---|
| 4813 | #
|
---|
| 4814 | # CONFIG_COMMANDS section.
|
---|
| 4815 | #
|
---|
| 4816 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
---|
| 4817 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
---|
| 4818 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 4819 | ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
|
---|
| 4820 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 4821 | X"$ac_dest" : 'X\(//\)[^/]' \| \
|
---|
| 4822 | X"$ac_dest" : 'X\(//\)$' \| \
|
---|
| 4823 | X"$ac_dest" : 'X\(/\)' \| \
|
---|
| 4824 | . : '\(.\)' 2>/dev/null ||
|
---|
| 4825 | echo X"$ac_dest" |
|
---|
| 4826 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 4827 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 4828 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 4829 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 4830 | s/.*/./; q'`
|
---|
| 4831 | { if $as_mkdir_p; then
|
---|
| 4832 | mkdir -p "$ac_dir"
|
---|
| 4833 | else
|
---|
| 4834 | as_dir="$ac_dir"
|
---|
| 4835 | as_dirs=
|
---|
| 4836 | while test ! -d "$as_dir"; do
|
---|
| 4837 | as_dirs="$as_dir $as_dirs"
|
---|
| 4838 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
| 4839 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 4840 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 4841 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 4842 | X"$as_dir" : 'X\(/\)' \| \
|
---|
| 4843 | . : '\(.\)' 2>/dev/null ||
|
---|
| 4844 | echo X"$as_dir" |
|
---|
| 4845 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 4846 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 4847 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 4848 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 4849 | s/.*/./; q'`
|
---|
| 4850 | done
|
---|
| 4851 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
| 4852 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
---|
| 4853 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
---|
| 4854 | { (exit 1); exit 1; }; }; }
|
---|
| 4855 |
|
---|
| 4856 | ac_builddir=.
|
---|
| 4857 |
|
---|
| 4858 | if test "$ac_dir" != .; then
|
---|
| 4859 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
| 4860 | # A "../" for each directory in $ac_dir_suffix.
|
---|
| 4861 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
---|
| 4862 | else
|
---|
| 4863 | ac_dir_suffix= ac_top_builddir=
|
---|
| 4864 | fi
|
---|
| 4865 |
|
---|
| 4866 | case $srcdir in
|
---|
| 4867 | .) # No --srcdir option. We are building in place.
|
---|
| 4868 | ac_srcdir=.
|
---|
| 4869 | if test -z "$ac_top_builddir"; then
|
---|
| 4870 | ac_top_srcdir=.
|
---|
| 4871 | else
|
---|
| 4872 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
---|
| 4873 | fi ;;
|
---|
| 4874 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
| 4875 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
| 4876 | ac_top_srcdir=$srcdir ;;
|
---|
| 4877 | *) # Relative path.
|
---|
| 4878 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
---|
| 4879 | ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
---|
| 4880 | esac
|
---|
| 4881 |
|
---|
| 4882 | # Do not use `cd foo && pwd` to compute absolute paths, because
|
---|
| 4883 | # the directories may not exist.
|
---|
| 4884 | case `pwd` in
|
---|
| 4885 | .) ac_abs_builddir="$ac_dir";;
|
---|
| 4886 | *)
|
---|
| 4887 | case "$ac_dir" in
|
---|
| 4888 | .) ac_abs_builddir=`pwd`;;
|
---|
| 4889 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
---|
| 4890 | *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
---|
| 4891 | esac;;
|
---|
| 4892 | esac
|
---|
| 4893 | case $ac_abs_builddir in
|
---|
| 4894 | .) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 4895 | *)
|
---|
| 4896 | case ${ac_top_builddir}. in
|
---|
| 4897 | .) ac_abs_top_builddir=$ac_abs_builddir;;
|
---|
| 4898 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
---|
| 4899 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
---|
| 4900 | esac;;
|
---|
| 4901 | esac
|
---|
| 4902 | case $ac_abs_builddir in
|
---|
| 4903 | .) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 4904 | *)
|
---|
| 4905 | case $ac_srcdir in
|
---|
| 4906 | .) ac_abs_srcdir=$ac_abs_builddir;;
|
---|
| 4907 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
---|
| 4908 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
---|
| 4909 | esac;;
|
---|
| 4910 | esac
|
---|
| 4911 | case $ac_abs_builddir in
|
---|
| 4912 | .) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 4913 | *)
|
---|
| 4914 | case $ac_top_srcdir in
|
---|
| 4915 | .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
---|
| 4916 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
---|
| 4917 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
---|
| 4918 | esac;;
|
---|
| 4919 | esac
|
---|
| 4920 |
|
---|
| 4921 |
|
---|
| 4922 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
|
---|
| 4923 | echo "$as_me: executing $ac_dest commands" >&6;}
|
---|
| 4924 | case $ac_dest in
|
---|
| 4925 | depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
---|
| 4926 | # Strip MF so we end up with the name of the file.
|
---|
| 4927 | mf=`echo "$mf" | sed -e 's/:.*$//'`
|
---|
| 4928 | # Check whether this is an Automake generated Makefile or not.
|
---|
| 4929 | # We used to match only the files named `Makefile.in', but
|
---|
| 4930 | # some people rename them; so instead we look at the file content.
|
---|
| 4931 | # Grep'ing the first line is not enough: some people post-process
|
---|
| 4932 | # each Makefile.in and add a new line on top of each file to say so.
|
---|
| 4933 | # So let's grep whole file.
|
---|
| 4934 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
---|
| 4935 | dirpart=`(dirname "$mf") 2>/dev/null ||
|
---|
| 4936 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 4937 | X"$mf" : 'X\(//\)[^/]' \| \
|
---|
| 4938 | X"$mf" : 'X\(//\)$' \| \
|
---|
| 4939 | X"$mf" : 'X\(/\)' \| \
|
---|
| 4940 | . : '\(.\)' 2>/dev/null ||
|
---|
| 4941 | echo X"$mf" |
|
---|
| 4942 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 4943 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 4944 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 4945 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 4946 | s/.*/./; q'`
|
---|
| 4947 | else
|
---|
| 4948 | continue
|
---|
| 4949 | fi
|
---|
| 4950 | # Extract the definition of DEPDIR, am__include, and am__quote
|
---|
| 4951 | # from the Makefile without running `make'.
|
---|
| 4952 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
---|
| 4953 | test -z "$DEPDIR" && continue
|
---|
| 4954 | am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
---|
| 4955 | test -z "am__include" && continue
|
---|
| 4956 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
---|
| 4957 | # When using ansi2knr, U may be empty or an underscore; expand it
|
---|
| 4958 | U=`sed -n 's/^U = //p' < "$mf"`
|
---|
| 4959 | # Find all dependency output files, they are included files with
|
---|
| 4960 | # $(DEPDIR) in their names. We invoke sed twice because it is the
|
---|
| 4961 | # simplest approach to changing $(DEPDIR) to its actual value in the
|
---|
| 4962 | # expansion.
|
---|
| 4963 | for file in `sed -n "
|
---|
| 4964 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
---|
| 4965 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
---|
| 4966 | # Make sure the directory exists.
|
---|
| 4967 | test -f "$dirpart/$file" && continue
|
---|
| 4968 | fdir=`(dirname "$file") 2>/dev/null ||
|
---|
| 4969 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 4970 | X"$file" : 'X\(//\)[^/]' \| \
|
---|
| 4971 | X"$file" : 'X\(//\)$' \| \
|
---|
| 4972 | X"$file" : 'X\(/\)' \| \
|
---|
| 4973 | . : '\(.\)' 2>/dev/null ||
|
---|
| 4974 | echo X"$file" |
|
---|
| 4975 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 4976 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 4977 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 4978 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 4979 | s/.*/./; q'`
|
---|
| 4980 | { if $as_mkdir_p; then
|
---|
| 4981 | mkdir -p $dirpart/$fdir
|
---|
| 4982 | else
|
---|
| 4983 | as_dir=$dirpart/$fdir
|
---|
| 4984 | as_dirs=
|
---|
| 4985 | while test ! -d "$as_dir"; do
|
---|
| 4986 | as_dirs="$as_dir $as_dirs"
|
---|
| 4987 | as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
---|
| 4988 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 4989 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 4990 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 4991 | X"$as_dir" : 'X\(/\)' \| \
|
---|
| 4992 | . : '\(.\)' 2>/dev/null ||
|
---|
| 4993 | echo X"$as_dir" |
|
---|
| 4994 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 4995 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 4996 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 4997 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 4998 | s/.*/./; q'`
|
---|
| 4999 | done
|
---|
| 5000 | test ! -n "$as_dirs" || mkdir $as_dirs
|
---|
| 5001 | fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
|
---|
| 5002 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
|
---|
| 5003 | { (exit 1); exit 1; }; }; }
|
---|
| 5004 |
|
---|
| 5005 | # echo "creating $dirpart/$file"
|
---|
| 5006 | echo '# dummy' > "$dirpart/$file"
|
---|
| 5007 | done
|
---|
| 5008 | done
|
---|
| 5009 | ;;
|
---|
| 5010 | esac
|
---|
| 5011 | done
|
---|
| 5012 | _ACEOF
|
---|
| 5013 |
|
---|
| 5014 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 5015 |
|
---|
| 5016 | { (exit 0); exit 0; }
|
---|
| 5017 | _ACEOF
|
---|
| 5018 | chmod +x $CONFIG_STATUS
|
---|
| 5019 | ac_clean_files=$ac_clean_files_save
|
---|
| 5020 |
|
---|
| 5021 |
|
---|
| 5022 | # configure is writing to config.log, and then calls config.status.
|
---|
| 5023 | # config.status does its own redirection, appending to config.log.
|
---|
| 5024 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 5025 | # by configure, so config.status won't be able to write to it; its
|
---|
| 5026 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 5027 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 5028 | # appended to by config.status. When coming back to configure, we
|
---|
| 5029 | # need to make the FD available again.
|
---|
| 5030 | if test "$no_create" != yes; then
|
---|
| 5031 | ac_cs_success=:
|
---|
| 5032 | ac_config_status_args=
|
---|
| 5033 | test "$silent" = yes &&
|
---|
| 5034 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
| 5035 | exec 5>/dev/null
|
---|
| 5036 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
| 5037 | exec 5>>config.log
|
---|
| 5038 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 5039 | # would make configure fail if this is the last instruction.
|
---|
| 5040 | $ac_cs_success || { (exit 1); exit 1; }
|
---|
| 5041 | fi
|
---|
| 5042 |
|
---|