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