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