[21] | 1 | #! /bin/sh |
---|
| 2 | # Guess values for system-dependent variables and create Makefiles. |
---|
| 3 | # Generated by GNU Autoconf 2.59. |
---|
| 4 | # |
---|
| 5 | # Copyright (C) 2003 Free Software Foundation, Inc. |
---|
| 6 | # This configure script is free software; the Free Software Foundation |
---|
| 7 | # gives unlimited permission to copy, distribute and modify it. |
---|
| 8 | ## --------------------- ## |
---|
| 9 | ## M4sh Initialization. ## |
---|
| 10 | ## --------------------- ## |
---|
| 11 | |
---|
| 12 | # Be Bourne compatible |
---|
| 13 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
| 14 | emulate sh |
---|
| 15 | NULLCMD=: |
---|
| 16 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
| 17 | # is contrary to our usage. Disable this feature. |
---|
| 18 | alias -g '${1+"$@"}'='"$@"' |
---|
| 19 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
| 20 | set -o posix |
---|
| 21 | fi |
---|
| 22 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 23 | |
---|
| 24 | # Support unset when possible. |
---|
| 25 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
| 26 | as_unset=unset |
---|
| 27 | else |
---|
| 28 | as_unset=false |
---|
| 29 | fi |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
| 33 | $as_unset ENV MAIL MAILPATH |
---|
| 34 | PS1='$ ' |
---|
| 35 | PS2='> ' |
---|
| 36 | PS4='+ ' |
---|
| 37 | |
---|
| 38 | # NLS nuisances. |
---|
| 39 | for as_var in \ |
---|
| 40 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
| 41 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
| 42 | LC_TELEPHONE LC_TIME |
---|
| 43 | do |
---|
| 44 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
| 45 | eval $as_var=C; export $as_var |
---|
| 46 | else |
---|
| 47 | $as_unset $as_var |
---|
| 48 | fi |
---|
| 49 | done |
---|
| 50 | |
---|
| 51 | # Required to use basename. |
---|
| 52 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
| 53 | as_expr=expr |
---|
| 54 | else |
---|
| 55 | as_expr=false |
---|
| 56 | fi |
---|
| 57 | |
---|
| 58 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
| 59 | as_basename=basename |
---|
| 60 | else |
---|
| 61 | as_basename=false |
---|
| 62 | fi |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | # Name of the executable. |
---|
| 66 | as_me=`$as_basename "$0" || |
---|
| 67 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 68 | X"$0" : 'X\(//\)$' \| \ |
---|
| 69 | X"$0" : 'X\(/\)$' \| \ |
---|
| 70 | . : '\(.\)' 2>/dev/null || |
---|
| 71 | echo X/"$0" | |
---|
| 72 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
| 73 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
| 74 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
| 75 | s/.*/./; q'` |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
| 79 | # Avoid depending upon Character Ranges. |
---|
| 80 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 81 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 82 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 83 | as_cr_digits='0123456789' |
---|
| 84 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 85 | |
---|
| 86 | # The user is always right. |
---|
| 87 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 88 | echo "#! /bin/sh" >conf$$.sh |
---|
| 89 | echo "exit 0" >>conf$$.sh |
---|
| 90 | chmod +x conf$$.sh |
---|
| 91 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
| 92 | PATH_SEPARATOR=';' |
---|
| 93 | else |
---|
| 94 | PATH_SEPARATOR=: |
---|
| 95 | fi |
---|
| 96 | rm -f conf$$.sh |
---|
| 97 | fi |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | as_lineno_1=$LINENO |
---|
| 101 | as_lineno_2=$LINENO |
---|
| 102 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
| 103 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
| 104 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
| 105 | # Find who we are. Look in the path if we contain no path at all |
---|
| 106 | # relative or not. |
---|
| 107 | case $0 in |
---|
| 108 | *[\\/]* ) as_myself=$0 ;; |
---|
| 109 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 110 | for as_dir in $PATH |
---|
| 111 | do |
---|
| 112 | IFS=$as_save_IFS |
---|
| 113 | test -z "$as_dir" && as_dir=. |
---|
| 114 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 115 | done |
---|
| 116 | |
---|
| 117 | ;; |
---|
| 118 | esac |
---|
| 119 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 120 | # in which case we are not to be found in the path. |
---|
| 121 | if test "x$as_myself" = x; then |
---|
| 122 | as_myself=$0 |
---|
| 123 | fi |
---|
| 124 | if test ! -f "$as_myself"; then |
---|
| 125 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
---|
| 126 | { (exit 1); exit 1; }; } |
---|
| 127 | fi |
---|
| 128 | case $CONFIG_SHELL in |
---|
| 129 | '') |
---|
| 130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 131 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
| 132 | do |
---|
| 133 | IFS=$as_save_IFS |
---|
| 134 | test -z "$as_dir" && as_dir=. |
---|
| 135 | for as_base in sh bash ksh sh5; do |
---|
| 136 | case $as_dir in |
---|
| 137 | /*) |
---|
| 138 | if ("$as_dir/$as_base" -c ' |
---|
| 139 | as_lineno_1=$LINENO |
---|
| 140 | as_lineno_2=$LINENO |
---|
| 141 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
| 142 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
| 143 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
| 144 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
| 145 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
| 146 | CONFIG_SHELL=$as_dir/$as_base |
---|
| 147 | export CONFIG_SHELL |
---|
| 148 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
| 149 | fi;; |
---|
| 150 | esac |
---|
| 151 | done |
---|
| 152 | done |
---|
| 153 | ;; |
---|
| 154 | esac |
---|
| 155 | |
---|
| 156 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
| 157 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
| 158 | # line-number line before each line; the second 'sed' does the real |
---|
| 159 | # work. The second script uses 'N' to pair each line-number line |
---|
| 160 | # with the numbered line, and appends trailing '-' during |
---|
| 161 | # substitution so that $LINENO is not a special case at line end. |
---|
| 162 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
| 163 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
| 164 | sed '=' <$as_myself | |
---|
| 165 | sed ' |
---|
| 166 | N |
---|
| 167 | s,$,-, |
---|
| 168 | : loop |
---|
| 169 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
| 170 | t loop |
---|
| 171 | s,-$,, |
---|
| 172 | s,^['$as_cr_digits']*\n,, |
---|
| 173 | ' >$as_me.lineno && |
---|
| 174 | chmod +x $as_me.lineno || |
---|
| 175 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
| 176 | { (exit 1); exit 1; }; } |
---|
| 177 | |
---|
| 178 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 179 | # (the dirname of $[0] is not the place where we might find the |
---|
| 180 | # original and so on. Autoconf is especially sensible to this). |
---|
| 181 | . ./$as_me.lineno |
---|
| 182 | # Exit status is that of the last command. |
---|
| 183 | exit |
---|
| 184 | } |
---|
| 185 | |
---|
| 186 | |
---|
| 187 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
| 188 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
| 189 | ' ECHO_T=' ' ;; |
---|
| 190 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
| 191 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
| 192 | esac |
---|
| 193 | |
---|
| 194 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
| 195 | as_expr=expr |
---|
| 196 | else |
---|
| 197 | as_expr=false |
---|
| 198 | fi |
---|
| 199 | |
---|
| 200 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 201 | echo >conf$$.file |
---|
| 202 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 203 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
| 204 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
| 205 | if test -f conf$$.exe; then |
---|
| 206 | # Don't use ln at all; we don't have any links |
---|
| 207 | as_ln_s='cp -p' |
---|
| 208 | else |
---|
| 209 | as_ln_s='ln -s' |
---|
| 210 | fi |
---|
| 211 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 212 | as_ln_s=ln |
---|
| 213 | else |
---|
| 214 | as_ln_s='cp -p' |
---|
| 215 | fi |
---|
| 216 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 217 | |
---|
| 218 | if mkdir -p . 2>/dev/null; then |
---|
| 219 | as_mkdir_p=: |
---|
| 220 | else |
---|
| 221 | test -d ./-p && rmdir ./-p |
---|
| 222 | as_mkdir_p=false |
---|
| 223 | fi |
---|
| 224 | |
---|
| 225 | as_executable_p="test -f" |
---|
| 226 | |
---|
| 227 | # Sed expression to map a string onto a valid CPP name. |
---|
| 228 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 229 | |
---|
| 230 | # Sed expression to map a string onto a valid variable name. |
---|
| 231 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 232 | |
---|
| 233 | |
---|
| 234 | # IFS |
---|
| 235 | # We need space, tab and new line, in precisely that order. |
---|
| 236 | as_nl=' |
---|
| 237 | ' |
---|
| 238 | IFS=" $as_nl" |
---|
| 239 | |
---|
| 240 | # CDPATH. |
---|
| 241 | $as_unset CDPATH |
---|
| 242 | |
---|
| 243 | |
---|
| 244 | # Name of the host. |
---|
| 245 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
---|
| 246 | # so uname gets run too. |
---|
| 247 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 248 | |
---|
| 249 | exec 6>&1 |
---|
| 250 | |
---|
| 251 | # |
---|
| 252 | # Initializations. |
---|
| 253 | # |
---|
| 254 | ac_default_prefix=/usr/local |
---|
| 255 | ac_config_libobj_dir=. |
---|
| 256 | cross_compiling=no |
---|
| 257 | subdirs= |
---|
| 258 | MFLAGS= |
---|
| 259 | MAKEFLAGS= |
---|
| 260 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
| 261 | |
---|
| 262 | # Maximum number of lines to put in a shell here document. |
---|
| 263 | # This variable seems obsolete. It should probably be removed, and |
---|
| 264 | # only ac_max_sed_lines should be used. |
---|
| 265 | : ${ac_max_here_lines=38} |
---|
| 266 | |
---|
| 267 | # Identity of this package. |
---|
| 268 | PACKAGE_NAME= |
---|
| 269 | PACKAGE_TARNAME= |
---|
| 270 | PACKAGE_VERSION= |
---|
| 271 | PACKAGE_STRING= |
---|
| 272 | PACKAGE_BUGREPORT= |
---|
| 273 | |
---|
[23] | 274 | ac_unique_file="email2trac.py.in" |
---|
[24] | 275 | 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 pyexecdir trac_user mta_user email2trac_conf PYTHON PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pkgpyexecdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP SYSTEM_EMAIL2TRAC_CONF LIBOBJS LTLIBOBJS' |
---|
[21] | 276 | ac_subst_files='' |
---|
| 277 | |
---|
| 278 | # Initialize some variables set by options. |
---|
| 279 | ac_init_help= |
---|
| 280 | ac_init_version=false |
---|
| 281 | # The variables have the same names as the options, with |
---|
| 282 | # dashes changed to underlines. |
---|
| 283 | cache_file=/dev/null |
---|
| 284 | exec_prefix=NONE |
---|
| 285 | no_create= |
---|
| 286 | no_recursion= |
---|
| 287 | prefix=NONE |
---|
| 288 | program_prefix=NONE |
---|
| 289 | program_suffix=NONE |
---|
| 290 | program_transform_name=s,x,x, |
---|
| 291 | silent= |
---|
| 292 | site= |
---|
| 293 | srcdir= |
---|
| 294 | verbose= |
---|
| 295 | x_includes=NONE |
---|
| 296 | x_libraries=NONE |
---|
| 297 | |
---|
| 298 | # Installation directory options. |
---|
| 299 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
| 300 | # and all the variables that are supposed to be based on exec_prefix |
---|
| 301 | # by default will actually change. |
---|
| 302 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
| 303 | bindir='${exec_prefix}/bin' |
---|
| 304 | sbindir='${exec_prefix}/sbin' |
---|
| 305 | libexecdir='${exec_prefix}/libexec' |
---|
| 306 | datadir='${prefix}/share' |
---|
| 307 | sysconfdir='${prefix}/etc' |
---|
| 308 | sharedstatedir='${prefix}/com' |
---|
| 309 | localstatedir='${prefix}/var' |
---|
| 310 | libdir='${exec_prefix}/lib' |
---|
| 311 | includedir='${prefix}/include' |
---|
| 312 | oldincludedir='/usr/include' |
---|
| 313 | infodir='${prefix}/info' |
---|
| 314 | mandir='${prefix}/man' |
---|
| 315 | |
---|
| 316 | ac_prev= |
---|
| 317 | for ac_option |
---|
| 318 | do |
---|
| 319 | # If the previous option needs an argument, assign it. |
---|
| 320 | if test -n "$ac_prev"; then |
---|
| 321 | eval "$ac_prev=\$ac_option" |
---|
| 322 | ac_prev= |
---|
| 323 | continue |
---|
| 324 | fi |
---|
| 325 | |
---|
| 326 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
---|
| 327 | |
---|
| 328 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
| 329 | |
---|
| 330 | case $ac_option in |
---|
| 331 | |
---|
| 332 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
| 333 | ac_prev=bindir ;; |
---|
| 334 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
| 335 | bindir=$ac_optarg ;; |
---|
| 336 | |
---|
| 337 | -build | --build | --buil | --bui | --bu) |
---|
| 338 | ac_prev=build_alias ;; |
---|
| 339 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
| 340 | build_alias=$ac_optarg ;; |
---|
| 341 | |
---|
| 342 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 343 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 344 | ac_prev=cache_file ;; |
---|
| 345 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 346 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
| 347 | cache_file=$ac_optarg ;; |
---|
| 348 | |
---|
| 349 | --config-cache | -C) |
---|
| 350 | cache_file=config.cache ;; |
---|
| 351 | |
---|
| 352 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
---|
| 353 | ac_prev=datadir ;; |
---|
| 354 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
---|
| 355 | | --da=*) |
---|
| 356 | datadir=$ac_optarg ;; |
---|
| 357 | |
---|
| 358 | -disable-* | --disable-*) |
---|
| 359 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
| 360 | # Reject names that are not valid shell variable names. |
---|
| 361 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 362 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
| 363 | { (exit 1); exit 1; }; } |
---|
| 364 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
| 365 | eval "enable_$ac_feature=no" ;; |
---|
| 366 | |
---|
| 367 | -enable-* | --enable-*) |
---|
| 368 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
| 369 | # Reject names that are not valid shell variable names. |
---|
| 370 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 371 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
| 372 | { (exit 1); exit 1; }; } |
---|
| 373 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
| 374 | case $ac_option in |
---|
| 375 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
| 376 | *) ac_optarg=yes ;; |
---|
| 377 | esac |
---|
| 378 | eval "enable_$ac_feature='$ac_optarg'" ;; |
---|
| 379 | |
---|
| 380 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
| 381 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
| 382 | | --exec | --exe | --ex) |
---|
| 383 | ac_prev=exec_prefix ;; |
---|
| 384 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
| 385 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
| 386 | | --exec=* | --exe=* | --ex=*) |
---|
| 387 | exec_prefix=$ac_optarg ;; |
---|
| 388 | |
---|
| 389 | -gas | --gas | --ga | --g) |
---|
| 390 | # Obsolete; use --with-gas. |
---|
| 391 | with_gas=yes ;; |
---|
| 392 | |
---|
| 393 | -help | --help | --hel | --he | -h) |
---|
| 394 | ac_init_help=long ;; |
---|
| 395 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
| 396 | ac_init_help=recursive ;; |
---|
| 397 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
| 398 | ac_init_help=short ;; |
---|
| 399 | |
---|
| 400 | -host | --host | --hos | --ho) |
---|
| 401 | ac_prev=host_alias ;; |
---|
| 402 | -host=* | --host=* | --hos=* | --ho=*) |
---|
| 403 | host_alias=$ac_optarg ;; |
---|
| 404 | |
---|
| 405 | -includedir | --includedir | --includedi | --included | --include \ |
---|
| 406 | | --includ | --inclu | --incl | --inc) |
---|
| 407 | ac_prev=includedir ;; |
---|
| 408 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
| 409 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
| 410 | includedir=$ac_optarg ;; |
---|
| 411 | |
---|
| 412 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
| 413 | ac_prev=infodir ;; |
---|
| 414 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
| 415 | infodir=$ac_optarg ;; |
---|
| 416 | |
---|
| 417 | -libdir | --libdir | --libdi | --libd) |
---|
| 418 | ac_prev=libdir ;; |
---|
| 419 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
| 420 | libdir=$ac_optarg ;; |
---|
| 421 | |
---|
| 422 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
| 423 | | --libexe | --libex | --libe) |
---|
| 424 | ac_prev=libexecdir ;; |
---|
| 425 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
| 426 | | --libexe=* | --libex=* | --libe=*) |
---|
| 427 | libexecdir=$ac_optarg ;; |
---|
| 428 | |
---|
| 429 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
| 430 | | --localstate | --localstat | --localsta | --localst \ |
---|
| 431 | | --locals | --local | --loca | --loc | --lo) |
---|
| 432 | ac_prev=localstatedir ;; |
---|
| 433 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
| 434 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
---|
| 435 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
---|
| 436 | localstatedir=$ac_optarg ;; |
---|
| 437 | |
---|
| 438 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
| 439 | ac_prev=mandir ;; |
---|
| 440 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
| 441 | mandir=$ac_optarg ;; |
---|
| 442 | |
---|
| 443 | -nfp | --nfp | --nf) |
---|
| 444 | # Obsolete; use --without-fp. |
---|
| 445 | with_fp=no ;; |
---|
| 446 | |
---|
| 447 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
| 448 | | --no-cr | --no-c | -n) |
---|
| 449 | no_create=yes ;; |
---|
| 450 | |
---|
| 451 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 452 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
| 453 | no_recursion=yes ;; |
---|
| 454 | |
---|
| 455 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
| 456 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
| 457 | | --oldin | --oldi | --old | --ol | --o) |
---|
| 458 | ac_prev=oldincludedir ;; |
---|
| 459 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
| 460 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
| 461 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
| 462 | oldincludedir=$ac_optarg ;; |
---|
| 463 | |
---|
| 464 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 465 | ac_prev=prefix ;; |
---|
| 466 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
| 467 | prefix=$ac_optarg ;; |
---|
| 468 | |
---|
| 469 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
| 470 | | --program-pre | --program-pr | --program-p) |
---|
| 471 | ac_prev=program_prefix ;; |
---|
| 472 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
| 473 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
| 474 | program_prefix=$ac_optarg ;; |
---|
| 475 | |
---|
| 476 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
| 477 | | --program-suf | --program-su | --program-s) |
---|
| 478 | ac_prev=program_suffix ;; |
---|
| 479 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
| 480 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
| 481 | program_suffix=$ac_optarg ;; |
---|
| 482 | |
---|
| 483 | -program-transform-name | --program-transform-name \ |
---|
| 484 | | --program-transform-nam | --program-transform-na \ |
---|
| 485 | | --program-transform-n | --program-transform- \ |
---|
| 486 | | --program-transform | --program-transfor \ |
---|
| 487 | | --program-transfo | --program-transf \ |
---|
| 488 | | --program-trans | --program-tran \ |
---|
| 489 | | --progr-tra | --program-tr | --program-t) |
---|
| 490 | ac_prev=program_transform_name ;; |
---|
| 491 | -program-transform-name=* | --program-transform-name=* \ |
---|
| 492 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
| 493 | | --program-transform-n=* | --program-transform-=* \ |
---|
| 494 | | --program-transform=* | --program-transfor=* \ |
---|
| 495 | | --program-transfo=* | --program-transf=* \ |
---|
| 496 | | --program-trans=* | --program-tran=* \ |
---|
| 497 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
| 498 | program_transform_name=$ac_optarg ;; |
---|
| 499 | |
---|
| 500 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 501 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 502 | silent=yes ;; |
---|
| 503 | |
---|
| 504 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
| 505 | ac_prev=sbindir ;; |
---|
| 506 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
| 507 | | --sbi=* | --sb=*) |
---|
| 508 | sbindir=$ac_optarg ;; |
---|
| 509 | |
---|
| 510 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
| 511 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
| 512 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
| 513 | | --sha | --sh) |
---|
| 514 | ac_prev=sharedstatedir ;; |
---|
| 515 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
| 516 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
| 517 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
| 518 | | --sha=* | --sh=*) |
---|
| 519 | sharedstatedir=$ac_optarg ;; |
---|
| 520 | |
---|
| 521 | -site | --site | --sit) |
---|
| 522 | ac_prev=site ;; |
---|
| 523 | -site=* | --site=* | --sit=*) |
---|
| 524 | site=$ac_optarg ;; |
---|
| 525 | |
---|
| 526 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 527 | ac_prev=srcdir ;; |
---|
| 528 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 529 | srcdir=$ac_optarg ;; |
---|
| 530 | |
---|
| 531 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
| 532 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
| 533 | ac_prev=sysconfdir ;; |
---|
| 534 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
| 535 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
| 536 | sysconfdir=$ac_optarg ;; |
---|
| 537 | |
---|
| 538 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
| 539 | ac_prev=target_alias ;; |
---|
| 540 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
| 541 | target_alias=$ac_optarg ;; |
---|
| 542 | |
---|
| 543 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
| 544 | verbose=yes ;; |
---|
| 545 | |
---|
| 546 | -version | --version | --versio | --versi | --vers | -V) |
---|
| 547 | ac_init_version=: ;; |
---|
| 548 | |
---|
| 549 | -with-* | --with-*) |
---|
| 550 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
| 551 | # Reject names that are not valid shell variable names. |
---|
| 552 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 553 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
| 554 | { (exit 1); exit 1; }; } |
---|
| 555 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
| 556 | case $ac_option in |
---|
| 557 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
| 558 | *) ac_optarg=yes ;; |
---|
| 559 | esac |
---|
| 560 | eval "with_$ac_package='$ac_optarg'" ;; |
---|
| 561 | |
---|
| 562 | -without-* | --without-*) |
---|
| 563 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
| 564 | # Reject names that are not valid shell variable names. |
---|
| 565 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
| 566 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
| 567 | { (exit 1); exit 1; }; } |
---|
| 568 | ac_package=`echo $ac_package | sed 's/-/_/g'` |
---|
| 569 | eval "with_$ac_package=no" ;; |
---|
| 570 | |
---|
| 571 | --x) |
---|
| 572 | # Obsolete; use --with-x. |
---|
| 573 | with_x=yes ;; |
---|
| 574 | |
---|
| 575 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
| 576 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
| 577 | ac_prev=x_includes ;; |
---|
| 578 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
| 579 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
| 580 | x_includes=$ac_optarg ;; |
---|
| 581 | |
---|
| 582 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
| 583 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
| 584 | ac_prev=x_libraries ;; |
---|
| 585 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
| 586 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
| 587 | x_libraries=$ac_optarg ;; |
---|
| 588 | |
---|
| 589 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
---|
| 590 | Try \`$0 --help' for more information." >&2 |
---|
| 591 | { (exit 1); exit 1; }; } |
---|
| 592 | ;; |
---|
| 593 | |
---|
| 594 | *=*) |
---|
| 595 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
| 596 | # Reject names that are not valid shell variable names. |
---|
| 597 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
| 598 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
| 599 | { (exit 1); exit 1; }; } |
---|
| 600 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
---|
| 601 | eval "$ac_envvar='$ac_optarg'" |
---|
| 602 | export $ac_envvar ;; |
---|
| 603 | |
---|
| 604 | *) |
---|
| 605 | # FIXME: should be removed in autoconf 3.0. |
---|
| 606 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
| 607 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
| 608 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
| 609 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
| 610 | ;; |
---|
| 611 | |
---|
| 612 | esac |
---|
| 613 | done |
---|
| 614 | |
---|
| 615 | if test -n "$ac_prev"; then |
---|
| 616 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
| 617 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
| 618 | { (exit 1); exit 1; }; } |
---|
| 619 | fi |
---|
| 620 | |
---|
| 621 | # Be sure to have absolute paths. |
---|
| 622 | for ac_var in exec_prefix prefix |
---|
| 623 | do |
---|
| 624 | eval ac_val=$`echo $ac_var` |
---|
| 625 | case $ac_val in |
---|
| 626 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
---|
| 627 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
| 628 | { (exit 1); exit 1; }; };; |
---|
| 629 | esac |
---|
| 630 | done |
---|
| 631 | |
---|
| 632 | # Be sure to have absolute paths. |
---|
| 633 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
---|
| 634 | localstatedir libdir includedir oldincludedir infodir mandir |
---|
| 635 | do |
---|
| 636 | eval ac_val=$`echo $ac_var` |
---|
| 637 | case $ac_val in |
---|
| 638 | [\\/$]* | ?:[\\/]* ) ;; |
---|
| 639 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
| 640 | { (exit 1); exit 1; }; };; |
---|
| 641 | esac |
---|
| 642 | done |
---|
| 643 | |
---|
| 644 | # There might be people who depend on the old broken behavior: `$host' |
---|
| 645 | # used to hold the argument of --host etc. |
---|
| 646 | # FIXME: To remove some day. |
---|
| 647 | build=$build_alias |
---|
| 648 | host=$host_alias |
---|
| 649 | target=$target_alias |
---|
| 650 | |
---|
| 651 | # FIXME: To remove some day. |
---|
| 652 | if test "x$host_alias" != x; then |
---|
| 653 | if test "x$build_alias" = x; then |
---|
| 654 | cross_compiling=maybe |
---|
| 655 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
| 656 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
| 657 | elif test "x$build_alias" != "x$host_alias"; then |
---|
| 658 | cross_compiling=yes |
---|
| 659 | fi |
---|
| 660 | fi |
---|
| 661 | |
---|
| 662 | ac_tool_prefix= |
---|
| 663 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
| 664 | |
---|
| 665 | test "$silent" = yes && exec 6>/dev/null |
---|
| 666 | |
---|
| 667 | |
---|
| 668 | # Find the source files, if location was not specified. |
---|
| 669 | if test -z "$srcdir"; then |
---|
| 670 | ac_srcdir_defaulted=yes |
---|
| 671 | # Try the directory containing this script, then its parent. |
---|
| 672 | ac_confdir=`(dirname "$0") 2>/dev/null || |
---|
| 673 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 674 | X"$0" : 'X\(//\)[^/]' \| \ |
---|
| 675 | X"$0" : 'X\(//\)$' \| \ |
---|
| 676 | X"$0" : 'X\(/\)' \| \ |
---|
| 677 | . : '\(.\)' 2>/dev/null || |
---|
| 678 | echo X"$0" | |
---|
| 679 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
| 680 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
| 681 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
| 682 | /^X\(\/\).*/{ s//\1/; q; } |
---|
| 683 | s/.*/./; q'` |
---|
| 684 | srcdir=$ac_confdir |
---|
| 685 | if test ! -r $srcdir/$ac_unique_file; then |
---|
| 686 | srcdir=.. |
---|
| 687 | fi |
---|
| 688 | else |
---|
| 689 | ac_srcdir_defaulted=no |
---|
| 690 | fi |
---|
| 691 | if test ! -r $srcdir/$ac_unique_file; then |
---|
| 692 | if test "$ac_srcdir_defaulted" = yes; then |
---|
| 693 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
---|
| 694 | { (exit 1); exit 1; }; } |
---|
| 695 | else |
---|
| 696 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
| 697 | { (exit 1); exit 1; }; } |
---|
| 698 | fi |
---|
| 699 | fi |
---|
| 700 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
---|
| 701 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
---|
| 702 | { (exit 1); exit 1; }; } |
---|
| 703 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
---|
| 704 | ac_env_build_alias_set=${build_alias+set} |
---|
| 705 | ac_env_build_alias_value=$build_alias |
---|
| 706 | ac_cv_env_build_alias_set=${build_alias+set} |
---|
| 707 | ac_cv_env_build_alias_value=$build_alias |
---|
| 708 | ac_env_host_alias_set=${host_alias+set} |
---|
| 709 | ac_env_host_alias_value=$host_alias |
---|
| 710 | ac_cv_env_host_alias_set=${host_alias+set} |
---|
| 711 | ac_cv_env_host_alias_value=$host_alias |
---|
| 712 | ac_env_target_alias_set=${target_alias+set} |
---|
| 713 | ac_env_target_alias_value=$target_alias |
---|
| 714 | ac_cv_env_target_alias_set=${target_alias+set} |
---|
| 715 | ac_cv_env_target_alias_value=$target_alias |
---|
[22] | 716 | ac_env_CC_set=${CC+set} |
---|
| 717 | ac_env_CC_value=$CC |
---|
| 718 | ac_cv_env_CC_set=${CC+set} |
---|
| 719 | ac_cv_env_CC_value=$CC |
---|
| 720 | ac_env_CFLAGS_set=${CFLAGS+set} |
---|
| 721 | ac_env_CFLAGS_value=$CFLAGS |
---|
| 722 | ac_cv_env_CFLAGS_set=${CFLAGS+set} |
---|
| 723 | ac_cv_env_CFLAGS_value=$CFLAGS |
---|
| 724 | ac_env_LDFLAGS_set=${LDFLAGS+set} |
---|
| 725 | ac_env_LDFLAGS_value=$LDFLAGS |
---|
| 726 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
---|
| 727 | ac_cv_env_LDFLAGS_value=$LDFLAGS |
---|
| 728 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
---|
| 729 | ac_env_CPPFLAGS_value=$CPPFLAGS |
---|
| 730 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
---|
| 731 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
---|
| 732 | ac_env_CPP_set=${CPP+set} |
---|
| 733 | ac_env_CPP_value=$CPP |
---|
| 734 | ac_cv_env_CPP_set=${CPP+set} |
---|
| 735 | ac_cv_env_CPP_value=$CPP |
---|
[21] | 736 | |
---|
| 737 | # |
---|
| 738 | # Report the --help message. |
---|
| 739 | # |
---|
| 740 | if test "$ac_init_help" = "long"; then |
---|
| 741 | # Omit some internal or obsolete options to make the list less imposing. |
---|
| 742 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
| 743 | cat <<_ACEOF |
---|
| 744 | \`configure' configures this package to adapt to many kinds of systems. |
---|
| 745 | |
---|
| 746 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
| 747 | |
---|
| 748 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
| 749 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
| 750 | |
---|
| 751 | Defaults for the options are specified in brackets. |
---|
| 752 | |
---|
| 753 | Configuration: |
---|
| 754 | -h, --help display this help and exit |
---|
| 755 | --help=short display options specific to this package |
---|
| 756 | --help=recursive display the short help of all the included packages |
---|
| 757 | -V, --version display version information and exit |
---|
| 758 | -q, --quiet, --silent do not print \`checking...' messages |
---|
| 759 | --cache-file=FILE cache test results in FILE [disabled] |
---|
| 760 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
| 761 | -n, --no-create do not create output files |
---|
| 762 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
| 763 | |
---|
| 764 | _ACEOF |
---|
| 765 | |
---|
| 766 | cat <<_ACEOF |
---|
| 767 | Installation directories: |
---|
| 768 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
| 769 | [$ac_default_prefix] |
---|
| 770 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
| 771 | [PREFIX] |
---|
| 772 | |
---|
| 773 | By default, \`make install' will install all the files in |
---|
| 774 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
| 775 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
| 776 | for instance \`--prefix=\$HOME'. |
---|
| 777 | |
---|
| 778 | For better control, use the options below. |
---|
| 779 | |
---|
| 780 | Fine tuning of the installation directories: |
---|
| 781 | --bindir=DIR user executables [EPREFIX/bin] |
---|
| 782 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
| 783 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
| 784 | --datadir=DIR read-only architecture-independent data [PREFIX/share] |
---|
| 785 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
| 786 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
| 787 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
| 788 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
| 789 | --includedir=DIR C header files [PREFIX/include] |
---|
| 790 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
| 791 | --infodir=DIR info documentation [PREFIX/info] |
---|
| 792 | --mandir=DIR man documentation [PREFIX/man] |
---|
| 793 | _ACEOF |
---|
| 794 | |
---|
| 795 | cat <<\_ACEOF |
---|
| 796 | _ACEOF |
---|
| 797 | fi |
---|
| 798 | |
---|
| 799 | if test -n "$ac_init_help"; then |
---|
| 800 | |
---|
| 801 | cat <<\_ACEOF |
---|
| 802 | |
---|
[22] | 803 | Optional Packages: |
---|
| 804 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
| 805 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
| 806 | |
---|
| 807 | --with-trac_user=USER Specify the name of the user that trac use, |
---|
| 808 | default=www-data |
---|
| 809 | |
---|
| 810 | --with-mta_user=USER Specify the name of the user that your MTA use, |
---|
| 811 | default=nobody |
---|
| 812 | |
---|
| 813 | Some influential environment variables: |
---|
| 814 | CC C compiler command |
---|
| 815 | CFLAGS C compiler flags |
---|
| 816 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
| 817 | nonstandard directory <lib dir> |
---|
| 818 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
---|
| 819 | headers in a nonstandard directory <include dir> |
---|
| 820 | CPP C preprocessor |
---|
| 821 | |
---|
| 822 | Use these variables to override the choices made by `configure' or to help |
---|
| 823 | it to find libraries and programs with nonstandard names/locations. |
---|
| 824 | |
---|
[21] | 825 | _ACEOF |
---|
| 826 | fi |
---|
| 827 | |
---|
| 828 | if test "$ac_init_help" = "recursive"; then |
---|
| 829 | # If there are subdirs, report their specific --help. |
---|
| 830 | ac_popdir=`pwd` |
---|
| 831 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
| 832 | test -d $ac_dir || continue |
---|
| 833 | ac_builddir=. |
---|
| 834 | |
---|
| 835 | if test "$ac_dir" != .; then |
---|
| 836 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
| 837 | # A "../" for each directory in $ac_dir_suffix. |
---|
| 838 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
| 839 | else |
---|
| 840 | ac_dir_suffix= ac_top_builddir= |
---|
| 841 | fi |
---|
| 842 | |
---|
| 843 | case $srcdir in |
---|
| 844 | .) # No --srcdir option. We are building in place. |
---|
| 845 | ac_srcdir=. |
---|
| 846 | if test -z "$ac_top_builddir"; then |
---|
| 847 | ac_top_srcdir=. |
---|
| 848 | else |
---|
| 849 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
| 850 | fi ;; |
---|
| 851 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
| 852 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 853 | ac_top_srcdir=$srcdir ;; |
---|
| 854 | *) # Relative path. |
---|
| 855 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
| 856 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
| 857 | esac |
---|
| 858 | |
---|
| 859 | # Do not use `cd foo && pwd` to compute absolute paths, because |
---|
| 860 | # the directories may not exist. |
---|
| 861 | case `pwd` in |
---|
| 862 | .) ac_abs_builddir="$ac_dir";; |
---|
| 863 | *) |
---|
| 864 | case "$ac_dir" in |
---|
| 865 | .) ac_abs_builddir=`pwd`;; |
---|
| 866 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
---|
| 867 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
---|
| 868 | esac;; |
---|
| 869 | esac |
---|
| 870 | case $ac_abs_builddir in |
---|
| 871 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
| 872 | *) |
---|
| 873 | case ${ac_top_builddir}. in |
---|
| 874 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
---|
| 875 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
| 876 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
---|
| 877 | esac;; |
---|
| 878 | esac |
---|
| 879 | case $ac_abs_builddir in |
---|
| 880 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
| 881 | *) |
---|
| 882 | case $ac_srcdir in |
---|
| 883 | .) ac_abs_srcdir=$ac_abs_builddir;; |
---|
| 884 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
| 885 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
---|
| 886 | esac;; |
---|
| 887 | esac |
---|
| 888 | case $ac_abs_builddir in |
---|
| 889 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
| 890 | *) |
---|
| 891 | case $ac_top_srcdir in |
---|
| 892 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
---|
| 893 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
| 894 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
---|
| 895 | esac;; |
---|
| 896 | esac |
---|
| 897 | |
---|
| 898 | cd $ac_dir |
---|
| 899 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
| 900 | if test -f $ac_srcdir/configure.gnu; then |
---|
| 901 | echo |
---|
| 902 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
---|
| 903 | elif test -f $ac_srcdir/configure; then |
---|
| 904 | echo |
---|
| 905 | $SHELL $ac_srcdir/configure --help=recursive |
---|
| 906 | elif test -f $ac_srcdir/configure.ac || |
---|
| 907 | test -f $ac_srcdir/configure.in; then |
---|
| 908 | echo |
---|
| 909 | $ac_configure --help |
---|
| 910 | else |
---|
| 911 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
| 912 | fi |
---|
| 913 | cd "$ac_popdir" |
---|
| 914 | done |
---|
| 915 | fi |
---|
| 916 | |
---|
| 917 | test -n "$ac_init_help" && exit 0 |
---|
| 918 | if $ac_init_version; then |
---|
| 919 | cat <<\_ACEOF |
---|
| 920 | |
---|
| 921 | Copyright (C) 2003 Free Software Foundation, Inc. |
---|
| 922 | This configure script is free software; the Free Software Foundation |
---|
| 923 | gives unlimited permission to copy, distribute and modify it. |
---|
| 924 | _ACEOF |
---|
| 925 | exit 0 |
---|
| 926 | fi |
---|
| 927 | exec 5>config.log |
---|
| 928 | cat >&5 <<_ACEOF |
---|
| 929 | This file contains any messages produced by compilers while |
---|
| 930 | running configure, to aid debugging if configure makes a mistake. |
---|
| 931 | |
---|
| 932 | It was created by $as_me, which was |
---|
| 933 | generated by GNU Autoconf 2.59. Invocation command line was |
---|
| 934 | |
---|
| 935 | $ $0 $@ |
---|
| 936 | |
---|
| 937 | _ACEOF |
---|
| 938 | { |
---|
| 939 | cat <<_ASUNAME |
---|
| 940 | ## --------- ## |
---|
| 941 | ## Platform. ## |
---|
| 942 | ## --------- ## |
---|
| 943 | |
---|
| 944 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 945 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
| 946 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
| 947 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
| 948 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
| 949 | |
---|
| 950 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
| 951 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
| 952 | |
---|
| 953 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
| 954 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
| 955 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
| 956 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
---|
| 957 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
| 958 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
| 959 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
| 960 | |
---|
| 961 | _ASUNAME |
---|
| 962 | |
---|
| 963 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 964 | for as_dir in $PATH |
---|
| 965 | do |
---|
| 966 | IFS=$as_save_IFS |
---|
| 967 | test -z "$as_dir" && as_dir=. |
---|
| 968 | echo "PATH: $as_dir" |
---|
| 969 | done |
---|
| 970 | |
---|
| 971 | } >&5 |
---|
| 972 | |
---|
| 973 | cat >&5 <<_ACEOF |
---|
| 974 | |
---|
| 975 | |
---|
| 976 | ## ----------- ## |
---|
| 977 | ## Core tests. ## |
---|
| 978 | ## ----------- ## |
---|
| 979 | |
---|
| 980 | _ACEOF |
---|
| 981 | |
---|
| 982 | |
---|
| 983 | # Keep a trace of the command line. |
---|
| 984 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
| 985 | # Strip out --silent because we don't want to record it for future runs. |
---|
| 986 | # Also quote any args containing shell meta-characters. |
---|
| 987 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
| 988 | ac_configure_args= |
---|
| 989 | ac_configure_args0= |
---|
| 990 | ac_configure_args1= |
---|
| 991 | ac_sep= |
---|
| 992 | ac_must_keep_next=false |
---|
| 993 | for ac_pass in 1 2 |
---|
| 994 | do |
---|
| 995 | for ac_arg |
---|
| 996 | do |
---|
| 997 | case $ac_arg in |
---|
| 998 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
| 999 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 1000 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 1001 | continue ;; |
---|
| 1002 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
| 1003 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1004 | esac |
---|
| 1005 | case $ac_pass in |
---|
| 1006 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
| 1007 | 2) |
---|
| 1008 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
| 1009 | if test $ac_must_keep_next = true; then |
---|
| 1010 | ac_must_keep_next=false # Got value, back to normal. |
---|
| 1011 | else |
---|
| 1012 | case $ac_arg in |
---|
| 1013 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
| 1014 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
| 1015 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
| 1016 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
| 1017 | case "$ac_configure_args0 " in |
---|
| 1018 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
| 1019 | esac |
---|
| 1020 | ;; |
---|
| 1021 | -* ) ac_must_keep_next=true ;; |
---|
| 1022 | esac |
---|
| 1023 | fi |
---|
| 1024 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
---|
| 1025 | # Get rid of the leading space. |
---|
| 1026 | ac_sep=" " |
---|
| 1027 | ;; |
---|
| 1028 | esac |
---|
| 1029 | done |
---|
| 1030 | done |
---|
| 1031 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
| 1032 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
| 1033 | |
---|
| 1034 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
| 1035 | # config.log. We remove comments because anyway the quotes in there |
---|
| 1036 | # would cause problems or look ugly. |
---|
| 1037 | # WARNING: Be sure not to use single quotes in there, as some shells, |
---|
| 1038 | # such as our DU 5.0 friend, will then `close' the trap. |
---|
| 1039 | trap 'exit_status=$? |
---|
| 1040 | # Save into config.log some information that might help in debugging. |
---|
| 1041 | { |
---|
| 1042 | echo |
---|
| 1043 | |
---|
| 1044 | cat <<\_ASBOX |
---|
| 1045 | ## ---------------- ## |
---|
| 1046 | ## Cache variables. ## |
---|
| 1047 | ## ---------------- ## |
---|
| 1048 | _ASBOX |
---|
| 1049 | echo |
---|
| 1050 | # The following way of writing the cache mishandles newlines in values, |
---|
| 1051 | { |
---|
| 1052 | (set) 2>&1 | |
---|
| 1053 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
---|
| 1054 | *ac_space=\ *) |
---|
| 1055 | sed -n \ |
---|
| 1056 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
---|
| 1057 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
---|
| 1058 | ;; |
---|
| 1059 | *) |
---|
| 1060 | sed -n \ |
---|
| 1061 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
| 1062 | ;; |
---|
| 1063 | esac; |
---|
| 1064 | } |
---|
| 1065 | echo |
---|
| 1066 | |
---|
| 1067 | cat <<\_ASBOX |
---|
| 1068 | ## ----------------- ## |
---|
| 1069 | ## Output variables. ## |
---|
| 1070 | ## ----------------- ## |
---|
| 1071 | _ASBOX |
---|
| 1072 | echo |
---|
| 1073 | for ac_var in $ac_subst_vars |
---|
| 1074 | do |
---|
| 1075 | eval ac_val=$`echo $ac_var` |
---|
| 1076 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
| 1077 | done | sort |
---|
| 1078 | echo |
---|
| 1079 | |
---|
| 1080 | if test -n "$ac_subst_files"; then |
---|
| 1081 | cat <<\_ASBOX |
---|
| 1082 | ## ------------- ## |
---|
| 1083 | ## Output files. ## |
---|
| 1084 | ## ------------- ## |
---|
| 1085 | _ASBOX |
---|
| 1086 | echo |
---|
| 1087 | for ac_var in $ac_subst_files |
---|
| 1088 | do |
---|
| 1089 | eval ac_val=$`echo $ac_var` |
---|
| 1090 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
| 1091 | done | sort |
---|
| 1092 | echo |
---|
| 1093 | fi |
---|
| 1094 | |
---|
| 1095 | if test -s confdefs.h; then |
---|
| 1096 | cat <<\_ASBOX |
---|
| 1097 | ## ----------- ## |
---|
| 1098 | ## confdefs.h. ## |
---|
| 1099 | ## ----------- ## |
---|
| 1100 | _ASBOX |
---|
| 1101 | echo |
---|
| 1102 | sed "/^$/d" confdefs.h | sort |
---|
| 1103 | echo |
---|
| 1104 | fi |
---|
| 1105 | test "$ac_signal" != 0 && |
---|
| 1106 | echo "$as_me: caught signal $ac_signal" |
---|
| 1107 | echo "$as_me: exit $exit_status" |
---|
| 1108 | } >&5 |
---|
| 1109 | rm -f core *.core && |
---|
| 1110 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
---|
| 1111 | exit $exit_status |
---|
| 1112 | ' 0 |
---|
| 1113 | for ac_signal in 1 2 13 15; do |
---|
| 1114 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
| 1115 | done |
---|
| 1116 | ac_signal=0 |
---|
| 1117 | |
---|
| 1118 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
| 1119 | rm -rf conftest* confdefs.h |
---|
| 1120 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
---|
| 1121 | echo >confdefs.h |
---|
| 1122 | |
---|
| 1123 | # Predefined preprocessor variables. |
---|
| 1124 | |
---|
| 1125 | cat >>confdefs.h <<_ACEOF |
---|
| 1126 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
| 1127 | _ACEOF |
---|
| 1128 | |
---|
| 1129 | |
---|
| 1130 | cat >>confdefs.h <<_ACEOF |
---|
| 1131 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
| 1132 | _ACEOF |
---|
| 1133 | |
---|
| 1134 | |
---|
| 1135 | cat >>confdefs.h <<_ACEOF |
---|
| 1136 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
| 1137 | _ACEOF |
---|
| 1138 | |
---|
| 1139 | |
---|
| 1140 | cat >>confdefs.h <<_ACEOF |
---|
| 1141 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
| 1142 | _ACEOF |
---|
| 1143 | |
---|
| 1144 | |
---|
| 1145 | cat >>confdefs.h <<_ACEOF |
---|
| 1146 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
| 1147 | _ACEOF |
---|
| 1148 | |
---|
| 1149 | |
---|
| 1150 | # Let the site file select an alternate cache file if it wants to. |
---|
| 1151 | # Prefer explicitly selected file to automatically selected ones. |
---|
| 1152 | if test -z "$CONFIG_SITE"; then |
---|
| 1153 | if test "x$prefix" != xNONE; then |
---|
| 1154 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
| 1155 | else |
---|
| 1156 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
| 1157 | fi |
---|
| 1158 | fi |
---|
| 1159 | for ac_site_file in $CONFIG_SITE; do |
---|
| 1160 | if test -r "$ac_site_file"; then |
---|
| 1161 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
| 1162 | echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
| 1163 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
| 1164 | . "$ac_site_file" |
---|
| 1165 | fi |
---|
| 1166 | done |
---|
| 1167 | |
---|
| 1168 | if test -r "$cache_file"; then |
---|
| 1169 | # Some versions of bash will fail to source /dev/null (special |
---|
| 1170 | # files actually), so we avoid doing that. |
---|
| 1171 | if test -f "$cache_file"; then |
---|
| 1172 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
| 1173 | echo "$as_me: loading cache $cache_file" >&6;} |
---|
| 1174 | case $cache_file in |
---|
| 1175 | [\\/]* | ?:[\\/]* ) . $cache_file;; |
---|
| 1176 | *) . ./$cache_file;; |
---|
| 1177 | esac |
---|
| 1178 | fi |
---|
| 1179 | else |
---|
| 1180 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
| 1181 | echo "$as_me: creating cache $cache_file" >&6;} |
---|
| 1182 | >$cache_file |
---|
| 1183 | fi |
---|
| 1184 | |
---|
| 1185 | # Check that the precious variables saved in the cache have kept the same |
---|
| 1186 | # value. |
---|
| 1187 | ac_cache_corrupted=false |
---|
| 1188 | for ac_var in `(set) 2>&1 | |
---|
| 1189 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
---|
| 1190 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
| 1191 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
| 1192 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
---|
| 1193 | eval ac_new_val="\$ac_env_${ac_var}_value" |
---|
| 1194 | case $ac_old_set,$ac_new_set in |
---|
| 1195 | set,) |
---|
| 1196 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
| 1197 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
| 1198 | ac_cache_corrupted=: ;; |
---|
| 1199 | ,set) |
---|
| 1200 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
| 1201 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
| 1202 | ac_cache_corrupted=: ;; |
---|
| 1203 | ,);; |
---|
| 1204 | *) |
---|
| 1205 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
| 1206 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
| 1207 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
| 1208 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
---|
| 1209 | echo "$as_me: former value: $ac_old_val" >&2;} |
---|
| 1210 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
---|
| 1211 | echo "$as_me: current value: $ac_new_val" >&2;} |
---|
| 1212 | ac_cache_corrupted=: |
---|
| 1213 | fi;; |
---|
| 1214 | esac |
---|
| 1215 | # Pass precious variables to config.status. |
---|
| 1216 | if test "$ac_new_set" = set; then |
---|
| 1217 | case $ac_new_val in |
---|
| 1218 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
| 1219 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1220 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
| 1221 | esac |
---|
| 1222 | case " $ac_configure_args " in |
---|
| 1223 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
| 1224 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
| 1225 | esac |
---|
| 1226 | fi |
---|
| 1227 | done |
---|
| 1228 | if $ac_cache_corrupted; then |
---|
| 1229 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
| 1230 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
| 1231 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
| 1232 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
| 1233 | { (exit 1); exit 1; }; } |
---|
| 1234 | fi |
---|
| 1235 | |
---|
| 1236 | ac_ext=c |
---|
| 1237 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1238 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1239 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1240 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 1241 | |
---|
| 1242 | |
---|
| 1243 | |
---|
| 1244 | |
---|
| 1245 | |
---|
| 1246 | |
---|
| 1247 | |
---|
| 1248 | |
---|
| 1249 | |
---|
| 1250 | |
---|
| 1251 | |
---|
| 1252 | |
---|
| 1253 | |
---|
| 1254 | |
---|
| 1255 | |
---|
| 1256 | |
---|
| 1257 | |
---|
| 1258 | |
---|
| 1259 | |
---|
| 1260 | |
---|
| 1261 | |
---|
| 1262 | |
---|
| 1263 | |
---|
| 1264 | |
---|
| 1265 | |
---|
| 1266 | |
---|
| 1267 | |
---|
[22] | 1268 | |
---|
| 1269 | |
---|
[24] | 1270 | |
---|
| 1271 | |
---|
| 1272 | |
---|
[21] | 1273 | # Find any Python interpreter. |
---|
| 1274 | for ac_prog in python python2 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 |
---|
| 1275 | do |
---|
| 1276 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 1277 | set dummy $ac_prog; ac_word=$2 |
---|
| 1278 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1279 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 1280 | if test "${ac_cv_path_PYTHON+set}" = set; then |
---|
| 1281 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1282 | else |
---|
| 1283 | case $PYTHON in |
---|
| 1284 | [\\/]* | ?:[\\/]*) |
---|
| 1285 | ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. |
---|
| 1286 | ;; |
---|
| 1287 | *) |
---|
| 1288 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1289 | for as_dir in $PATH |
---|
| 1290 | do |
---|
| 1291 | IFS=$as_save_IFS |
---|
| 1292 | test -z "$as_dir" && as_dir=. |
---|
| 1293 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1294 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 1295 | ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" |
---|
| 1296 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1297 | break 2 |
---|
| 1298 | fi |
---|
| 1299 | done |
---|
| 1300 | done |
---|
| 1301 | |
---|
| 1302 | ;; |
---|
| 1303 | esac |
---|
| 1304 | fi |
---|
| 1305 | PYTHON=$ac_cv_path_PYTHON |
---|
| 1306 | |
---|
| 1307 | if test -n "$PYTHON"; then |
---|
| 1308 | echo "$as_me:$LINENO: result: $PYTHON" >&5 |
---|
| 1309 | echo "${ECHO_T}$PYTHON" >&6 |
---|
| 1310 | else |
---|
| 1311 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1312 | echo "${ECHO_T}no" >&6 |
---|
| 1313 | fi |
---|
| 1314 | |
---|
| 1315 | test -n "$PYTHON" && break |
---|
| 1316 | done |
---|
| 1317 | |
---|
| 1318 | am_display_PYTHON=python |
---|
| 1319 | |
---|
| 1320 | |
---|
| 1321 | |
---|
| 1322 | echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 |
---|
| 1323 | echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6 |
---|
| 1324 | if test "${am_cv_python_version+set}" = set; then |
---|
| 1325 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1326 | else |
---|
| 1327 | am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` |
---|
| 1328 | fi |
---|
| 1329 | echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 |
---|
| 1330 | echo "${ECHO_T}$am_cv_python_version" >&6 |
---|
| 1331 | PYTHON_VERSION=$am_cv_python_version |
---|
| 1332 | |
---|
| 1333 | |
---|
| 1334 | |
---|
| 1335 | PYTHON_PREFIX='${prefix}' |
---|
| 1336 | |
---|
| 1337 | PYTHON_EXEC_PREFIX='${exec_prefix}' |
---|
| 1338 | |
---|
| 1339 | |
---|
| 1340 | |
---|
| 1341 | echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 |
---|
| 1342 | echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6 |
---|
| 1343 | if test "${am_cv_python_platform+set}" = set; then |
---|
| 1344 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1345 | else |
---|
| 1346 | am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` |
---|
| 1347 | fi |
---|
| 1348 | echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 |
---|
| 1349 | echo "${ECHO_T}$am_cv_python_platform" >&6 |
---|
| 1350 | PYTHON_PLATFORM=$am_cv_python_platform |
---|
| 1351 | |
---|
| 1352 | |
---|
| 1353 | |
---|
| 1354 | |
---|
| 1355 | echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5 |
---|
| 1356 | echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6 |
---|
| 1357 | if test "${am_cv_python_pythondir+set}" = set; then |
---|
| 1358 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1359 | else |
---|
| 1360 | am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || |
---|
| 1361 | echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` |
---|
| 1362 | fi |
---|
| 1363 | echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 |
---|
| 1364 | echo "${ECHO_T}$am_cv_python_pythondir" >&6 |
---|
| 1365 | pythondir=$am_cv_python_pythondir |
---|
| 1366 | |
---|
| 1367 | |
---|
| 1368 | |
---|
| 1369 | pkgpythondir=\${pythondir}/$PACKAGE |
---|
| 1370 | |
---|
| 1371 | |
---|
| 1372 | echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5 |
---|
| 1373 | echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6 |
---|
| 1374 | if test "${am_cv_python_pyexecdir+set}" = set; then |
---|
| 1375 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1376 | else |
---|
| 1377 | am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || |
---|
| 1378 | echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` |
---|
| 1379 | fi |
---|
| 1380 | echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 |
---|
| 1381 | echo "${ECHO_T}$am_cv_python_pyexecdir" >&6 |
---|
| 1382 | pyexecdir=$am_cv_python_pyexecdir |
---|
| 1383 | |
---|
| 1384 | |
---|
| 1385 | |
---|
| 1386 | pkgpyexecdir=\${pyexecdir}/$PACKAGE |
---|
| 1387 | |
---|
| 1388 | |
---|
[22] | 1389 | ac_ext=c |
---|
| 1390 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1391 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1392 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1393 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 1394 | if test -n "$ac_tool_prefix"; then |
---|
| 1395 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
| 1396 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
| 1397 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1398 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 1399 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 1400 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1401 | else |
---|
| 1402 | if test -n "$CC"; then |
---|
| 1403 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 1404 | else |
---|
| 1405 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1406 | for as_dir in $PATH |
---|
| 1407 | do |
---|
| 1408 | IFS=$as_save_IFS |
---|
| 1409 | test -z "$as_dir" && as_dir=. |
---|
| 1410 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1411 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 1412 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
| 1413 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1414 | break 2 |
---|
| 1415 | fi |
---|
| 1416 | done |
---|
| 1417 | done |
---|
[21] | 1418 | |
---|
[22] | 1419 | fi |
---|
| 1420 | fi |
---|
| 1421 | CC=$ac_cv_prog_CC |
---|
| 1422 | if test -n "$CC"; then |
---|
| 1423 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 1424 | echo "${ECHO_T}$CC" >&6 |
---|
| 1425 | else |
---|
| 1426 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1427 | echo "${ECHO_T}no" >&6 |
---|
| 1428 | fi |
---|
| 1429 | |
---|
| 1430 | fi |
---|
| 1431 | if test -z "$ac_cv_prog_CC"; then |
---|
| 1432 | ac_ct_CC=$CC |
---|
| 1433 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
| 1434 | set dummy gcc; ac_word=$2 |
---|
| 1435 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1436 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 1437 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
| 1438 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1439 | else |
---|
| 1440 | if test -n "$ac_ct_CC"; then |
---|
| 1441 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 1442 | else |
---|
| 1443 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1444 | for as_dir in $PATH |
---|
| 1445 | do |
---|
| 1446 | IFS=$as_save_IFS |
---|
| 1447 | test -z "$as_dir" && as_dir=. |
---|
| 1448 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1449 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 1450 | ac_cv_prog_ac_ct_CC="gcc" |
---|
| 1451 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1452 | break 2 |
---|
| 1453 | fi |
---|
| 1454 | done |
---|
| 1455 | done |
---|
| 1456 | |
---|
| 1457 | fi |
---|
| 1458 | fi |
---|
| 1459 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 1460 | if test -n "$ac_ct_CC"; then |
---|
| 1461 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
| 1462 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
| 1463 | else |
---|
| 1464 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1465 | echo "${ECHO_T}no" >&6 |
---|
| 1466 | fi |
---|
| 1467 | |
---|
| 1468 | CC=$ac_ct_CC |
---|
| 1469 | else |
---|
| 1470 | CC="$ac_cv_prog_CC" |
---|
| 1471 | fi |
---|
| 1472 | |
---|
| 1473 | if test -z "$CC"; then |
---|
| 1474 | if test -n "$ac_tool_prefix"; then |
---|
| 1475 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
| 1476 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
| 1477 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1478 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 1479 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 1480 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1481 | else |
---|
| 1482 | if test -n "$CC"; then |
---|
| 1483 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 1484 | else |
---|
| 1485 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1486 | for as_dir in $PATH |
---|
| 1487 | do |
---|
| 1488 | IFS=$as_save_IFS |
---|
| 1489 | test -z "$as_dir" && as_dir=. |
---|
| 1490 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1491 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 1492 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
| 1493 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1494 | break 2 |
---|
| 1495 | fi |
---|
| 1496 | done |
---|
| 1497 | done |
---|
| 1498 | |
---|
| 1499 | fi |
---|
| 1500 | fi |
---|
| 1501 | CC=$ac_cv_prog_CC |
---|
| 1502 | if test -n "$CC"; then |
---|
| 1503 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 1504 | echo "${ECHO_T}$CC" >&6 |
---|
| 1505 | else |
---|
| 1506 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1507 | echo "${ECHO_T}no" >&6 |
---|
| 1508 | fi |
---|
| 1509 | |
---|
| 1510 | fi |
---|
| 1511 | if test -z "$ac_cv_prog_CC"; then |
---|
| 1512 | ac_ct_CC=$CC |
---|
| 1513 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 1514 | set dummy cc; ac_word=$2 |
---|
| 1515 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1516 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 1517 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
| 1518 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1519 | else |
---|
| 1520 | if test -n "$ac_ct_CC"; then |
---|
| 1521 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 1522 | else |
---|
| 1523 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1524 | for as_dir in $PATH |
---|
| 1525 | do |
---|
| 1526 | IFS=$as_save_IFS |
---|
| 1527 | test -z "$as_dir" && as_dir=. |
---|
| 1528 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1529 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 1530 | ac_cv_prog_ac_ct_CC="cc" |
---|
| 1531 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1532 | break 2 |
---|
| 1533 | fi |
---|
| 1534 | done |
---|
| 1535 | done |
---|
| 1536 | |
---|
| 1537 | fi |
---|
| 1538 | fi |
---|
| 1539 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 1540 | if test -n "$ac_ct_CC"; then |
---|
| 1541 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
| 1542 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
| 1543 | else |
---|
| 1544 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1545 | echo "${ECHO_T}no" >&6 |
---|
| 1546 | fi |
---|
| 1547 | |
---|
| 1548 | CC=$ac_ct_CC |
---|
| 1549 | else |
---|
| 1550 | CC="$ac_cv_prog_CC" |
---|
| 1551 | fi |
---|
| 1552 | |
---|
| 1553 | fi |
---|
| 1554 | if test -z "$CC"; then |
---|
| 1555 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 1556 | set dummy cc; ac_word=$2 |
---|
| 1557 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1558 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 1559 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 1560 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1561 | else |
---|
| 1562 | if test -n "$CC"; then |
---|
| 1563 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 1564 | else |
---|
| 1565 | ac_prog_rejected=no |
---|
| 1566 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1567 | for as_dir in $PATH |
---|
| 1568 | do |
---|
| 1569 | IFS=$as_save_IFS |
---|
| 1570 | test -z "$as_dir" && as_dir=. |
---|
| 1571 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1572 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 1573 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
| 1574 | ac_prog_rejected=yes |
---|
| 1575 | continue |
---|
| 1576 | fi |
---|
| 1577 | ac_cv_prog_CC="cc" |
---|
| 1578 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1579 | break 2 |
---|
| 1580 | fi |
---|
| 1581 | done |
---|
| 1582 | done |
---|
| 1583 | |
---|
| 1584 | if test $ac_prog_rejected = yes; then |
---|
| 1585 | # We found a bogon in the path, so make sure we never use it. |
---|
| 1586 | set dummy $ac_cv_prog_CC |
---|
| 1587 | shift |
---|
| 1588 | if test $# != 0; then |
---|
| 1589 | # We chose a different compiler from the bogus one. |
---|
| 1590 | # However, it has the same basename, so the bogon will be chosen |
---|
| 1591 | # first if we set CC to just the basename; use the full file name. |
---|
| 1592 | shift |
---|
| 1593 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
| 1594 | fi |
---|
| 1595 | fi |
---|
| 1596 | fi |
---|
| 1597 | fi |
---|
| 1598 | CC=$ac_cv_prog_CC |
---|
| 1599 | if test -n "$CC"; then |
---|
| 1600 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 1601 | echo "${ECHO_T}$CC" >&6 |
---|
| 1602 | else |
---|
| 1603 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1604 | echo "${ECHO_T}no" >&6 |
---|
| 1605 | fi |
---|
| 1606 | |
---|
| 1607 | fi |
---|
| 1608 | if test -z "$CC"; then |
---|
| 1609 | if test -n "$ac_tool_prefix"; then |
---|
| 1610 | for ac_prog in cl |
---|
| 1611 | do |
---|
| 1612 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
| 1613 | set dummy $ac_tool_prefix$ac_prog; 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_CC+set}" = set; then |
---|
| 1617 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1618 | else |
---|
| 1619 | if test -n "$CC"; then |
---|
| 1620 | ac_cv_prog_CC="$CC" # 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_CC="$ac_tool_prefix$ac_prog" |
---|
| 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 | CC=$ac_cv_prog_CC |
---|
| 1639 | if test -n "$CC"; then |
---|
| 1640 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 1641 | echo "${ECHO_T}$CC" >&6 |
---|
| 1642 | else |
---|
| 1643 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1644 | echo "${ECHO_T}no" >&6 |
---|
| 1645 | fi |
---|
| 1646 | |
---|
| 1647 | test -n "$CC" && break |
---|
| 1648 | done |
---|
| 1649 | fi |
---|
| 1650 | if test -z "$CC"; then |
---|
| 1651 | ac_ct_CC=$CC |
---|
| 1652 | for ac_prog in cl |
---|
| 1653 | do |
---|
| 1654 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 1655 | set dummy $ac_prog; ac_word=$2 |
---|
| 1656 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1657 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
| 1658 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
| 1659 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1660 | else |
---|
| 1661 | if test -n "$ac_ct_CC"; then |
---|
| 1662 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 1663 | else |
---|
| 1664 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1665 | for as_dir in $PATH |
---|
| 1666 | do |
---|
| 1667 | IFS=$as_save_IFS |
---|
| 1668 | test -z "$as_dir" && as_dir=. |
---|
| 1669 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 1670 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
| 1671 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
| 1672 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1673 | break 2 |
---|
| 1674 | fi |
---|
| 1675 | done |
---|
| 1676 | done |
---|
| 1677 | |
---|
| 1678 | fi |
---|
| 1679 | fi |
---|
| 1680 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 1681 | if test -n "$ac_ct_CC"; then |
---|
| 1682 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
| 1683 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
| 1684 | else |
---|
| 1685 | echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1686 | echo "${ECHO_T}no" >&6 |
---|
| 1687 | fi |
---|
| 1688 | |
---|
| 1689 | test -n "$ac_ct_CC" && break |
---|
| 1690 | done |
---|
| 1691 | |
---|
| 1692 | CC=$ac_ct_CC |
---|
| 1693 | fi |
---|
| 1694 | |
---|
| 1695 | fi |
---|
| 1696 | |
---|
| 1697 | |
---|
| 1698 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
---|
| 1699 | See \`config.log' for more details." >&5 |
---|
| 1700 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
---|
| 1701 | See \`config.log' for more details." >&2;} |
---|
| 1702 | { (exit 1); exit 1; }; } |
---|
| 1703 | |
---|
| 1704 | # Provide some information about the compiler. |
---|
| 1705 | echo "$as_me:$LINENO:" \ |
---|
| 1706 | "checking for C compiler version" >&5 |
---|
| 1707 | ac_compiler=`set X $ac_compile; echo $2` |
---|
| 1708 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
---|
| 1709 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
---|
| 1710 | ac_status=$? |
---|
| 1711 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1712 | (exit $ac_status); } |
---|
| 1713 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
---|
| 1714 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
---|
| 1715 | ac_status=$? |
---|
| 1716 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1717 | (exit $ac_status); } |
---|
| 1718 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
---|
| 1719 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
---|
| 1720 | ac_status=$? |
---|
| 1721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1722 | (exit $ac_status); } |
---|
| 1723 | |
---|
| 1724 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 1725 | /* confdefs.h. */ |
---|
| 1726 | _ACEOF |
---|
| 1727 | cat confdefs.h >>conftest.$ac_ext |
---|
| 1728 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 1729 | /* end confdefs.h. */ |
---|
| 1730 | |
---|
| 1731 | int |
---|
| 1732 | main () |
---|
| 1733 | { |
---|
| 1734 | |
---|
| 1735 | ; |
---|
| 1736 | return 0; |
---|
| 1737 | } |
---|
| 1738 | _ACEOF |
---|
| 1739 | ac_clean_files_save=$ac_clean_files |
---|
| 1740 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
---|
| 1741 | # Try to create an executable without -o first, disregard a.out. |
---|
| 1742 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
| 1743 | # of exeext. |
---|
| 1744 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
---|
| 1745 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
---|
| 1746 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
| 1747 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
---|
| 1748 | (eval $ac_link_default) 2>&5 |
---|
| 1749 | ac_status=$? |
---|
| 1750 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1751 | (exit $ac_status); }; then |
---|
| 1752 | # Find the output, starting from the most likely. This scheme is |
---|
| 1753 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
---|
| 1754 | # resort. |
---|
| 1755 | |
---|
| 1756 | # Be careful to initialize this variable, since it used to be cached. |
---|
| 1757 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
---|
| 1758 | ac_cv_exeext= |
---|
| 1759 | # b.out is created by i960 compilers. |
---|
| 1760 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
---|
| 1761 | do |
---|
| 1762 | test -f "$ac_file" || continue |
---|
| 1763 | case $ac_file in |
---|
| 1764 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
---|
| 1765 | ;; |
---|
| 1766 | conftest.$ac_ext ) |
---|
| 1767 | # This is the source file. |
---|
| 1768 | ;; |
---|
| 1769 | [ab].out ) |
---|
| 1770 | # We found the default executable, but exeext='' is most |
---|
| 1771 | # certainly right. |
---|
| 1772 | break;; |
---|
| 1773 | *.* ) |
---|
| 1774 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 1775 | # FIXME: I believe we export ac_cv_exeext for Libtool, |
---|
| 1776 | # but it would be cool to find out if it's true. Does anybody |
---|
| 1777 | # maintain Libtool? --akim. |
---|
| 1778 | export ac_cv_exeext |
---|
| 1779 | break;; |
---|
| 1780 | * ) |
---|
| 1781 | break;; |
---|
| 1782 | esac |
---|
| 1783 | done |
---|
| 1784 | else |
---|
| 1785 | echo "$as_me: failed program was:" >&5 |
---|
| 1786 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1787 | |
---|
| 1788 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
---|
| 1789 | See \`config.log' for more details." >&5 |
---|
| 1790 | echo "$as_me: error: C compiler cannot create executables |
---|
| 1791 | See \`config.log' for more details." >&2;} |
---|
| 1792 | { (exit 77); exit 77; }; } |
---|
| 1793 | fi |
---|
| 1794 | |
---|
| 1795 | ac_exeext=$ac_cv_exeext |
---|
| 1796 | echo "$as_me:$LINENO: result: $ac_file" >&5 |
---|
| 1797 | echo "${ECHO_T}$ac_file" >&6 |
---|
| 1798 | |
---|
| 1799 | # Check the compiler produces executables we can run. If not, either |
---|
| 1800 | # the compiler is broken, or we cross compile. |
---|
| 1801 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
---|
| 1802 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
---|
| 1803 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
---|
| 1804 | # If not cross compiling, check that we can run a simple program. |
---|
| 1805 | if test "$cross_compiling" != yes; then |
---|
| 1806 | if { ac_try='./$ac_file' |
---|
| 1807 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 1808 | (eval $ac_try) 2>&5 |
---|
| 1809 | ac_status=$? |
---|
| 1810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1811 | (exit $ac_status); }; }; then |
---|
| 1812 | cross_compiling=no |
---|
| 1813 | else |
---|
| 1814 | if test "$cross_compiling" = maybe; then |
---|
| 1815 | cross_compiling=yes |
---|
| 1816 | else |
---|
| 1817 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
---|
| 1818 | If you meant to cross compile, use \`--host'. |
---|
| 1819 | See \`config.log' for more details." >&5 |
---|
| 1820 | echo "$as_me: error: cannot run C compiled programs. |
---|
| 1821 | If you meant to cross compile, use \`--host'. |
---|
| 1822 | See \`config.log' for more details." >&2;} |
---|
| 1823 | { (exit 1); exit 1; }; } |
---|
| 1824 | fi |
---|
| 1825 | fi |
---|
| 1826 | fi |
---|
| 1827 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
| 1828 | echo "${ECHO_T}yes" >&6 |
---|
| 1829 | |
---|
| 1830 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
---|
| 1831 | ac_clean_files=$ac_clean_files_save |
---|
| 1832 | # Check the compiler produces executables we can run. If not, either |
---|
| 1833 | # the compiler is broken, or we cross compile. |
---|
| 1834 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
---|
| 1835 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
---|
| 1836 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
---|
| 1837 | echo "${ECHO_T}$cross_compiling" >&6 |
---|
| 1838 | |
---|
| 1839 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
---|
| 1840 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
---|
| 1841 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
| 1842 | (eval $ac_link) 2>&5 |
---|
| 1843 | ac_status=$? |
---|
| 1844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1845 | (exit $ac_status); }; then |
---|
| 1846 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
| 1847 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
| 1848 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
| 1849 | # `rm'. |
---|
| 1850 | for ac_file in conftest.exe conftest conftest.*; do |
---|
| 1851 | test -f "$ac_file" || continue |
---|
| 1852 | case $ac_file in |
---|
| 1853 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
---|
| 1854 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 1855 | export ac_cv_exeext |
---|
| 1856 | break;; |
---|
| 1857 | * ) break;; |
---|
| 1858 | esac |
---|
| 1859 | done |
---|
| 1860 | else |
---|
| 1861 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
---|
| 1862 | See \`config.log' for more details." >&5 |
---|
| 1863 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
---|
| 1864 | See \`config.log' for more details." >&2;} |
---|
| 1865 | { (exit 1); exit 1; }; } |
---|
| 1866 | fi |
---|
| 1867 | |
---|
| 1868 | rm -f conftest$ac_cv_exeext |
---|
| 1869 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
---|
| 1870 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
---|
| 1871 | |
---|
| 1872 | rm -f conftest.$ac_ext |
---|
| 1873 | EXEEXT=$ac_cv_exeext |
---|
| 1874 | ac_exeext=$EXEEXT |
---|
| 1875 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
---|
| 1876 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
---|
| 1877 | if test "${ac_cv_objext+set}" = set; then |
---|
| 1878 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1879 | else |
---|
| 1880 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 1881 | /* confdefs.h. */ |
---|
| 1882 | _ACEOF |
---|
| 1883 | cat confdefs.h >>conftest.$ac_ext |
---|
| 1884 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 1885 | /* end confdefs.h. */ |
---|
| 1886 | |
---|
| 1887 | int |
---|
| 1888 | main () |
---|
| 1889 | { |
---|
| 1890 | |
---|
| 1891 | ; |
---|
| 1892 | return 0; |
---|
| 1893 | } |
---|
| 1894 | _ACEOF |
---|
| 1895 | rm -f conftest.o conftest.obj |
---|
| 1896 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 1897 | (eval $ac_compile) 2>&5 |
---|
| 1898 | ac_status=$? |
---|
| 1899 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1900 | (exit $ac_status); }; then |
---|
| 1901 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
---|
| 1902 | case $ac_file in |
---|
| 1903 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
---|
| 1904 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
| 1905 | break;; |
---|
| 1906 | esac |
---|
| 1907 | done |
---|
| 1908 | else |
---|
| 1909 | echo "$as_me: failed program was:" >&5 |
---|
| 1910 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1911 | |
---|
| 1912 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
---|
| 1913 | See \`config.log' for more details." >&5 |
---|
| 1914 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
---|
| 1915 | See \`config.log' for more details." >&2;} |
---|
| 1916 | { (exit 1); exit 1; }; } |
---|
| 1917 | fi |
---|
| 1918 | |
---|
| 1919 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
| 1920 | fi |
---|
| 1921 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
---|
| 1922 | echo "${ECHO_T}$ac_cv_objext" >&6 |
---|
| 1923 | OBJEXT=$ac_cv_objext |
---|
| 1924 | ac_objext=$OBJEXT |
---|
| 1925 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
---|
| 1926 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
---|
| 1927 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
---|
| 1928 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1929 | else |
---|
| 1930 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 1931 | /* confdefs.h. */ |
---|
| 1932 | _ACEOF |
---|
| 1933 | cat confdefs.h >>conftest.$ac_ext |
---|
| 1934 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 1935 | /* end confdefs.h. */ |
---|
| 1936 | |
---|
| 1937 | int |
---|
| 1938 | main () |
---|
| 1939 | { |
---|
| 1940 | #ifndef __GNUC__ |
---|
| 1941 | choke me |
---|
| 1942 | #endif |
---|
| 1943 | |
---|
| 1944 | ; |
---|
| 1945 | return 0; |
---|
| 1946 | } |
---|
| 1947 | _ACEOF |
---|
| 1948 | rm -f conftest.$ac_objext |
---|
| 1949 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 1950 | (eval $ac_compile) 2>conftest.er1 |
---|
| 1951 | ac_status=$? |
---|
| 1952 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 1953 | rm -f conftest.er1 |
---|
| 1954 | cat conftest.err >&5 |
---|
| 1955 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1956 | (exit $ac_status); } && |
---|
| 1957 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 1958 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 1959 | (eval $ac_try) 2>&5 |
---|
| 1960 | ac_status=$? |
---|
| 1961 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1962 | (exit $ac_status); }; } && |
---|
| 1963 | { ac_try='test -s conftest.$ac_objext' |
---|
| 1964 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 1965 | (eval $ac_try) 2>&5 |
---|
| 1966 | ac_status=$? |
---|
| 1967 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1968 | (exit $ac_status); }; }; then |
---|
| 1969 | ac_compiler_gnu=yes |
---|
| 1970 | else |
---|
| 1971 | echo "$as_me: failed program was:" >&5 |
---|
| 1972 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1973 | |
---|
| 1974 | ac_compiler_gnu=no |
---|
| 1975 | fi |
---|
| 1976 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1977 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
| 1978 | |
---|
| 1979 | fi |
---|
| 1980 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
---|
| 1981 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
---|
| 1982 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
---|
| 1983 | ac_test_CFLAGS=${CFLAGS+set} |
---|
| 1984 | ac_save_CFLAGS=$CFLAGS |
---|
| 1985 | CFLAGS="-g" |
---|
| 1986 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
---|
| 1987 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
---|
| 1988 | if test "${ac_cv_prog_cc_g+set}" = set; then |
---|
| 1989 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1990 | else |
---|
| 1991 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 1992 | /* confdefs.h. */ |
---|
| 1993 | _ACEOF |
---|
| 1994 | cat confdefs.h >>conftest.$ac_ext |
---|
| 1995 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 1996 | /* end confdefs.h. */ |
---|
| 1997 | |
---|
| 1998 | int |
---|
| 1999 | main () |
---|
| 2000 | { |
---|
| 2001 | |
---|
| 2002 | ; |
---|
| 2003 | return 0; |
---|
| 2004 | } |
---|
| 2005 | _ACEOF |
---|
| 2006 | rm -f conftest.$ac_objext |
---|
| 2007 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 2008 | (eval $ac_compile) 2>conftest.er1 |
---|
| 2009 | ac_status=$? |
---|
| 2010 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2011 | rm -f conftest.er1 |
---|
| 2012 | cat conftest.err >&5 |
---|
| 2013 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2014 | (exit $ac_status); } && |
---|
| 2015 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2016 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2017 | (eval $ac_try) 2>&5 |
---|
| 2018 | ac_status=$? |
---|
| 2019 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2020 | (exit $ac_status); }; } && |
---|
| 2021 | { ac_try='test -s conftest.$ac_objext' |
---|
| 2022 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2023 | (eval $ac_try) 2>&5 |
---|
| 2024 | ac_status=$? |
---|
| 2025 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2026 | (exit $ac_status); }; }; then |
---|
| 2027 | ac_cv_prog_cc_g=yes |
---|
| 2028 | else |
---|
| 2029 | echo "$as_me: failed program was:" >&5 |
---|
| 2030 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2031 | |
---|
| 2032 | ac_cv_prog_cc_g=no |
---|
| 2033 | fi |
---|
| 2034 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2035 | fi |
---|
| 2036 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
---|
| 2037 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
---|
| 2038 | if test "$ac_test_CFLAGS" = set; then |
---|
| 2039 | CFLAGS=$ac_save_CFLAGS |
---|
| 2040 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 2041 | if test "$GCC" = yes; then |
---|
| 2042 | CFLAGS="-g -O2" |
---|
| 2043 | else |
---|
| 2044 | CFLAGS="-g" |
---|
| 2045 | fi |
---|
| 2046 | else |
---|
| 2047 | if test "$GCC" = yes; then |
---|
| 2048 | CFLAGS="-O2" |
---|
| 2049 | else |
---|
| 2050 | CFLAGS= |
---|
| 2051 | fi |
---|
| 2052 | fi |
---|
| 2053 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
---|
| 2054 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
---|
| 2055 | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
---|
| 2056 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2057 | else |
---|
| 2058 | ac_cv_prog_cc_stdc=no |
---|
| 2059 | ac_save_CC=$CC |
---|
| 2060 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2061 | /* confdefs.h. */ |
---|
| 2062 | _ACEOF |
---|
| 2063 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2064 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2065 | /* end confdefs.h. */ |
---|
| 2066 | #include <stdarg.h> |
---|
| 2067 | #include <stdio.h> |
---|
| 2068 | #include <sys/types.h> |
---|
| 2069 | #include <sys/stat.h> |
---|
| 2070 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
| 2071 | struct buf { int x; }; |
---|
| 2072 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
| 2073 | static char *e (p, i) |
---|
| 2074 | char **p; |
---|
| 2075 | int i; |
---|
| 2076 | { |
---|
| 2077 | return p[i]; |
---|
| 2078 | } |
---|
| 2079 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
| 2080 | { |
---|
| 2081 | char *s; |
---|
| 2082 | va_list v; |
---|
| 2083 | va_start (v,p); |
---|
| 2084 | s = g (p, va_arg (v,int)); |
---|
| 2085 | va_end (v); |
---|
| 2086 | return s; |
---|
| 2087 | } |
---|
| 2088 | |
---|
| 2089 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
| 2090 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
| 2091 | These don't provoke an error unfortunately, instead are silently treated |
---|
| 2092 | as 'x'. The following induces an error, until -std1 is added to get |
---|
| 2093 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
| 2094 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
| 2095 | that's true only with -std1. */ |
---|
| 2096 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
| 2097 | |
---|
| 2098 | int test (int i, double x); |
---|
| 2099 | struct s1 {int (*f) (int a);}; |
---|
| 2100 | struct s2 {int (*f) (double a);}; |
---|
| 2101 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
| 2102 | int argc; |
---|
| 2103 | char **argv; |
---|
| 2104 | int |
---|
| 2105 | main () |
---|
| 2106 | { |
---|
| 2107 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
| 2108 | ; |
---|
| 2109 | return 0; |
---|
| 2110 | } |
---|
| 2111 | _ACEOF |
---|
| 2112 | # Don't try gcc -ansi; that turns off useful extensions and |
---|
| 2113 | # breaks some systems' header files. |
---|
| 2114 | # AIX -qlanglvl=ansi |
---|
| 2115 | # Ultrix and OSF/1 -std1 |
---|
| 2116 | # HP-UX 10.20 and later -Ae |
---|
| 2117 | # HP-UX older versions -Aa -D_HPUX_SOURCE |
---|
| 2118 | # SVR4 -Xc -D__EXTENSIONS__ |
---|
| 2119 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
| 2120 | do |
---|
| 2121 | CC="$ac_save_CC $ac_arg" |
---|
| 2122 | rm -f conftest.$ac_objext |
---|
| 2123 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 2124 | (eval $ac_compile) 2>conftest.er1 |
---|
| 2125 | ac_status=$? |
---|
| 2126 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2127 | rm -f conftest.er1 |
---|
| 2128 | cat conftest.err >&5 |
---|
| 2129 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2130 | (exit $ac_status); } && |
---|
| 2131 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2132 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2133 | (eval $ac_try) 2>&5 |
---|
| 2134 | ac_status=$? |
---|
| 2135 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2136 | (exit $ac_status); }; } && |
---|
| 2137 | { ac_try='test -s conftest.$ac_objext' |
---|
| 2138 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2139 | (eval $ac_try) 2>&5 |
---|
| 2140 | ac_status=$? |
---|
| 2141 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2142 | (exit $ac_status); }; }; then |
---|
| 2143 | ac_cv_prog_cc_stdc=$ac_arg |
---|
| 2144 | break |
---|
| 2145 | else |
---|
| 2146 | echo "$as_me: failed program was:" >&5 |
---|
| 2147 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2148 | |
---|
| 2149 | fi |
---|
| 2150 | rm -f conftest.err conftest.$ac_objext |
---|
| 2151 | done |
---|
| 2152 | rm -f conftest.$ac_ext conftest.$ac_objext |
---|
| 2153 | CC=$ac_save_CC |
---|
| 2154 | |
---|
| 2155 | fi |
---|
| 2156 | |
---|
| 2157 | case "x$ac_cv_prog_cc_stdc" in |
---|
| 2158 | x|xno) |
---|
| 2159 | echo "$as_me:$LINENO: result: none needed" >&5 |
---|
| 2160 | echo "${ECHO_T}none needed" >&6 ;; |
---|
| 2161 | *) |
---|
| 2162 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
---|
| 2163 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
---|
| 2164 | CC="$CC $ac_cv_prog_cc_stdc" ;; |
---|
| 2165 | esac |
---|
| 2166 | |
---|
| 2167 | # Some people use a C++ compiler to compile C. Since we use `exit', |
---|
| 2168 | # in C++ we need to declare it. In case someone uses the same compiler |
---|
| 2169 | # for both compiling C and C++ we need to have the C++ compiler decide |
---|
| 2170 | # the declaration of exit, since it's the most demanding environment. |
---|
| 2171 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2172 | #ifndef __cplusplus |
---|
| 2173 | choke me |
---|
| 2174 | #endif |
---|
| 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_c_werror_flag" || test ! -s conftest.err' |
---|
| 2186 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2187 | (eval $ac_try) 2>&5 |
---|
| 2188 | ac_status=$? |
---|
| 2189 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2190 | (exit $ac_status); }; } && |
---|
| 2191 | { ac_try='test -s conftest.$ac_objext' |
---|
| 2192 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2193 | (eval $ac_try) 2>&5 |
---|
| 2194 | ac_status=$? |
---|
| 2195 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2196 | (exit $ac_status); }; }; then |
---|
| 2197 | for ac_declaration in \ |
---|
| 2198 | '' \ |
---|
| 2199 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
---|
| 2200 | 'extern "C" void std::exit (int); using std::exit;' \ |
---|
| 2201 | 'extern "C" void exit (int) throw ();' \ |
---|
| 2202 | 'extern "C" void exit (int);' \ |
---|
| 2203 | 'void exit (int);' |
---|
| 2204 | do |
---|
| 2205 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2206 | /* confdefs.h. */ |
---|
| 2207 | _ACEOF |
---|
| 2208 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2209 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2210 | /* end confdefs.h. */ |
---|
| 2211 | $ac_declaration |
---|
| 2212 | #include <stdlib.h> |
---|
| 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_c_werror_flag" || test ! -s conftest.err' |
---|
| 2231 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2232 | (eval $ac_try) 2>&5 |
---|
| 2233 | ac_status=$? |
---|
| 2234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2235 | (exit $ac_status); }; } && |
---|
| 2236 | { ac_try='test -s conftest.$ac_objext' |
---|
| 2237 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2238 | (eval $ac_try) 2>&5 |
---|
| 2239 | ac_status=$? |
---|
| 2240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2241 | (exit $ac_status); }; }; then |
---|
| 2242 | : |
---|
| 2243 | else |
---|
| 2244 | echo "$as_me: failed program was:" >&5 |
---|
| 2245 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2246 | |
---|
| 2247 | continue |
---|
| 2248 | fi |
---|
| 2249 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2250 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2251 | /* confdefs.h. */ |
---|
| 2252 | _ACEOF |
---|
| 2253 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2254 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2255 | /* end confdefs.h. */ |
---|
| 2256 | $ac_declaration |
---|
| 2257 | int |
---|
| 2258 | main () |
---|
| 2259 | { |
---|
| 2260 | exit (42); |
---|
| 2261 | ; |
---|
| 2262 | return 0; |
---|
| 2263 | } |
---|
| 2264 | _ACEOF |
---|
| 2265 | rm -f conftest.$ac_objext |
---|
| 2266 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
| 2267 | (eval $ac_compile) 2>conftest.er1 |
---|
| 2268 | ac_status=$? |
---|
| 2269 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2270 | rm -f conftest.er1 |
---|
| 2271 | cat conftest.err >&5 |
---|
| 2272 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2273 | (exit $ac_status); } && |
---|
| 2274 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
---|
| 2275 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2276 | (eval $ac_try) 2>&5 |
---|
| 2277 | ac_status=$? |
---|
| 2278 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2279 | (exit $ac_status); }; } && |
---|
| 2280 | { ac_try='test -s conftest.$ac_objext' |
---|
| 2281 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
| 2282 | (eval $ac_try) 2>&5 |
---|
| 2283 | ac_status=$? |
---|
| 2284 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2285 | (exit $ac_status); }; }; then |
---|
| 2286 | break |
---|
| 2287 | else |
---|
| 2288 | echo "$as_me: failed program was:" >&5 |
---|
| 2289 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2290 | |
---|
| 2291 | fi |
---|
| 2292 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2293 | done |
---|
| 2294 | rm -f conftest* |
---|
| 2295 | if test -n "$ac_declaration"; then |
---|
| 2296 | echo '#ifdef __cplusplus' >>confdefs.h |
---|
| 2297 | echo $ac_declaration >>confdefs.h |
---|
| 2298 | echo '#endif' >>confdefs.h |
---|
| 2299 | fi |
---|
| 2300 | |
---|
| 2301 | else |
---|
| 2302 | echo "$as_me: failed program was:" >&5 |
---|
| 2303 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2304 | |
---|
| 2305 | fi |
---|
| 2306 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2307 | ac_ext=c |
---|
| 2308 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2309 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2310 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2311 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2312 | |
---|
| 2313 | |
---|
| 2314 | ac_ext=c |
---|
| 2315 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2316 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2317 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2318 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2319 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
---|
| 2320 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
---|
| 2321 | # On Suns, sometimes $CPP names a directory. |
---|
| 2322 | if test -n "$CPP" && test -d "$CPP"; then |
---|
| 2323 | CPP= |
---|
| 2324 | fi |
---|
| 2325 | if test -z "$CPP"; then |
---|
| 2326 | if test "${ac_cv_prog_CPP+set}" = set; then |
---|
| 2327 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2328 | else |
---|
| 2329 | # Double quotes because CPP needs to be expanded |
---|
| 2330 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
| 2331 | do |
---|
| 2332 | ac_preproc_ok=false |
---|
| 2333 | for ac_c_preproc_warn_flag in '' yes |
---|
| 2334 | do |
---|
| 2335 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 2336 | # with a fresh cross-compiler works. |
---|
| 2337 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 2338 | # <limits.h> exists even on freestanding compilers. |
---|
| 2339 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 2340 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 2341 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2342 | /* confdefs.h. */ |
---|
| 2343 | _ACEOF |
---|
| 2344 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2345 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2346 | /* end confdefs.h. */ |
---|
| 2347 | #ifdef __STDC__ |
---|
| 2348 | # include <limits.h> |
---|
| 2349 | #else |
---|
| 2350 | # include <assert.h> |
---|
| 2351 | #endif |
---|
| 2352 | Syntax error |
---|
| 2353 | _ACEOF |
---|
| 2354 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
| 2355 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
| 2356 | ac_status=$? |
---|
| 2357 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2358 | rm -f conftest.er1 |
---|
| 2359 | cat conftest.err >&5 |
---|
| 2360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2361 | (exit $ac_status); } >/dev/null; then |
---|
| 2362 | if test -s conftest.err; then |
---|
| 2363 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 2364 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 2365 | else |
---|
| 2366 | ac_cpp_err= |
---|
| 2367 | fi |
---|
| 2368 | else |
---|
| 2369 | ac_cpp_err=yes |
---|
| 2370 | fi |
---|
| 2371 | if test -z "$ac_cpp_err"; then |
---|
| 2372 | : |
---|
| 2373 | else |
---|
| 2374 | echo "$as_me: failed program was:" >&5 |
---|
| 2375 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2376 | |
---|
| 2377 | # Broken: fails on valid input. |
---|
| 2378 | continue |
---|
| 2379 | fi |
---|
| 2380 | rm -f conftest.err conftest.$ac_ext |
---|
| 2381 | |
---|
| 2382 | # OK, works on sane cases. Now check whether non-existent headers |
---|
| 2383 | # can be detected and how. |
---|
| 2384 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2385 | /* confdefs.h. */ |
---|
| 2386 | _ACEOF |
---|
| 2387 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2388 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2389 | /* end confdefs.h. */ |
---|
| 2390 | #include <ac_nonexistent.h> |
---|
| 2391 | _ACEOF |
---|
| 2392 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
| 2393 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
| 2394 | ac_status=$? |
---|
| 2395 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2396 | rm -f conftest.er1 |
---|
| 2397 | cat conftest.err >&5 |
---|
| 2398 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2399 | (exit $ac_status); } >/dev/null; then |
---|
| 2400 | if test -s conftest.err; then |
---|
| 2401 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 2402 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 2403 | else |
---|
| 2404 | ac_cpp_err= |
---|
| 2405 | fi |
---|
| 2406 | else |
---|
| 2407 | ac_cpp_err=yes |
---|
| 2408 | fi |
---|
| 2409 | if test -z "$ac_cpp_err"; then |
---|
| 2410 | # Broken: success on invalid input. |
---|
| 2411 | continue |
---|
| 2412 | else |
---|
| 2413 | echo "$as_me: failed program was:" >&5 |
---|
| 2414 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2415 | |
---|
| 2416 | # Passes both tests. |
---|
| 2417 | ac_preproc_ok=: |
---|
| 2418 | break |
---|
| 2419 | fi |
---|
| 2420 | rm -f conftest.err conftest.$ac_ext |
---|
| 2421 | |
---|
| 2422 | done |
---|
| 2423 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
| 2424 | rm -f conftest.err conftest.$ac_ext |
---|
| 2425 | if $ac_preproc_ok; then |
---|
| 2426 | break |
---|
| 2427 | fi |
---|
| 2428 | |
---|
| 2429 | done |
---|
| 2430 | ac_cv_prog_CPP=$CPP |
---|
| 2431 | |
---|
| 2432 | fi |
---|
| 2433 | CPP=$ac_cv_prog_CPP |
---|
| 2434 | else |
---|
| 2435 | ac_cv_prog_CPP=$CPP |
---|
| 2436 | fi |
---|
| 2437 | echo "$as_me:$LINENO: result: $CPP" >&5 |
---|
| 2438 | echo "${ECHO_T}$CPP" >&6 |
---|
| 2439 | ac_preproc_ok=false |
---|
| 2440 | for ac_c_preproc_warn_flag in '' yes |
---|
| 2441 | do |
---|
| 2442 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 2443 | # with a fresh cross-compiler works. |
---|
| 2444 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 2445 | # <limits.h> exists even on freestanding compilers. |
---|
| 2446 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 2447 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 2448 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2449 | /* confdefs.h. */ |
---|
| 2450 | _ACEOF |
---|
| 2451 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2452 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2453 | /* end confdefs.h. */ |
---|
| 2454 | #ifdef __STDC__ |
---|
| 2455 | # include <limits.h> |
---|
| 2456 | #else |
---|
| 2457 | # include <assert.h> |
---|
| 2458 | #endif |
---|
| 2459 | Syntax error |
---|
| 2460 | _ACEOF |
---|
| 2461 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
| 2462 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
| 2463 | ac_status=$? |
---|
| 2464 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2465 | rm -f conftest.er1 |
---|
| 2466 | cat conftest.err >&5 |
---|
| 2467 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2468 | (exit $ac_status); } >/dev/null; then |
---|
| 2469 | if test -s conftest.err; then |
---|
| 2470 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 2471 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 2472 | else |
---|
| 2473 | ac_cpp_err= |
---|
| 2474 | fi |
---|
| 2475 | else |
---|
| 2476 | ac_cpp_err=yes |
---|
| 2477 | fi |
---|
| 2478 | if test -z "$ac_cpp_err"; then |
---|
| 2479 | : |
---|
| 2480 | else |
---|
| 2481 | echo "$as_me: failed program was:" >&5 |
---|
| 2482 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2483 | |
---|
| 2484 | # Broken: fails on valid input. |
---|
| 2485 | continue |
---|
| 2486 | fi |
---|
| 2487 | rm -f conftest.err conftest.$ac_ext |
---|
| 2488 | |
---|
| 2489 | # OK, works on sane cases. Now check whether non-existent headers |
---|
| 2490 | # can be detected and how. |
---|
| 2491 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2492 | /* confdefs.h. */ |
---|
| 2493 | _ACEOF |
---|
| 2494 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2495 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2496 | /* end confdefs.h. */ |
---|
| 2497 | #include <ac_nonexistent.h> |
---|
| 2498 | _ACEOF |
---|
| 2499 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
| 2500 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
| 2501 | ac_status=$? |
---|
| 2502 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2503 | rm -f conftest.er1 |
---|
| 2504 | cat conftest.err >&5 |
---|
| 2505 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2506 | (exit $ac_status); } >/dev/null; then |
---|
| 2507 | if test -s conftest.err; then |
---|
| 2508 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
| 2509 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
---|
| 2510 | else |
---|
| 2511 | ac_cpp_err= |
---|
| 2512 | fi |
---|
| 2513 | else |
---|
| 2514 | ac_cpp_err=yes |
---|
| 2515 | fi |
---|
| 2516 | if test -z "$ac_cpp_err"; then |
---|
| 2517 | # Broken: success on invalid input. |
---|
| 2518 | continue |
---|
| 2519 | else |
---|
| 2520 | echo "$as_me: failed program was:" >&5 |
---|
| 2521 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2522 | |
---|
| 2523 | # Passes both tests. |
---|
| 2524 | ac_preproc_ok=: |
---|
| 2525 | break |
---|
| 2526 | fi |
---|
| 2527 | rm -f conftest.err conftest.$ac_ext |
---|
| 2528 | |
---|
| 2529 | done |
---|
| 2530 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
| 2531 | rm -f conftest.err conftest.$ac_ext |
---|
| 2532 | if $ac_preproc_ok; then |
---|
| 2533 | : |
---|
| 2534 | else |
---|
| 2535 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
---|
| 2536 | See \`config.log' for more details." >&5 |
---|
| 2537 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
---|
| 2538 | See \`config.log' for more details." >&2;} |
---|
| 2539 | { (exit 1); exit 1; }; } |
---|
| 2540 | fi |
---|
| 2541 | |
---|
| 2542 | ac_ext=c |
---|
| 2543 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2544 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2545 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2546 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2547 | |
---|
| 2548 | |
---|
| 2549 | echo "$as_me:$LINENO: checking for egrep" >&5 |
---|
| 2550 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
---|
| 2551 | if test "${ac_cv_prog_egrep+set}" = set; then |
---|
| 2552 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2553 | else |
---|
| 2554 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
---|
| 2555 | then ac_cv_prog_egrep='grep -E' |
---|
| 2556 | else ac_cv_prog_egrep='egrep' |
---|
| 2557 | fi |
---|
| 2558 | fi |
---|
| 2559 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
---|
| 2560 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
---|
| 2561 | EGREP=$ac_cv_prog_egrep |
---|
| 2562 | |
---|
| 2563 | |
---|
| 2564 | if test $ac_cv_c_compiler_gnu = yes; then |
---|
| 2565 | echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 |
---|
| 2566 | echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 |
---|
| 2567 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then |
---|
| 2568 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2569 | else |
---|
| 2570 | ac_pattern="Autoconf.*'x'" |
---|
| 2571 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2572 | /* confdefs.h. */ |
---|
| 2573 | _ACEOF |
---|
| 2574 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2575 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2576 | /* end confdefs.h. */ |
---|
| 2577 | #include <sgtty.h> |
---|
| 2578 | Autoconf TIOCGETP |
---|
| 2579 | _ACEOF |
---|
| 2580 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 2581 | $EGREP "$ac_pattern" >/dev/null 2>&1; then |
---|
| 2582 | ac_cv_prog_gcc_traditional=yes |
---|
| 2583 | else |
---|
| 2584 | ac_cv_prog_gcc_traditional=no |
---|
| 2585 | fi |
---|
| 2586 | rm -f conftest* |
---|
| 2587 | |
---|
| 2588 | |
---|
| 2589 | if test $ac_cv_prog_gcc_traditional = no; then |
---|
| 2590 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2591 | /* confdefs.h. */ |
---|
| 2592 | _ACEOF |
---|
| 2593 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2594 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2595 | /* end confdefs.h. */ |
---|
| 2596 | #include <termio.h> |
---|
| 2597 | Autoconf TCGETA |
---|
| 2598 | _ACEOF |
---|
| 2599 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 2600 | $EGREP "$ac_pattern" >/dev/null 2>&1; then |
---|
| 2601 | ac_cv_prog_gcc_traditional=yes |
---|
| 2602 | fi |
---|
| 2603 | rm -f conftest* |
---|
| 2604 | |
---|
| 2605 | fi |
---|
| 2606 | fi |
---|
| 2607 | echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 |
---|
| 2608 | echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 |
---|
| 2609 | if test $ac_cv_prog_gcc_traditional = yes; then |
---|
| 2610 | CC="$CC -traditional" |
---|
| 2611 | fi |
---|
| 2612 | fi |
---|
| 2613 | |
---|
| 2614 | |
---|
[24] | 2615 | # Now a user can specify the TRAC user |
---|
| 2616 | # |
---|
[22] | 2617 | |
---|
| 2618 | # Check whether --with-trac_user or --without-trac_user was given. |
---|
| 2619 | if test "${with_trac_user+set}" = set; then |
---|
| 2620 | withval="$with_trac_user" |
---|
| 2621 | case "${withval}" in |
---|
| 2622 | *) trac_user="${withval}" ;; |
---|
| 2623 | esac |
---|
| 2624 | else |
---|
| 2625 | trac_user="www-data" |
---|
| 2626 | |
---|
| 2627 | fi; |
---|
[24] | 2628 | # Now a user can specify MTA TRAC user |
---|
| 2629 | # |
---|
[22] | 2630 | |
---|
| 2631 | # Check whether --with-mta_user or --without-mta_user was given. |
---|
| 2632 | if test "${with_mta_user+set}" = set; then |
---|
| 2633 | withval="$with_mta_user" |
---|
| 2634 | case "${withval}" in |
---|
| 2635 | *) mta_user="${withval}" ;; |
---|
| 2636 | esac |
---|
| 2637 | else |
---|
| 2638 | mta_user="nobody" |
---|
| 2639 | |
---|
[24] | 2640 | fi; |
---|
| 2641 | if test "$sysconfdir" = '${prefix}/etc'; then |
---|
| 2642 | if test "x$prefix" = xNONE; then |
---|
| 2643 | email2trac_conf="$ac_default_prefix/etc/email2trac.conf" |
---|
| 2644 | else |
---|
| 2645 | email2trac_conf="$prefix/etc/email2trac.conf" |
---|
| 2646 | fi |
---|
| 2647 | else |
---|
| 2648 | email2trac_conf="$sysconfdir/email2trac.conf" |
---|
| 2649 | fi |
---|
| 2650 | |
---|
| 2651 | cat >>confdefs.h <<_ACEOF |
---|
| 2652 | #define SYSTEM_EMAIL2TRAC_CONF "$email2trac_conf" |
---|
| 2653 | _ACEOF |
---|
| 2654 | |
---|
| 2655 | |
---|
| 2656 | |
---|
| 2657 | |
---|
| 2658 | |
---|
| 2659 | ac_config_files="$ac_config_files Makefile email2trac.py delete_spam.py" |
---|
[21] | 2660 | cat >confcache <<\_ACEOF |
---|
| 2661 | # This file is a shell script that caches the results of configure |
---|
| 2662 | # tests run on this system so they can be shared between configure |
---|
| 2663 | # scripts and configure runs, see configure's option --config-cache. |
---|
| 2664 | # It is not useful on other systems. If it contains results you don't |
---|
| 2665 | # want to keep, you may remove or edit it. |
---|
| 2666 | # |
---|
| 2667 | # config.status only pays attention to the cache file if you give it |
---|
| 2668 | # the --recheck option to rerun configure. |
---|
| 2669 | # |
---|
| 2670 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
| 2671 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
| 2672 | # following values. |
---|
| 2673 | |
---|
| 2674 | _ACEOF |
---|
| 2675 | |
---|
| 2676 | # The following way of writing the cache mishandles newlines in values, |
---|
| 2677 | # but we know of no workaround that is simple, portable, and efficient. |
---|
| 2678 | # So, don't put newlines in cache variables' values. |
---|
| 2679 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
| 2680 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
| 2681 | { |
---|
| 2682 | (set) 2>&1 | |
---|
| 2683 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
---|
| 2684 | *ac_space=\ *) |
---|
| 2685 | # `set' does not quote correctly, so add quotes (double-quote |
---|
| 2686 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
| 2687 | sed -n \ |
---|
| 2688 | "s/'/'\\\\''/g; |
---|
| 2689 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
| 2690 | ;; |
---|
| 2691 | *) |
---|
| 2692 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
| 2693 | sed -n \ |
---|
| 2694 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
| 2695 | ;; |
---|
| 2696 | esac; |
---|
| 2697 | } | |
---|
| 2698 | sed ' |
---|
| 2699 | t clear |
---|
| 2700 | : clear |
---|
| 2701 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
| 2702 | t end |
---|
| 2703 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
| 2704 | : end' >>confcache |
---|
| 2705 | if diff $cache_file confcache >/dev/null 2>&1; then :; else |
---|
| 2706 | if test -w $cache_file; then |
---|
| 2707 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
---|
| 2708 | cat confcache >$cache_file |
---|
| 2709 | else |
---|
| 2710 | echo "not updating unwritable cache $cache_file" |
---|
| 2711 | fi |
---|
| 2712 | fi |
---|
| 2713 | rm -f confcache |
---|
| 2714 | |
---|
| 2715 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 2716 | # Let make expand exec_prefix. |
---|
| 2717 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 2718 | |
---|
| 2719 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
| 2720 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
| 2721 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
| 2722 | # (actually we leave an empty line to preserve line numbers). |
---|
| 2723 | if test "x$srcdir" = x.; then |
---|
| 2724 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
| 2725 | s/:*\$(srcdir):*/:/; |
---|
| 2726 | s/:*\${srcdir}:*/:/; |
---|
| 2727 | s/:*@srcdir@:*/:/; |
---|
| 2728 | s/^\([^=]*=[ ]*\):*/\1/; |
---|
| 2729 | s/:*$//; |
---|
| 2730 | s/^[^=]*=[ ]*$//; |
---|
| 2731 | }' |
---|
| 2732 | fi |
---|
| 2733 | |
---|
| 2734 | # Transform confdefs.h into DEFS. |
---|
| 2735 | # Protect against shell expansion while executing Makefile rules. |
---|
| 2736 | # Protect against Makefile macro expansion. |
---|
| 2737 | # |
---|
| 2738 | # If the first sed substitution is executed (which looks for macros that |
---|
| 2739 | # take arguments), then we branch to the quote section. Otherwise, |
---|
| 2740 | # look for a macro that doesn't take arguments. |
---|
| 2741 | cat >confdef2opt.sed <<\_ACEOF |
---|
| 2742 | t clear |
---|
| 2743 | : clear |
---|
| 2744 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g |
---|
| 2745 | t quote |
---|
| 2746 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g |
---|
| 2747 | t quote |
---|
| 2748 | d |
---|
| 2749 | : quote |
---|
| 2750 | s,[ `~#$^&*(){}\\|;'"<>?],\\&,g |
---|
| 2751 | s,\[,\\&,g |
---|
| 2752 | s,\],\\&,g |
---|
| 2753 | s,\$,$$,g |
---|
| 2754 | p |
---|
| 2755 | _ACEOF |
---|
| 2756 | # We use echo to avoid assuming a particular line-breaking character. |
---|
| 2757 | # The extra dot is to prevent the shell from consuming trailing |
---|
| 2758 | # line-breaks from the sub-command output. A line-break within |
---|
| 2759 | # single-quotes doesn't work because, if this script is created in a |
---|
| 2760 | # platform that uses two characters for line-breaks (e.g., DOS), tr |
---|
| 2761 | # would break. |
---|
| 2762 | ac_LF_and_DOT=`echo; echo .` |
---|
| 2763 | DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` |
---|
| 2764 | rm -f confdef2opt.sed |
---|
| 2765 | |
---|
| 2766 | |
---|
| 2767 | ac_libobjs= |
---|
| 2768 | ac_ltlibobjs= |
---|
| 2769 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
| 2770 | # 1. Remove the extension, and $U if already installed. |
---|
| 2771 | ac_i=`echo "$ac_i" | |
---|
| 2772 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
---|
| 2773 | # 2. Add them. |
---|
| 2774 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
---|
| 2775 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
---|
| 2776 | done |
---|
| 2777 | LIBOBJS=$ac_libobjs |
---|
| 2778 | |
---|
| 2779 | LTLIBOBJS=$ac_ltlibobjs |
---|
| 2780 | |
---|
| 2781 | |
---|
| 2782 | |
---|
| 2783 | : ${CONFIG_STATUS=./config.status} |
---|
| 2784 | ac_clean_files_save=$ac_clean_files |
---|
| 2785 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
| 2786 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
| 2787 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
| 2788 | cat >$CONFIG_STATUS <<_ACEOF |
---|
| 2789 | #! $SHELL |
---|
| 2790 | # Generated by $as_me. |
---|
| 2791 | # Run this file to recreate the current configuration. |
---|
| 2792 | # Compiler output produced by configure, useful for debugging |
---|
| 2793 | # configure, is in config.log if it exists. |
---|
| 2794 | |
---|
| 2795 | debug=false |
---|
| 2796 | ac_cs_recheck=false |
---|
| 2797 | ac_cs_silent=false |
---|
| 2798 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
| 2799 | _ACEOF |
---|
| 2800 | |
---|
| 2801 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 2802 | ## --------------------- ## |
---|
| 2803 | ## M4sh Initialization. ## |
---|
| 2804 | ## --------------------- ## |
---|
| 2805 | |
---|
| 2806 | # Be Bourne compatible |
---|
| 2807 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
| 2808 | emulate sh |
---|
| 2809 | NULLCMD=: |
---|
| 2810 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
| 2811 | # is contrary to our usage. Disable this feature. |
---|
| 2812 | alias -g '${1+"$@"}'='"$@"' |
---|
| 2813 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
| 2814 | set -o posix |
---|
| 2815 | fi |
---|
| 2816 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 2817 | |
---|
| 2818 | # Support unset when possible. |
---|
| 2819 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
| 2820 | as_unset=unset |
---|
| 2821 | else |
---|
| 2822 | as_unset=false |
---|
| 2823 | fi |
---|
| 2824 | |
---|
| 2825 | |
---|
| 2826 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
| 2827 | $as_unset ENV MAIL MAILPATH |
---|
| 2828 | PS1='$ ' |
---|
| 2829 | PS2='> ' |
---|
| 2830 | PS4='+ ' |
---|
| 2831 | |
---|
| 2832 | # NLS nuisances. |
---|
| 2833 | for as_var in \ |
---|
| 2834 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
| 2835 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
| 2836 | LC_TELEPHONE LC_TIME |
---|
| 2837 | do |
---|
| 2838 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
| 2839 | eval $as_var=C; export $as_var |
---|
| 2840 | else |
---|
| 2841 | $as_unset $as_var |
---|
| 2842 | fi |
---|
| 2843 | done |
---|
| 2844 | |
---|
| 2845 | # Required to use basename. |
---|
| 2846 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
| 2847 | as_expr=expr |
---|
| 2848 | else |
---|
| 2849 | as_expr=false |
---|
| 2850 | fi |
---|
| 2851 | |
---|
| 2852 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
| 2853 | as_basename=basename |
---|
| 2854 | else |
---|
| 2855 | as_basename=false |
---|
| 2856 | fi |
---|
| 2857 | |
---|
| 2858 | |
---|
| 2859 | # Name of the executable. |
---|
| 2860 | as_me=`$as_basename "$0" || |
---|
| 2861 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 2862 | X"$0" : 'X\(//\)$' \| \ |
---|
| 2863 | X"$0" : 'X\(/\)$' \| \ |
---|
| 2864 | . : '\(.\)' 2>/dev/null || |
---|
| 2865 | echo X/"$0" | |
---|
| 2866 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
| 2867 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
| 2868 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
| 2869 | s/.*/./; q'` |
---|
| 2870 | |
---|
| 2871 | |
---|
| 2872 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
| 2873 | # Avoid depending upon Character Ranges. |
---|
| 2874 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 2875 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 2876 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 2877 | as_cr_digits='0123456789' |
---|
| 2878 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 2879 | |
---|
| 2880 | # The user is always right. |
---|
| 2881 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 2882 | echo "#! /bin/sh" >conf$$.sh |
---|
| 2883 | echo "exit 0" >>conf$$.sh |
---|
| 2884 | chmod +x conf$$.sh |
---|
| 2885 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
| 2886 | PATH_SEPARATOR=';' |
---|
| 2887 | else |
---|
| 2888 | PATH_SEPARATOR=: |
---|
| 2889 | fi |
---|
| 2890 | rm -f conf$$.sh |
---|
| 2891 | fi |
---|
| 2892 | |
---|
| 2893 | |
---|
| 2894 | as_lineno_1=$LINENO |
---|
| 2895 | as_lineno_2=$LINENO |
---|
| 2896 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
| 2897 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
| 2898 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
| 2899 | # Find who we are. Look in the path if we contain no path at all |
---|
| 2900 | # relative or not. |
---|
| 2901 | case $0 in |
---|
| 2902 | *[\\/]* ) as_myself=$0 ;; |
---|
| 2903 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2904 | for as_dir in $PATH |
---|
| 2905 | do |
---|
| 2906 | IFS=$as_save_IFS |
---|
| 2907 | test -z "$as_dir" && as_dir=. |
---|
| 2908 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 2909 | done |
---|
| 2910 | |
---|
| 2911 | ;; |
---|
| 2912 | esac |
---|
| 2913 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 2914 | # in which case we are not to be found in the path. |
---|
| 2915 | if test "x$as_myself" = x; then |
---|
| 2916 | as_myself=$0 |
---|
| 2917 | fi |
---|
| 2918 | if test ! -f "$as_myself"; then |
---|
| 2919 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
---|
| 2920 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
---|
| 2921 | { (exit 1); exit 1; }; } |
---|
| 2922 | fi |
---|
| 2923 | case $CONFIG_SHELL in |
---|
| 2924 | '') |
---|
| 2925 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2926 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
| 2927 | do |
---|
| 2928 | IFS=$as_save_IFS |
---|
| 2929 | test -z "$as_dir" && as_dir=. |
---|
| 2930 | for as_base in sh bash ksh sh5; do |
---|
| 2931 | case $as_dir in |
---|
| 2932 | /*) |
---|
| 2933 | if ("$as_dir/$as_base" -c ' |
---|
| 2934 | as_lineno_1=$LINENO |
---|
| 2935 | as_lineno_2=$LINENO |
---|
| 2936 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
| 2937 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
| 2938 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
| 2939 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
| 2940 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
| 2941 | CONFIG_SHELL=$as_dir/$as_base |
---|
| 2942 | export CONFIG_SHELL |
---|
| 2943 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
| 2944 | fi;; |
---|
| 2945 | esac |
---|
| 2946 | done |
---|
| 2947 | done |
---|
| 2948 | ;; |
---|
| 2949 | esac |
---|
| 2950 | |
---|
| 2951 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
| 2952 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
| 2953 | # line-number line before each line; the second 'sed' does the real |
---|
| 2954 | # work. The second script uses 'N' to pair each line-number line |
---|
| 2955 | # with the numbered line, and appends trailing '-' during |
---|
| 2956 | # substitution so that $LINENO is not a special case at line end. |
---|
| 2957 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
| 2958 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
| 2959 | sed '=' <$as_myself | |
---|
| 2960 | sed ' |
---|
| 2961 | N |
---|
| 2962 | s,$,-, |
---|
| 2963 | : loop |
---|
| 2964 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
| 2965 | t loop |
---|
| 2966 | s,-$,, |
---|
| 2967 | s,^['$as_cr_digits']*\n,, |
---|
| 2968 | ' >$as_me.lineno && |
---|
| 2969 | chmod +x $as_me.lineno || |
---|
| 2970 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
---|
| 2971 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
---|
| 2972 | { (exit 1); exit 1; }; } |
---|
| 2973 | |
---|
| 2974 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 2975 | # (the dirname of $[0] is not the place where we might find the |
---|
| 2976 | # original and so on. Autoconf is especially sensible to this). |
---|
| 2977 | . ./$as_me.lineno |
---|
| 2978 | # Exit status is that of the last command. |
---|
| 2979 | exit |
---|
| 2980 | } |
---|
| 2981 | |
---|
| 2982 | |
---|
| 2983 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
| 2984 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
| 2985 | ' ECHO_T=' ' ;; |
---|
| 2986 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
| 2987 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
| 2988 | esac |
---|
| 2989 | |
---|
| 2990 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
| 2991 | as_expr=expr |
---|
| 2992 | else |
---|
| 2993 | as_expr=false |
---|
| 2994 | fi |
---|
| 2995 | |
---|
| 2996 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 2997 | echo >conf$$.file |
---|
| 2998 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 2999 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
| 3000 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
| 3001 | if test -f conf$$.exe; then |
---|
| 3002 | # Don't use ln at all; we don't have any links |
---|
| 3003 | as_ln_s='cp -p' |
---|
| 3004 | else |
---|
| 3005 | as_ln_s='ln -s' |
---|
| 3006 | fi |
---|
| 3007 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 3008 | as_ln_s=ln |
---|
| 3009 | else |
---|
| 3010 | as_ln_s='cp -p' |
---|
| 3011 | fi |
---|
| 3012 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 3013 | |
---|
| 3014 | if mkdir -p . 2>/dev/null; then |
---|
| 3015 | as_mkdir_p=: |
---|
| 3016 | else |
---|
| 3017 | test -d ./-p && rmdir ./-p |
---|
| 3018 | as_mkdir_p=false |
---|
| 3019 | fi |
---|
| 3020 | |
---|
| 3021 | as_executable_p="test -f" |
---|
| 3022 | |
---|
| 3023 | # Sed expression to map a string onto a valid CPP name. |
---|
| 3024 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 3025 | |
---|
| 3026 | # Sed expression to map a string onto a valid variable name. |
---|
| 3027 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 3028 | |
---|
| 3029 | |
---|
| 3030 | # IFS |
---|
| 3031 | # We need space, tab and new line, in precisely that order. |
---|
| 3032 | as_nl=' |
---|
| 3033 | ' |
---|
| 3034 | IFS=" $as_nl" |
---|
| 3035 | |
---|
| 3036 | # CDPATH. |
---|
| 3037 | $as_unset CDPATH |
---|
| 3038 | |
---|
| 3039 | exec 6>&1 |
---|
| 3040 | |
---|
| 3041 | # Open the log real soon, to keep \$[0] and so on meaningful, and to |
---|
| 3042 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
| 3043 | # values after options handling. Logging --version etc. is OK. |
---|
| 3044 | exec 5>>config.log |
---|
| 3045 | { |
---|
| 3046 | echo |
---|
| 3047 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
| 3048 | ## Running $as_me. ## |
---|
| 3049 | _ASBOX |
---|
| 3050 | } >&5 |
---|
| 3051 | cat >&5 <<_CSEOF |
---|
| 3052 | |
---|
| 3053 | This file was extended by $as_me, which was |
---|
| 3054 | generated by GNU Autoconf 2.59. Invocation command line was |
---|
| 3055 | |
---|
| 3056 | CONFIG_FILES = $CONFIG_FILES |
---|
| 3057 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
| 3058 | CONFIG_LINKS = $CONFIG_LINKS |
---|
| 3059 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
| 3060 | $ $0 $@ |
---|
| 3061 | |
---|
| 3062 | _CSEOF |
---|
| 3063 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
---|
| 3064 | echo >&5 |
---|
| 3065 | _ACEOF |
---|
| 3066 | |
---|
| 3067 | # Files that config.status was made for. |
---|
| 3068 | if test -n "$ac_config_files"; then |
---|
| 3069 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
---|
| 3070 | fi |
---|
| 3071 | |
---|
| 3072 | if test -n "$ac_config_headers"; then |
---|
| 3073 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
---|
| 3074 | fi |
---|
| 3075 | |
---|
| 3076 | if test -n "$ac_config_links"; then |
---|
| 3077 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
---|
| 3078 | fi |
---|
| 3079 | |
---|
| 3080 | if test -n "$ac_config_commands"; then |
---|
| 3081 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
---|
| 3082 | fi |
---|
| 3083 | |
---|
| 3084 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3085 | |
---|
| 3086 | ac_cs_usage="\ |
---|
| 3087 | \`$as_me' instantiates files from templates according to the |
---|
| 3088 | current configuration. |
---|
| 3089 | |
---|
| 3090 | Usage: $0 [OPTIONS] [FILE]... |
---|
| 3091 | |
---|
| 3092 | -h, --help print this help, then exit |
---|
| 3093 | -V, --version print version number, then exit |
---|
| 3094 | -q, --quiet do not print progress messages |
---|
| 3095 | -d, --debug don't remove temporary files |
---|
| 3096 | --recheck update $as_me by reconfiguring in the same conditions |
---|
| 3097 | --file=FILE[:TEMPLATE] |
---|
| 3098 | instantiate the configuration file FILE |
---|
| 3099 | |
---|
| 3100 | Configuration files: |
---|
| 3101 | $config_files |
---|
| 3102 | |
---|
| 3103 | Report bugs to <bug-autoconf@gnu.org>." |
---|
| 3104 | _ACEOF |
---|
| 3105 | |
---|
| 3106 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 3107 | ac_cs_version="\\ |
---|
| 3108 | config.status |
---|
| 3109 | configured by $0, generated by GNU Autoconf 2.59, |
---|
| 3110 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
---|
| 3111 | |
---|
| 3112 | Copyright (C) 2003 Free Software Foundation, Inc. |
---|
| 3113 | This config.status script is free software; the Free Software Foundation |
---|
| 3114 | gives unlimited permission to copy, distribute and modify it." |
---|
| 3115 | srcdir=$srcdir |
---|
| 3116 | _ACEOF |
---|
| 3117 | |
---|
| 3118 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3119 | # If no file are specified by the user, then we need to provide default |
---|
| 3120 | # value. By we need to know if files were specified by the user. |
---|
| 3121 | ac_need_defaults=: |
---|
| 3122 | while test $# != 0 |
---|
| 3123 | do |
---|
| 3124 | case $1 in |
---|
| 3125 | --*=*) |
---|
| 3126 | ac_option=`expr "x$1" : 'x\([^=]*\)='` |
---|
| 3127 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
---|
| 3128 | ac_shift=: |
---|
| 3129 | ;; |
---|
| 3130 | -*) |
---|
| 3131 | ac_option=$1 |
---|
| 3132 | ac_optarg=$2 |
---|
| 3133 | ac_shift=shift |
---|
| 3134 | ;; |
---|
| 3135 | *) # This is not an option, so the user has probably given explicit |
---|
| 3136 | # arguments. |
---|
| 3137 | ac_option=$1 |
---|
| 3138 | ac_need_defaults=false;; |
---|
| 3139 | esac |
---|
| 3140 | |
---|
| 3141 | case $ac_option in |
---|
| 3142 | # Handling of the options. |
---|
| 3143 | _ACEOF |
---|
| 3144 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3145 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 3146 | ac_cs_recheck=: ;; |
---|
| 3147 | --version | --vers* | -V ) |
---|
| 3148 | echo "$ac_cs_version"; exit 0 ;; |
---|
| 3149 | --he | --h) |
---|
| 3150 | # Conflict between --help and --header |
---|
| 3151 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
---|
| 3152 | Try \`$0 --help' for more information." >&5 |
---|
| 3153 | echo "$as_me: error: ambiguous option: $1 |
---|
| 3154 | Try \`$0 --help' for more information." >&2;} |
---|
| 3155 | { (exit 1); exit 1; }; };; |
---|
| 3156 | --help | --hel | -h ) |
---|
| 3157 | echo "$ac_cs_usage"; exit 0 ;; |
---|
| 3158 | --debug | --d* | -d ) |
---|
| 3159 | debug=: ;; |
---|
| 3160 | --file | --fil | --fi | --f ) |
---|
| 3161 | $ac_shift |
---|
| 3162 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
---|
| 3163 | ac_need_defaults=false;; |
---|
| 3164 | --header | --heade | --head | --hea ) |
---|
| 3165 | $ac_shift |
---|
| 3166 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
---|
| 3167 | ac_need_defaults=false;; |
---|
| 3168 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 3169 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
| 3170 | ac_cs_silent=: ;; |
---|
| 3171 | |
---|
| 3172 | # This is an error. |
---|
| 3173 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
---|
| 3174 | Try \`$0 --help' for more information." >&5 |
---|
| 3175 | echo "$as_me: error: unrecognized option: $1 |
---|
| 3176 | Try \`$0 --help' for more information." >&2;} |
---|
| 3177 | { (exit 1); exit 1; }; } ;; |
---|
| 3178 | |
---|
| 3179 | *) ac_config_targets="$ac_config_targets $1" ;; |
---|
| 3180 | |
---|
| 3181 | esac |
---|
| 3182 | shift |
---|
| 3183 | done |
---|
| 3184 | |
---|
| 3185 | ac_configure_extra_args= |
---|
| 3186 | |
---|
| 3187 | if $ac_cs_silent; then |
---|
| 3188 | exec 6>/dev/null |
---|
| 3189 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
| 3190 | fi |
---|
| 3191 | |
---|
| 3192 | _ACEOF |
---|
| 3193 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 3194 | if \$ac_cs_recheck; then |
---|
| 3195 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
---|
| 3196 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
| 3197 | fi |
---|
| 3198 | |
---|
| 3199 | _ACEOF |
---|
| 3200 | |
---|
| 3201 | |
---|
| 3202 | |
---|
| 3203 | |
---|
| 3204 | |
---|
| 3205 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3206 | for ac_config_target in $ac_config_targets |
---|
| 3207 | do |
---|
| 3208 | case "$ac_config_target" in |
---|
| 3209 | # Handling of arguments. |
---|
| 3210 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
[22] | 3211 | "email2trac.py" ) CONFIG_FILES="$CONFIG_FILES email2trac.py" ;; |
---|
| 3212 | "delete_spam.py" ) CONFIG_FILES="$CONFIG_FILES delete_spam.py" ;; |
---|
[21] | 3213 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
| 3214 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
| 3215 | { (exit 1); exit 1; }; };; |
---|
| 3216 | esac |
---|
| 3217 | done |
---|
| 3218 | |
---|
| 3219 | # If the user did not use the arguments to specify the items to instantiate, |
---|
| 3220 | # then the envvar interface is used. Set only those that are not. |
---|
| 3221 | # We use the long form for the default assignment because of an extremely |
---|
| 3222 | # bizarre bug on SunOS 4.1.3. |
---|
| 3223 | if $ac_need_defaults; then |
---|
| 3224 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
| 3225 | fi |
---|
| 3226 | |
---|
| 3227 | # Have a temporary directory for convenience. Make it in the build tree |
---|
| 3228 | # simply because there is no reason to put it here, and in addition, |
---|
| 3229 | # creating and moving files from /tmp can sometimes cause problems. |
---|
| 3230 | # Create a temporary directory, and hook for its removal unless debugging. |
---|
| 3231 | $debug || |
---|
| 3232 | { |
---|
| 3233 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
---|
| 3234 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
| 3235 | } |
---|
| 3236 | |
---|
| 3237 | # Create a (secure) tmp directory for tmp files. |
---|
| 3238 | |
---|
| 3239 | { |
---|
| 3240 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
---|
| 3241 | test -n "$tmp" && test -d "$tmp" |
---|
| 3242 | } || |
---|
| 3243 | { |
---|
| 3244 | tmp=./confstat$$-$RANDOM |
---|
| 3245 | (umask 077 && mkdir $tmp) |
---|
| 3246 | } || |
---|
| 3247 | { |
---|
| 3248 | echo "$me: cannot create a temporary directory in ." >&2 |
---|
| 3249 | { (exit 1); exit 1; } |
---|
| 3250 | } |
---|
| 3251 | |
---|
| 3252 | _ACEOF |
---|
| 3253 | |
---|
| 3254 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 3255 | |
---|
| 3256 | # |
---|
| 3257 | # CONFIG_FILES section. |
---|
| 3258 | # |
---|
| 3259 | |
---|
| 3260 | # No need to generate the scripts if there are no CONFIG_FILES. |
---|
| 3261 | # This happens for instance when ./config.status config.h |
---|
| 3262 | if test -n "\$CONFIG_FILES"; then |
---|
| 3263 | # Protect against being on the right side of a sed subst in config.status. |
---|
| 3264 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
---|
| 3265 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
---|
| 3266 | s,@SHELL@,$SHELL,;t t |
---|
| 3267 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
---|
| 3268 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
---|
| 3269 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
---|
| 3270 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
---|
| 3271 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
---|
| 3272 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
---|
| 3273 | s,@exec_prefix@,$exec_prefix,;t t |
---|
| 3274 | s,@prefix@,$prefix,;t t |
---|
| 3275 | s,@program_transform_name@,$program_transform_name,;t t |
---|
| 3276 | s,@bindir@,$bindir,;t t |
---|
| 3277 | s,@sbindir@,$sbindir,;t t |
---|
| 3278 | s,@libexecdir@,$libexecdir,;t t |
---|
| 3279 | s,@datadir@,$datadir,;t t |
---|
| 3280 | s,@sysconfdir@,$sysconfdir,;t t |
---|
| 3281 | s,@sharedstatedir@,$sharedstatedir,;t t |
---|
| 3282 | s,@localstatedir@,$localstatedir,;t t |
---|
| 3283 | s,@libdir@,$libdir,;t t |
---|
| 3284 | s,@includedir@,$includedir,;t t |
---|
| 3285 | s,@oldincludedir@,$oldincludedir,;t t |
---|
| 3286 | s,@infodir@,$infodir,;t t |
---|
| 3287 | s,@mandir@,$mandir,;t t |
---|
| 3288 | s,@build_alias@,$build_alias,;t t |
---|
| 3289 | s,@host_alias@,$host_alias,;t t |
---|
| 3290 | s,@target_alias@,$target_alias,;t t |
---|
| 3291 | s,@DEFS@,$DEFS,;t t |
---|
| 3292 | s,@ECHO_C@,$ECHO_C,;t t |
---|
| 3293 | s,@ECHO_N@,$ECHO_N,;t t |
---|
| 3294 | s,@ECHO_T@,$ECHO_T,;t t |
---|
| 3295 | s,@LIBS@,$LIBS,;t t |
---|
| 3296 | s,@pyexecdir@,$pyexecdir,;t t |
---|
[22] | 3297 | s,@trac_user@,$trac_user,;t t |
---|
| 3298 | s,@mta_user@,$mta_user,;t t |
---|
[24] | 3299 | s,@email2trac_conf@,$email2trac_conf,;t t |
---|
[21] | 3300 | s,@PYTHON@,$PYTHON,;t t |
---|
| 3301 | s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t |
---|
| 3302 | s,@PYTHON_PREFIX@,$PYTHON_PREFIX,;t t |
---|
| 3303 | s,@PYTHON_EXEC_PREFIX@,$PYTHON_EXEC_PREFIX,;t t |
---|
| 3304 | s,@PYTHON_PLATFORM@,$PYTHON_PLATFORM,;t t |
---|
| 3305 | s,@pythondir@,$pythondir,;t t |
---|
| 3306 | s,@pkgpythondir@,$pkgpythondir,;t t |
---|
| 3307 | s,@pkgpyexecdir@,$pkgpyexecdir,;t t |
---|
[22] | 3308 | s,@CC@,$CC,;t t |
---|
| 3309 | s,@CFLAGS@,$CFLAGS,;t t |
---|
| 3310 | s,@LDFLAGS@,$LDFLAGS,;t t |
---|
| 3311 | s,@CPPFLAGS@,$CPPFLAGS,;t t |
---|
| 3312 | s,@ac_ct_CC@,$ac_ct_CC,;t t |
---|
| 3313 | s,@EXEEXT@,$EXEEXT,;t t |
---|
| 3314 | s,@OBJEXT@,$OBJEXT,;t t |
---|
| 3315 | s,@CPP@,$CPP,;t t |
---|
| 3316 | s,@EGREP@,$EGREP,;t t |
---|
[24] | 3317 | s,@SYSTEM_EMAIL2TRAC_CONF@,$SYSTEM_EMAIL2TRAC_CONF,;t t |
---|
[21] | 3318 | s,@LIBOBJS@,$LIBOBJS,;t t |
---|
| 3319 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
---|
| 3320 | CEOF |
---|
| 3321 | |
---|
| 3322 | _ACEOF |
---|
| 3323 | |
---|
| 3324 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3325 | # Split the substitutions into bite-sized pieces for seds with |
---|
| 3326 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
| 3327 | ac_max_sed_lines=48 |
---|
| 3328 | ac_sed_frag=1 # Number of current file. |
---|
| 3329 | ac_beg=1 # First line for current file. |
---|
| 3330 | ac_end=$ac_max_sed_lines # Line after last line for current file. |
---|
| 3331 | ac_more_lines=: |
---|
| 3332 | ac_sed_cmds= |
---|
| 3333 | while $ac_more_lines; do |
---|
| 3334 | if test $ac_beg -gt 1; then |
---|
| 3335 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
| 3336 | else |
---|
| 3337 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
| 3338 | fi |
---|
| 3339 | if test ! -s $tmp/subs.frag; then |
---|
| 3340 | ac_more_lines=false |
---|
| 3341 | else |
---|
| 3342 | # The purpose of the label and of the branching condition is to |
---|
| 3343 | # speed up the sed processing (if there are no `@' at all, there |
---|
| 3344 | # is no need to browse any of the substitutions). |
---|
| 3345 | # These are the two extra sed commands mentioned above. |
---|
| 3346 | (echo ':t |
---|
| 3347 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
---|
| 3348 | if test -z "$ac_sed_cmds"; then |
---|
| 3349 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
| 3350 | else |
---|
| 3351 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
| 3352 | fi |
---|
| 3353 | ac_sed_frag=`expr $ac_sed_frag + 1` |
---|
| 3354 | ac_beg=$ac_end |
---|
| 3355 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
---|
| 3356 | fi |
---|
| 3357 | done |
---|
| 3358 | if test -z "$ac_sed_cmds"; then |
---|
| 3359 | ac_sed_cmds=cat |
---|
| 3360 | fi |
---|
| 3361 | fi # test -n "$CONFIG_FILES" |
---|
| 3362 | |
---|
| 3363 | _ACEOF |
---|
| 3364 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3365 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
---|
| 3366 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
| 3367 | case $ac_file in |
---|
| 3368 | - | *:- | *:-:* ) # input from stdin |
---|
| 3369 | cat >$tmp/stdin |
---|
| 3370 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
| 3371 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
| 3372 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
| 3373 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
| 3374 | * ) ac_file_in=$ac_file.in ;; |
---|
| 3375 | esac |
---|
| 3376 | |
---|
| 3377 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
---|
| 3378 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
---|
| 3379 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 3380 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
| 3381 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
| 3382 | X"$ac_file" : 'X\(/\)' \| \ |
---|
| 3383 | . : '\(.\)' 2>/dev/null || |
---|
| 3384 | echo X"$ac_file" | |
---|
| 3385 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
| 3386 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
| 3387 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
| 3388 | /^X\(\/\).*/{ s//\1/; q; } |
---|
| 3389 | s/.*/./; q'` |
---|
| 3390 | { if $as_mkdir_p; then |
---|
| 3391 | mkdir -p "$ac_dir" |
---|
| 3392 | else |
---|
| 3393 | as_dir="$ac_dir" |
---|
| 3394 | as_dirs= |
---|
| 3395 | while test ! -d "$as_dir"; do |
---|
| 3396 | as_dirs="$as_dir $as_dirs" |
---|
| 3397 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
| 3398 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 3399 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 3400 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 3401 | X"$as_dir" : 'X\(/\)' \| \ |
---|
| 3402 | . : '\(.\)' 2>/dev/null || |
---|
| 3403 | echo X"$as_dir" | |
---|
| 3404 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
| 3405 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
| 3406 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
| 3407 | /^X\(\/\).*/{ s//\1/; q; } |
---|
| 3408 | s/.*/./; q'` |
---|
| 3409 | done |
---|
| 3410 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
| 3411 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
| 3412 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
| 3413 | { (exit 1); exit 1; }; }; } |
---|
| 3414 | |
---|
| 3415 | ac_builddir=. |
---|
| 3416 | |
---|
| 3417 | if test "$ac_dir" != .; then |
---|
| 3418 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
| 3419 | # A "../" for each directory in $ac_dir_suffix. |
---|
| 3420 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
| 3421 | else |
---|
| 3422 | ac_dir_suffix= ac_top_builddir= |
---|
| 3423 | fi |
---|
| 3424 | |
---|
| 3425 | case $srcdir in |
---|
| 3426 | .) # No --srcdir option. We are building in place. |
---|
| 3427 | ac_srcdir=. |
---|
| 3428 | if test -z "$ac_top_builddir"; then |
---|
| 3429 | ac_top_srcdir=. |
---|
| 3430 | else |
---|
| 3431 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
| 3432 | fi ;; |
---|
| 3433 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
| 3434 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 3435 | ac_top_srcdir=$srcdir ;; |
---|
| 3436 | *) # Relative path. |
---|
| 3437 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
| 3438 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
| 3439 | esac |
---|
| 3440 | |
---|
| 3441 | # Do not use `cd foo && pwd` to compute absolute paths, because |
---|
| 3442 | # the directories may not exist. |
---|
| 3443 | case `pwd` in |
---|
| 3444 | .) ac_abs_builddir="$ac_dir";; |
---|
| 3445 | *) |
---|
| 3446 | case "$ac_dir" in |
---|
| 3447 | .) ac_abs_builddir=`pwd`;; |
---|
| 3448 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
---|
| 3449 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
---|
| 3450 | esac;; |
---|
| 3451 | esac |
---|
| 3452 | case $ac_abs_builddir in |
---|
| 3453 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
| 3454 | *) |
---|
| 3455 | case ${ac_top_builddir}. in |
---|
| 3456 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
---|
| 3457 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
| 3458 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
---|
| 3459 | esac;; |
---|
| 3460 | esac |
---|
| 3461 | case $ac_abs_builddir in |
---|
| 3462 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
| 3463 | *) |
---|
| 3464 | case $ac_srcdir in |
---|
| 3465 | .) ac_abs_srcdir=$ac_abs_builddir;; |
---|
| 3466 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
| 3467 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
---|
| 3468 | esac;; |
---|
| 3469 | esac |
---|
| 3470 | case $ac_abs_builddir in |
---|
| 3471 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
| 3472 | *) |
---|
| 3473 | case $ac_top_srcdir in |
---|
| 3474 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
---|
| 3475 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
| 3476 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
---|
| 3477 | esac;; |
---|
| 3478 | esac |
---|
| 3479 | |
---|
| 3480 | |
---|
| 3481 | |
---|
| 3482 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
| 3483 | # use $as_me), people would be surprised to read: |
---|
| 3484 | # /* config.h. Generated by config.status. */ |
---|
| 3485 | if test x"$ac_file" = x-; then |
---|
| 3486 | configure_input= |
---|
| 3487 | else |
---|
| 3488 | configure_input="$ac_file. " |
---|
| 3489 | fi |
---|
| 3490 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
---|
| 3491 | sed 's,.*/,,'` by configure." |
---|
| 3492 | |
---|
| 3493 | # First look for the input files in the build tree, otherwise in the |
---|
| 3494 | # src tree. |
---|
| 3495 | ac_file_inputs=`IFS=: |
---|
| 3496 | for f in $ac_file_in; do |
---|
| 3497 | case $f in |
---|
| 3498 | -) echo $tmp/stdin ;; |
---|
| 3499 | [\\/$]*) |
---|
| 3500 | # Absolute (can't be DOS-style, as IFS=:) |
---|
| 3501 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
| 3502 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
| 3503 | { (exit 1); exit 1; }; } |
---|
| 3504 | echo "$f";; |
---|
| 3505 | *) # Relative |
---|
| 3506 | if test -f "$f"; then |
---|
| 3507 | # Build tree |
---|
| 3508 | echo "$f" |
---|
| 3509 | elif test -f "$srcdir/$f"; then |
---|
| 3510 | # Source tree |
---|
| 3511 | echo "$srcdir/$f" |
---|
| 3512 | else |
---|
| 3513 | # /dev/null tree |
---|
| 3514 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
| 3515 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
| 3516 | { (exit 1); exit 1; }; } |
---|
| 3517 | fi;; |
---|
| 3518 | esac |
---|
| 3519 | done` || { (exit 1); exit 1; } |
---|
| 3520 | |
---|
| 3521 | if test x"$ac_file" != x-; then |
---|
| 3522 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
| 3523 | echo "$as_me: creating $ac_file" >&6;} |
---|
| 3524 | rm -f "$ac_file" |
---|
| 3525 | fi |
---|
| 3526 | _ACEOF |
---|
| 3527 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 3528 | sed "$ac_vpsub |
---|
| 3529 | $extrasub |
---|
| 3530 | _ACEOF |
---|
| 3531 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3532 | :t |
---|
| 3533 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
| 3534 | s,@configure_input@,$configure_input,;t t |
---|
| 3535 | s,@srcdir@,$ac_srcdir,;t t |
---|
| 3536 | s,@abs_srcdir@,$ac_abs_srcdir,;t t |
---|
| 3537 | s,@top_srcdir@,$ac_top_srcdir,;t t |
---|
| 3538 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
---|
| 3539 | s,@builddir@,$ac_builddir,;t t |
---|
| 3540 | s,@abs_builddir@,$ac_abs_builddir,;t t |
---|
| 3541 | s,@top_builddir@,$ac_top_builddir,;t t |
---|
| 3542 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
---|
| 3543 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
---|
| 3544 | rm -f $tmp/stdin |
---|
| 3545 | if test x"$ac_file" != x-; then |
---|
| 3546 | mv $tmp/out $ac_file |
---|
| 3547 | else |
---|
| 3548 | cat $tmp/out |
---|
| 3549 | rm -f $tmp/out |
---|
| 3550 | fi |
---|
| 3551 | |
---|
| 3552 | done |
---|
| 3553 | _ACEOF |
---|
| 3554 | |
---|
| 3555 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3556 | |
---|
| 3557 | { (exit 0); exit 0; } |
---|
| 3558 | _ACEOF |
---|
| 3559 | chmod +x $CONFIG_STATUS |
---|
| 3560 | ac_clean_files=$ac_clean_files_save |
---|
| 3561 | |
---|
| 3562 | |
---|
| 3563 | # configure is writing to config.log, and then calls config.status. |
---|
| 3564 | # config.status does its own redirection, appending to config.log. |
---|
| 3565 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
| 3566 | # by configure, so config.status won't be able to write to it; its |
---|
| 3567 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
| 3568 | # effectively closing config.log, so it can be properly (re)opened and |
---|
| 3569 | # appended to by config.status. When coming back to configure, we |
---|
| 3570 | # need to make the FD available again. |
---|
| 3571 | if test "$no_create" != yes; then |
---|
| 3572 | ac_cs_success=: |
---|
| 3573 | ac_config_status_args= |
---|
| 3574 | test "$silent" = yes && |
---|
| 3575 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
| 3576 | exec 5>/dev/null |
---|
| 3577 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
| 3578 | exec 5>>config.log |
---|
| 3579 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
| 3580 | # would make configure fail if this is the last instruction. |
---|
| 3581 | $ac_cs_success || { (exit 1); exit 1; } |
---|
| 3582 | fi |
---|
| 3583 | |
---|