Annotation of parser3/src/sql/mysql/configure, revision 1.1
1.1 ! paf 1: #! /bin/sh
! 2:
! 3: # Guess values for system-dependent variables and create Makefiles.
! 4: # Generated automatically using autoconf version 2.13
! 5: # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
! 6: #
! 7: # This configure script is free software; the Free Software Foundation
! 8: # gives unlimited permission to copy, distribute and modify it.
! 9:
! 10: # Defaults:
! 11: ac_help=
! 12: ac_default_prefix=/usr/local
! 13: # Any additions from configure.in:
! 14: ac_help="$ac_help
! 15: --enable-shared[=PKGS] build shared libraries [default=yes]"
! 16: ac_help="$ac_help
! 17: --enable-static[=PKGS] build static libraries [default=yes]"
! 18: ac_help="$ac_help
! 19: --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
! 20: ac_help="$ac_help
! 21: --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
! 22: ac_help="$ac_help
! 23: --disable-libtool-lock avoid locking (might break parallel builds)"
! 24: ac_help="$ac_help
! 25: --with-mysql_inc[=DIR] DIR is the MySQL includes directory"
! 26: ac_help="$ac_help
! 27: --with-mysql_lib[=DIR] DIR is the MySQL lib directory"
! 28:
! 29: # Initialize some variables set by options.
! 30: # The variables have the same names as the options, with
! 31: # dashes changed to underlines.
! 32: build=NONE
! 33: cache_file=./config.cache
! 34: exec_prefix=NONE
! 35: host=NONE
! 36: no_create=
! 37: nonopt=NONE
! 38: no_recursion=
! 39: prefix=NONE
! 40: program_prefix=NONE
! 41: program_suffix=NONE
! 42: program_transform_name=s,x,x,
! 43: silent=
! 44: site=
! 45: srcdir=
! 46: target=NONE
! 47: verbose=
! 48: x_includes=NONE
! 49: x_libraries=NONE
! 50: bindir='${exec_prefix}/bin'
! 51: sbindir='${exec_prefix}/sbin'
! 52: libexecdir='${exec_prefix}/libexec'
! 53: datadir='${prefix}/share'
! 54: sysconfdir='${prefix}/etc'
! 55: sharedstatedir='${prefix}/com'
! 56: localstatedir='${prefix}/var'
! 57: libdir='${exec_prefix}/lib'
! 58: includedir='${prefix}/include'
! 59: oldincludedir='/usr/include'
! 60: infodir='${prefix}/info'
! 61: mandir='${prefix}/man'
! 62:
! 63: # Initialize some other variables.
! 64: subdirs=
! 65: MFLAGS= MAKEFLAGS=
! 66: SHELL=${CONFIG_SHELL-/bin/sh}
! 67: # Maximum number of lines to put in a shell here document.
! 68: ac_max_here_lines=12
! 69:
! 70: ac_prev=
! 71: for ac_option
! 72: do
! 73:
! 74: # If the previous option needs an argument, assign it.
! 75: if test -n "$ac_prev"; then
! 76: eval "$ac_prev=\$ac_option"
! 77: ac_prev=
! 78: continue
! 79: fi
! 80:
! 81: case "$ac_option" in
! 82: -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
! 83: *) ac_optarg= ;;
! 84: esac
! 85:
! 86: # Accept the important Cygnus configure options, so we can diagnose typos.
! 87:
! 88: case "$ac_option" in
! 89:
! 90: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 91: ac_prev=bindir ;;
! 92: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 93: bindir="$ac_optarg" ;;
! 94:
! 95: -build | --build | --buil | --bui | --bu)
! 96: ac_prev=build ;;
! 97: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 98: build="$ac_optarg" ;;
! 99:
! 100: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 101: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 102: ac_prev=cache_file ;;
! 103: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 104: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 105: cache_file="$ac_optarg" ;;
! 106:
! 107: -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
! 108: ac_prev=datadir ;;
! 109: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
! 110: | --da=*)
! 111: datadir="$ac_optarg" ;;
! 112:
! 113: -disable-* | --disable-*)
! 114: ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
! 115: # Reject names that are not valid shell variable names.
! 116: if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
! 117: { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
! 118: fi
! 119: ac_feature=`echo $ac_feature| sed 's/-/_/g'`
! 120: eval "enable_${ac_feature}=no" ;;
! 121:
! 122: -enable-* | --enable-*)
! 123: ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
! 124: # Reject names that are not valid shell variable names.
! 125: if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
! 126: { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
! 127: fi
! 128: ac_feature=`echo $ac_feature| sed 's/-/_/g'`
! 129: case "$ac_option" in
! 130: *=*) ;;
! 131: *) ac_optarg=yes ;;
! 132: esac
! 133: eval "enable_${ac_feature}='$ac_optarg'" ;;
! 134:
! 135: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 136: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 137: | --exec | --exe | --ex)
! 138: ac_prev=exec_prefix ;;
! 139: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 140: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 141: | --exec=* | --exe=* | --ex=*)
! 142: exec_prefix="$ac_optarg" ;;
! 143:
! 144: -gas | --gas | --ga | --g)
! 145: # Obsolete; use --with-gas.
! 146: with_gas=yes ;;
! 147:
! 148: -help | --help | --hel | --he)
! 149: # Omit some internal or obsolete options to make the list less imposing.
! 150: # This message is too long to be a string in the A/UX 3.1 sh.
! 151: cat << EOF
! 152: Usage: configure [options] [host]
! 153: Options: [defaults in brackets after descriptions]
! 154: Configuration:
! 155: --cache-file=FILE cache test results in FILE
! 156: --help print this message
! 157: --no-create do not create output files
! 158: --quiet, --silent do not print \`checking...' messages
! 159: --version print the version of autoconf that created configure
! 160: Directory and file names:
! 161: --prefix=PREFIX install architecture-independent files in PREFIX
! 162: [$ac_default_prefix]
! 163: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 164: [same as prefix]
! 165: --bindir=DIR user executables in DIR [EPREFIX/bin]
! 166: --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
! 167: --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
! 168: --datadir=DIR read-only architecture-independent data in DIR
! 169: [PREFIX/share]
! 170: --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
! 171: --sharedstatedir=DIR modifiable architecture-independent data in DIR
! 172: [PREFIX/com]
! 173: --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
! 174: --libdir=DIR object code libraries in DIR [EPREFIX/lib]
! 175: --includedir=DIR C header files in DIR [PREFIX/include]
! 176: --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
! 177: --infodir=DIR info documentation in DIR [PREFIX/info]
! 178: --mandir=DIR man documentation in DIR [PREFIX/man]
! 179: --srcdir=DIR find the sources in DIR [configure dir or ..]
! 180: --program-prefix=PREFIX prepend PREFIX to installed program names
! 181: --program-suffix=SUFFIX append SUFFIX to installed program names
! 182: --program-transform-name=PROGRAM
! 183: run sed PROGRAM on installed program names
! 184: EOF
! 185: cat << EOF
! 186: Host type:
! 187: --build=BUILD configure for building on BUILD [BUILD=HOST]
! 188: --host=HOST configure for HOST [guessed]
! 189: --target=TARGET configure for TARGET [TARGET=HOST]
! 190: Features and packages:
! 191: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! 192: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! 193: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
! 194: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
! 195: --x-includes=DIR X include files are in DIR
! 196: --x-libraries=DIR X library files are in DIR
! 197: EOF
! 198: if test -n "$ac_help"; then
! 199: echo "--enable and --with options recognized:$ac_help"
! 200: fi
! 201: exit 0 ;;
! 202:
! 203: -host | --host | --hos | --ho)
! 204: ac_prev=host ;;
! 205: -host=* | --host=* | --hos=* | --ho=*)
! 206: host="$ac_optarg" ;;
! 207:
! 208: -includedir | --includedir | --includedi | --included | --include \
! 209: | --includ | --inclu | --incl | --inc)
! 210: ac_prev=includedir ;;
! 211: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 212: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 213: includedir="$ac_optarg" ;;
! 214:
! 215: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 216: ac_prev=infodir ;;
! 217: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 218: infodir="$ac_optarg" ;;
! 219:
! 220: -libdir | --libdir | --libdi | --libd)
! 221: ac_prev=libdir ;;
! 222: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 223: libdir="$ac_optarg" ;;
! 224:
! 225: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 226: | --libexe | --libex | --libe)
! 227: ac_prev=libexecdir ;;
! 228: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 229: | --libexe=* | --libex=* | --libe=*)
! 230: libexecdir="$ac_optarg" ;;
! 231:
! 232: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 233: | --localstate | --localstat | --localsta | --localst \
! 234: | --locals | --local | --loca | --loc | --lo)
! 235: ac_prev=localstatedir ;;
! 236: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 237: | --localstate=* | --localstat=* | --localsta=* | --localst=* \
! 238: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
! 239: localstatedir="$ac_optarg" ;;
! 240:
! 241: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 242: ac_prev=mandir ;;
! 243: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 244: mandir="$ac_optarg" ;;
! 245:
! 246: -nfp | --nfp | --nf)
! 247: # Obsolete; use --without-fp.
! 248: with_fp=no ;;
! 249:
! 250: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 251: | --no-cr | --no-c)
! 252: no_create=yes ;;
! 253:
! 254: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 255: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 256: no_recursion=yes ;;
! 257:
! 258: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 259: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 260: | --oldin | --oldi | --old | --ol | --o)
! 261: ac_prev=oldincludedir ;;
! 262: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 263: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 264: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 265: oldincludedir="$ac_optarg" ;;
! 266:
! 267: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 268: ac_prev=prefix ;;
! 269: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 270: prefix="$ac_optarg" ;;
! 271:
! 272: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 273: | --program-pre | --program-pr | --program-p)
! 274: ac_prev=program_prefix ;;
! 275: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 276: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 277: program_prefix="$ac_optarg" ;;
! 278:
! 279: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 280: | --program-suf | --program-su | --program-s)
! 281: ac_prev=program_suffix ;;
! 282: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 283: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 284: program_suffix="$ac_optarg" ;;
! 285:
! 286: -program-transform-name | --program-transform-name \
! 287: | --program-transform-nam | --program-transform-na \
! 288: | --program-transform-n | --program-transform- \
! 289: | --program-transform | --program-transfor \
! 290: | --program-transfo | --program-transf \
! 291: | --program-trans | --program-tran \
! 292: | --progr-tra | --program-tr | --program-t)
! 293: ac_prev=program_transform_name ;;
! 294: -program-transform-name=* | --program-transform-name=* \
! 295: | --program-transform-nam=* | --program-transform-na=* \
! 296: | --program-transform-n=* | --program-transform-=* \
! 297: | --program-transform=* | --program-transfor=* \
! 298: | --program-transfo=* | --program-transf=* \
! 299: | --program-trans=* | --program-tran=* \
! 300: | --progr-tra=* | --program-tr=* | --program-t=*)
! 301: program_transform_name="$ac_optarg" ;;
! 302:
! 303: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 304: | -silent | --silent | --silen | --sile | --sil)
! 305: silent=yes ;;
! 306:
! 307: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 308: ac_prev=sbindir ;;
! 309: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 310: | --sbi=* | --sb=*)
! 311: sbindir="$ac_optarg" ;;
! 312:
! 313: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 314: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 315: | --sharedst | --shareds | --shared | --share | --shar \
! 316: | --sha | --sh)
! 317: ac_prev=sharedstatedir ;;
! 318: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 319: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 320: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 321: | --sha=* | --sh=*)
! 322: sharedstatedir="$ac_optarg" ;;
! 323:
! 324: -site | --site | --sit)
! 325: ac_prev=site ;;
! 326: -site=* | --site=* | --sit=*)
! 327: site="$ac_optarg" ;;
! 328:
! 329: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 330: ac_prev=srcdir ;;
! 331: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 332: srcdir="$ac_optarg" ;;
! 333:
! 334: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 335: | --syscon | --sysco | --sysc | --sys | --sy)
! 336: ac_prev=sysconfdir ;;
! 337: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 338: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 339: sysconfdir="$ac_optarg" ;;
! 340:
! 341: -target | --target | --targe | --targ | --tar | --ta | --t)
! 342: ac_prev=target ;;
! 343: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 344: target="$ac_optarg" ;;
! 345:
! 346: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 347: verbose=yes ;;
! 348:
! 349: -version | --version | --versio | --versi | --vers)
! 350: echo "configure generated by autoconf version 2.13"
! 351: exit 0 ;;
! 352:
! 353: -with-* | --with-*)
! 354: ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
! 355: # Reject names that are not valid shell variable names.
! 356: if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
! 357: { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
! 358: fi
! 359: ac_package=`echo $ac_package| sed 's/-/_/g'`
! 360: case "$ac_option" in
! 361: *=*) ;;
! 362: *) ac_optarg=yes ;;
! 363: esac
! 364: eval "with_${ac_package}='$ac_optarg'" ;;
! 365:
! 366: -without-* | --without-*)
! 367: ac_package=`echo $ac_option|sed -e 's/-*without-//'`
! 368: # Reject names that are not valid shell variable names.
! 369: if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
! 370: { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
! 371: fi
! 372: ac_package=`echo $ac_package| sed 's/-/_/g'`
! 373: eval "with_${ac_package}=no" ;;
! 374:
! 375: --x)
! 376: # Obsolete; use --with-x.
! 377: with_x=yes ;;
! 378:
! 379: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 380: | --x-incl | --x-inc | --x-in | --x-i)
! 381: ac_prev=x_includes ;;
! 382: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 383: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 384: x_includes="$ac_optarg" ;;
! 385:
! 386: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 387: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 388: ac_prev=x_libraries ;;
! 389: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 390: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 391: x_libraries="$ac_optarg" ;;
! 392:
! 393: -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
! 394: ;;
! 395:
! 396: *)
! 397: if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
! 398: echo "configure: warning: $ac_option: invalid host type" 1>&2
! 399: fi
! 400: if test "x$nonopt" != xNONE; then
! 401: { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
! 402: fi
! 403: nonopt="$ac_option"
! 404: ;;
! 405:
! 406: esac
! 407: done
! 408:
! 409: if test -n "$ac_prev"; then
! 410: { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
! 411: fi
! 412:
! 413: trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
! 414:
! 415: # File descriptor usage:
! 416: # 0 standard input
! 417: # 1 file creation
! 418: # 2 errors and warnings
! 419: # 3 some systems may open it to /dev/tty
! 420: # 4 used on the Kubota Titan
! 421: # 6 checking for... messages and results
! 422: # 5 compiler messages saved in config.log
! 423: if test "$silent" = yes; then
! 424: exec 6>/dev/null
! 425: else
! 426: exec 6>&1
! 427: fi
! 428: exec 5>./config.log
! 429:
! 430: echo "\
! 431: This file contains any messages produced by compilers while
! 432: running configure, to aid debugging if configure makes a mistake.
! 433: " 1>&5
! 434:
! 435: # Strip out --no-create and --no-recursion so they do not pile up.
! 436: # Also quote any args containing shell metacharacters.
! 437: ac_configure_args=
! 438: for ac_arg
! 439: do
! 440: case "$ac_arg" in
! 441: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 442: | --no-cr | --no-c) ;;
! 443: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 444: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
! 445: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
! 446: ac_configure_args="$ac_configure_args '$ac_arg'" ;;
! 447: *) ac_configure_args="$ac_configure_args $ac_arg" ;;
! 448: esac
! 449: done
! 450:
! 451: # NLS nuisances.
! 452: # Only set these to C if already set. These must not be set unconditionally
! 453: # because not all systems understand e.g. LANG=C (notably SCO).
! 454: # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
! 455: # Non-C LC_CTYPE values break the ctype check.
! 456: if test "${LANG+set}" = set; then LANG=C; export LANG; fi
! 457: if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
! 458: if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
! 459: if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
! 460:
! 461: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 462: rm -rf conftest* confdefs.h
! 463: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
! 464: echo > confdefs.h
! 465:
! 466: # A filename unique to this package, relative to the directory that
! 467: # configure is in, which we can look for to find out if srcdir is correct.
! 468: ac_unique_file=parser3mysql.C
! 469:
! 470: # Find the source files, if location was not specified.
! 471: if test -z "$srcdir"; then
! 472: ac_srcdir_defaulted=yes
! 473: # Try the directory containing this script, then its parent.
! 474: ac_prog=$0
! 475: ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
! 476: test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
! 477: srcdir=$ac_confdir
! 478: if test ! -r $srcdir/$ac_unique_file; then
! 479: srcdir=..
! 480: fi
! 481: else
! 482: ac_srcdir_defaulted=no
! 483: fi
! 484: if test ! -r $srcdir/$ac_unique_file; then
! 485: if test "$ac_srcdir_defaulted" = yes; then
! 486: { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
! 487: else
! 488: { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
! 489: fi
! 490: fi
! 491: srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
! 492:
! 493: # Prefer explicitly selected file to automatically selected ones.
! 494: if test -z "$CONFIG_SITE"; then
! 495: if test "x$prefix" != xNONE; then
! 496: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
! 497: else
! 498: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
! 499: fi
! 500: fi
! 501: for ac_site_file in $CONFIG_SITE; do
! 502: if test -r "$ac_site_file"; then
! 503: echo "loading site script $ac_site_file"
! 504: . "$ac_site_file"
! 505: fi
! 506: done
! 507:
! 508: if test -r "$cache_file"; then
! 509: echo "loading cache $cache_file"
! 510: . $cache_file
! 511: else
! 512: echo "creating cache $cache_file"
! 513: > $cache_file
! 514: fi
! 515:
! 516: ac_ext=c
! 517: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
! 518: ac_cpp='$CPP $CPPFLAGS'
! 519: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
! 520: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
! 521: cross_compiling=$ac_cv_prog_cc_cross
! 522:
! 523: ac_exeext=
! 524: ac_objext=o
! 525: if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
! 526: # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
! 527: if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
! 528: ac_n= ac_c='
! 529: ' ac_t=' '
! 530: else
! 531: ac_n=-n ac_c= ac_t=
! 532: fi
! 533: else
! 534: ac_n= ac_c='\c' ac_t=
! 535: fi
! 536:
! 537:
! 538: ac_aux_dir=
! 539: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
! 540: if test -f $ac_dir/install-sh; then
! 541: ac_aux_dir=$ac_dir
! 542: ac_install_sh="$ac_aux_dir/install-sh -c"
! 543: break
! 544: elif test -f $ac_dir/install.sh; then
! 545: ac_aux_dir=$ac_dir
! 546: ac_install_sh="$ac_aux_dir/install.sh -c"
! 547: break
! 548: fi
! 549: done
! 550: if test -z "$ac_aux_dir"; then
! 551: { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
! 552: fi
! 553: ac_config_guess=$ac_aux_dir/config.guess
! 554: ac_config_sub=$ac_aux_dir/config.sub
! 555: ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
! 556:
! 557: # Find a good install program. We prefer a C program (faster),
! 558: # so one script is as good as another. But avoid the broken or
! 559: # incompatible versions:
! 560: # SysV /etc/install, /usr/sbin/install
! 561: # SunOS /usr/etc/install
! 562: # IRIX /sbin/install
! 563: # AIX /bin/install
! 564: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
! 565: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
! 566: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
! 567: # ./install, which can be erroneously created by make from ./install.sh.
! 568: echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! 569: echo "configure:570: checking for a BSD compatible install" >&5
! 570: if test -z "$INSTALL"; then
! 571: if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
! 572: echo $ac_n "(cached) $ac_c" 1>&6
! 573: else
! 574: IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
! 575: for ac_dir in $PATH; do
! 576: # Account for people who put trailing slashes in PATH elements.
! 577: case "$ac_dir/" in
! 578: /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
! 579: *)
! 580: # OSF1 and SCO ODT 3.0 have their own names for install.
! 581: # Don't use installbsd from OSF since it installs stuff as root
! 582: # by default.
! 583: for ac_prog in ginstall scoinst install; do
! 584: if test -f $ac_dir/$ac_prog; then
! 585: if test $ac_prog = install &&
! 586: grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
! 587: # AIX install. It has an incompatible calling convention.
! 588: :
! 589: else
! 590: ac_cv_path_install="$ac_dir/$ac_prog -c"
! 591: break 2
! 592: fi
! 593: fi
! 594: done
! 595: ;;
! 596: esac
! 597: done
! 598: IFS="$ac_save_IFS"
! 599:
! 600: fi
! 601: if test "${ac_cv_path_install+set}" = set; then
! 602: INSTALL="$ac_cv_path_install"
! 603: else
! 604: # As a last resort, use the slow shell script. We don't cache a
! 605: # path for INSTALL within a source directory, because that will
! 606: # break other packages using the cache if that directory is
! 607: # removed, or if the path is relative.
! 608: INSTALL="$ac_install_sh"
! 609: fi
! 610: fi
! 611: echo "$ac_t""$INSTALL" 1>&6
! 612:
! 613: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
! 614: # It thinks the first close brace ends the variable substitution.
! 615: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! 616:
! 617: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
! 618:
! 619: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! 620:
! 621: echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
! 622: echo "configure:623: checking whether build environment is sane" >&5
! 623: # Just in case
! 624: sleep 1
! 625: echo timestamp > conftestfile
! 626: # Do `set' in a subshell so we don't clobber the current shell's
! 627: # arguments. Must try -L first in case configure is actually a
! 628: # symlink; some systems play weird games with the mod time of symlinks
! 629: # (eg FreeBSD returns the mod time of the symlink's containing
! 630: # directory).
! 631: if (
! 632: set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
! 633: if test "$*" = "X"; then
! 634: # -L didn't work.
! 635: set X `ls -t $srcdir/configure conftestfile`
! 636: fi
! 637: if test "$*" != "X $srcdir/configure conftestfile" \
! 638: && test "$*" != "X conftestfile $srcdir/configure"; then
! 639:
! 640: # If neither matched, then we have a broken ls. This can happen
! 641: # if, for instance, CONFIG_SHELL is bash and it inherits a
! 642: # broken ls alias from the environment. This has actually
! 643: # happened. Such a system could not be considered "sane".
! 644: { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
! 645: alias in your environment" 1>&2; exit 1; }
! 646: fi
! 647:
! 648: test "$2" = conftestfile
! 649: )
! 650: then
! 651: # Ok.
! 652: :
! 653: else
! 654: { echo "configure: error: newly created file is older than distributed files!
! 655: Check your system clock" 1>&2; exit 1; }
! 656: fi
! 657: rm -f conftest*
! 658: echo "$ac_t""yes" 1>&6
! 659: if test "$program_transform_name" = s,x,x,; then
! 660: program_transform_name=
! 661: else
! 662: # Double any \ or $. echo might interpret backslashes.
! 663: cat <<\EOF_SED > conftestsed
! 664: s,\\,\\\\,g; s,\$,$$,g
! 665: EOF_SED
! 666: program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
! 667: rm -f conftestsed
! 668: fi
! 669: test "$program_prefix" != NONE &&
! 670: program_transform_name="s,^,${program_prefix},; $program_transform_name"
! 671: # Use a double $ so make ignores it.
! 672: test "$program_suffix" != NONE &&
! 673: program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
! 674:
! 675: # sed with no file args requires a program.
! 676: test "$program_transform_name" = "" && program_transform_name="s,x,x,"
! 677:
! 678: echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
! 679: echo "configure:680: checking whether ${MAKE-make} sets \${MAKE}" >&5
! 680: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
! 681: if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
! 682: echo $ac_n "(cached) $ac_c" 1>&6
! 683: else
! 684: cat > conftestmake <<\EOF
! 685: all:
! 686: @echo 'ac_maketemp="${MAKE}"'
! 687: EOF
! 688: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
! 689: eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
! 690: if test -n "$ac_maketemp"; then
! 691: eval ac_cv_prog_make_${ac_make}_set=yes
! 692: else
! 693: eval ac_cv_prog_make_${ac_make}_set=no
! 694: fi
! 695: rm -f conftestmake
! 696: fi
! 697: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
! 698: echo "$ac_t""yes" 1>&6
! 699: SET_MAKE=
! 700: else
! 701: echo "$ac_t""no" 1>&6
! 702: SET_MAKE="MAKE=${MAKE-make}"
! 703: fi
! 704:
! 705:
! 706: PACKAGE=parser3mysqlclient
! 707:
! 708: VERSION=3.0g
! 709:
! 710: if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
! 711: { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
! 712: fi
! 713:
! 714:
! 715:
! 716: missing_dir=`cd $ac_aux_dir && pwd`
! 717: echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
! 718: echo "configure:719: checking for working aclocal" >&5
! 719: # Run test in a subshell; some versions of sh will print an error if
! 720: # an executable is not found, even if stderr is redirected.
! 721: # Redirect stdin to placate older versions of autoconf. Sigh.
! 722: if (aclocal --version) < /dev/null > /dev/null 2>&1; then
! 723: ACLOCAL=aclocal
! 724: echo "$ac_t""found" 1>&6
! 725: else
! 726: ACLOCAL="$missing_dir/missing aclocal"
! 727: echo "$ac_t""missing" 1>&6
! 728: fi
! 729:
! 730: echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
! 731: echo "configure:732: checking for working autoconf" >&5
! 732: # Run test in a subshell; some versions of sh will print an error if
! 733: # an executable is not found, even if stderr is redirected.
! 734: # Redirect stdin to placate older versions of autoconf. Sigh.
! 735: if (autoconf --version) < /dev/null > /dev/null 2>&1; then
! 736: AUTOCONF=autoconf
! 737: echo "$ac_t""found" 1>&6
! 738: else
! 739: AUTOCONF="$missing_dir/missing autoconf"
! 740: echo "$ac_t""missing" 1>&6
! 741: fi
! 742:
! 743: echo $ac_n "checking for working automake""... $ac_c" 1>&6
! 744: echo "configure:745: checking for working automake" >&5
! 745: # Run test in a subshell; some versions of sh will print an error if
! 746: # an executable is not found, even if stderr is redirected.
! 747: # Redirect stdin to placate older versions of autoconf. Sigh.
! 748: if (automake --version) < /dev/null > /dev/null 2>&1; then
! 749: AUTOMAKE=automake
! 750: echo "$ac_t""found" 1>&6
! 751: else
! 752: AUTOMAKE="$missing_dir/missing automake"
! 753: echo "$ac_t""missing" 1>&6
! 754: fi
! 755:
! 756: echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
! 757: echo "configure:758: checking for working autoheader" >&5
! 758: # Run test in a subshell; some versions of sh will print an error if
! 759: # an executable is not found, even if stderr is redirected.
! 760: # Redirect stdin to placate older versions of autoconf. Sigh.
! 761: if (autoheader --version) < /dev/null > /dev/null 2>&1; then
! 762: AUTOHEADER=autoheader
! 763: echo "$ac_t""found" 1>&6
! 764: else
! 765: AUTOHEADER="$missing_dir/missing autoheader"
! 766: echo "$ac_t""missing" 1>&6
! 767: fi
! 768:
! 769: echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
! 770: echo "configure:771: checking for working makeinfo" >&5
! 771: # Run test in a subshell; some versions of sh will print an error if
! 772: # an executable is not found, even if stderr is redirected.
! 773: # Redirect stdin to placate older versions of autoconf. Sigh.
! 774: if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
! 775: MAKEINFO=makeinfo
! 776: echo "$ac_t""found" 1>&6
! 777: else
! 778: MAKEINFO="$missing_dir/missing makeinfo"
! 779: echo "$ac_t""missing" 1>&6
! 780: fi
! 781:
! 782:
! 783:
! 784:
! 785:
! 786:
! 787:
! 788: # Find a good install program. We prefer a C program (faster),
! 789: # so one script is as good as another. But avoid the broken or
! 790: # incompatible versions:
! 791: # SysV /etc/install, /usr/sbin/install
! 792: # SunOS /usr/etc/install
! 793: # IRIX /sbin/install
! 794: # AIX /bin/install
! 795: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
! 796: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
! 797: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
! 798: # ./install, which can be erroneously created by make from ./install.sh.
! 799: echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! 800: echo "configure:801: checking for a BSD compatible install" >&5
! 801: if test -z "$INSTALL"; then
! 802: if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
! 803: echo $ac_n "(cached) $ac_c" 1>&6
! 804: else
! 805: IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
! 806: for ac_dir in $PATH; do
! 807: # Account for people who put trailing slashes in PATH elements.
! 808: case "$ac_dir/" in
! 809: /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
! 810: *)
! 811: # OSF1 and SCO ODT 3.0 have their own names for install.
! 812: # Don't use installbsd from OSF since it installs stuff as root
! 813: # by default.
! 814: for ac_prog in ginstall scoinst install; do
! 815: if test -f $ac_dir/$ac_prog; then
! 816: if test $ac_prog = install &&
! 817: grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
! 818: # AIX install. It has an incompatible calling convention.
! 819: :
! 820: else
! 821: ac_cv_path_install="$ac_dir/$ac_prog -c"
! 822: break 2
! 823: fi
! 824: fi
! 825: done
! 826: ;;
! 827: esac
! 828: done
! 829: IFS="$ac_save_IFS"
! 830:
! 831: fi
! 832: if test "${ac_cv_path_install+set}" = set; then
! 833: INSTALL="$ac_cv_path_install"
! 834: else
! 835: # As a last resort, use the slow shell script. We don't cache a
! 836: # path for INSTALL within a source directory, because that will
! 837: # break other packages using the cache if that directory is
! 838: # removed, or if the path is relative.
! 839: INSTALL="$ac_install_sh"
! 840: fi
! 841: fi
! 842: echo "$ac_t""$INSTALL" 1>&6
! 843:
! 844: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
! 845: # It thinks the first close brace ends the variable substitution.
! 846: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! 847:
! 848: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
! 849:
! 850: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! 851:
! 852: echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
! 853: echo "configure:854: checking whether ${MAKE-make} sets \${MAKE}" >&5
! 854: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
! 855: if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
! 856: echo $ac_n "(cached) $ac_c" 1>&6
! 857: else
! 858: cat > conftestmake <<\EOF
! 859: all:
! 860: @echo 'ac_maketemp="${MAKE}"'
! 861: EOF
! 862: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
! 863: eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
! 864: if test -n "$ac_maketemp"; then
! 865: eval ac_cv_prog_make_${ac_make}_set=yes
! 866: else
! 867: eval ac_cv_prog_make_${ac_make}_set=no
! 868: fi
! 869: rm -f conftestmake
! 870: fi
! 871: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
! 872: echo "$ac_t""yes" 1>&6
! 873: SET_MAKE=
! 874: else
! 875: echo "$ac_t""no" 1>&6
! 876: SET_MAKE="MAKE=${MAKE-make}"
! 877: fi
! 878:
! 879: for ac_prog in mawk gawk nawk awk
! 880: do
! 881: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 882: set dummy $ac_prog; ac_word=$2
! 883: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! 884: echo "configure:885: checking for $ac_word" >&5
! 885: if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
! 886: echo $ac_n "(cached) $ac_c" 1>&6
! 887: else
! 888: if test -n "$AWK"; then
! 889: ac_cv_prog_AWK="$AWK" # Let the user override the test.
! 890: else
! 891: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! 892: ac_dummy="$PATH"
! 893: for ac_dir in $ac_dummy; do
! 894: test -z "$ac_dir" && ac_dir=.
! 895: if test -f $ac_dir/$ac_word; then
! 896: ac_cv_prog_AWK="$ac_prog"
! 897: break
! 898: fi
! 899: done
! 900: IFS="$ac_save_ifs"
! 901: fi
! 902: fi
! 903: AWK="$ac_cv_prog_AWK"
! 904: if test -n "$AWK"; then
! 905: echo "$ac_t""$AWK" 1>&6
! 906: else
! 907: echo "$ac_t""no" 1>&6
! 908: fi
! 909:
! 910: test -n "$AWK" && break
! 911: done
! 912:
! 913:
! 914: ac_ext=C
! 915: # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
! 916: ac_cpp='$CXXCPP $CPPFLAGS'
! 917: ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
! 918: ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
! 919: cross_compiling=$ac_cv_prog_cxx_cross
! 920:
! 921: for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
! 922: do
! 923: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 924: set dummy $ac_prog; ac_word=$2
! 925: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! 926: echo "configure:927: checking for $ac_word" >&5
! 927: if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
! 928: echo $ac_n "(cached) $ac_c" 1>&6
! 929: else
! 930: if test -n "$CXX"; then
! 931: ac_cv_prog_CXX="$CXX" # Let the user override the test.
! 932: else
! 933: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! 934: ac_dummy="$PATH"
! 935: for ac_dir in $ac_dummy; do
! 936: test -z "$ac_dir" && ac_dir=.
! 937: if test -f $ac_dir/$ac_word; then
! 938: ac_cv_prog_CXX="$ac_prog"
! 939: break
! 940: fi
! 941: done
! 942: IFS="$ac_save_ifs"
! 943: fi
! 944: fi
! 945: CXX="$ac_cv_prog_CXX"
! 946: if test -n "$CXX"; then
! 947: echo "$ac_t""$CXX" 1>&6
! 948: else
! 949: echo "$ac_t""no" 1>&6
! 950: fi
! 951:
! 952: test -n "$CXX" && break
! 953: done
! 954: test -n "$CXX" || CXX="gcc"
! 955:
! 956:
! 957: echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
! 958: echo "configure:959: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
! 959:
! 960: ac_ext=C
! 961: # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
! 962: ac_cpp='$CXXCPP $CPPFLAGS'
! 963: ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
! 964: ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
! 965: cross_compiling=$ac_cv_prog_cxx_cross
! 966:
! 967: cat > conftest.$ac_ext << EOF
! 968:
! 969: #line 970 "configure"
! 970: #include "confdefs.h"
! 971:
! 972: int main(){return(0);}
! 973: EOF
! 974: if { (eval echo configure:975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
! 975: ac_cv_prog_cxx_works=yes
! 976: # If we can't run a trivial program, we are probably using a cross compiler.
! 977: if (./conftest; exit) 2>/dev/null; then
! 978: ac_cv_prog_cxx_cross=no
! 979: else
! 980: ac_cv_prog_cxx_cross=yes
! 981: fi
! 982: else
! 983: echo "configure: failed program was:" >&5
! 984: cat conftest.$ac_ext >&5
! 985: ac_cv_prog_cxx_works=no
! 986: fi
! 987: rm -fr conftest*
! 988: ac_ext=C
! 989: # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
! 990: ac_cpp='$CXXCPP $CPPFLAGS'
! 991: ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
! 992: ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
! 993: cross_compiling=$ac_cv_prog_cxx_cross
! 994:
! 995: echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
! 996: if test $ac_cv_prog_cxx_works = no; then
! 997: { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
! 998: fi
! 999: echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
! 1000: echo "configure:1001: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
! 1001: echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
! 1002: cross_compiling=$ac_cv_prog_cxx_cross
! 1003:
! 1004: echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
! 1005: echo "configure:1006: checking whether we are using GNU C++" >&5
! 1006: if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
! 1007: echo $ac_n "(cached) $ac_c" 1>&6
! 1008: else
! 1009: cat > conftest.C <<EOF
! 1010: #ifdef __GNUC__
! 1011: yes;
! 1012: #endif
! 1013: EOF
! 1014: if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
! 1015: ac_cv_prog_gxx=yes
! 1016: else
! 1017: ac_cv_prog_gxx=no
! 1018: fi
! 1019: fi
! 1020:
! 1021: echo "$ac_t""$ac_cv_prog_gxx" 1>&6
! 1022:
! 1023: if test $ac_cv_prog_gxx = yes; then
! 1024: GXX=yes
! 1025: else
! 1026: GXX=
! 1027: fi
! 1028:
! 1029: ac_test_CXXFLAGS="${CXXFLAGS+set}"
! 1030: ac_save_CXXFLAGS="$CXXFLAGS"
! 1031: CXXFLAGS=
! 1032: echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
! 1033: echo "configure:1034: checking whether ${CXX-g++} accepts -g" >&5
! 1034: if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
! 1035: echo $ac_n "(cached) $ac_c" 1>&6
! 1036: else
! 1037: echo 'void f(){}' > conftest.cc
! 1038: if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
! 1039: ac_cv_prog_cxx_g=yes
! 1040: else
! 1041: ac_cv_prog_cxx_g=no
! 1042: fi
! 1043: rm -f conftest*
! 1044:
! 1045: fi
! 1046:
! 1047: echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
! 1048: if test "$ac_test_CXXFLAGS" = set; then
! 1049: CXXFLAGS="$ac_save_CXXFLAGS"
! 1050: elif test $ac_cv_prog_cxx_g = yes; then
! 1051: if test "$GXX" = yes; then
! 1052: CXXFLAGS="-g -O2"
! 1053: else
! 1054: CXXFLAGS="-g"
! 1055: fi
! 1056: else
! 1057: if test "$GXX" = yes; then
! 1058: CXXFLAGS="-O2"
! 1059: else
! 1060: CXXFLAGS=
! 1061: fi
! 1062: fi
! 1063:
! 1064:
! 1065:
! 1066: # Check whether --enable-shared or --disable-shared was given.
! 1067: if test "${enable_shared+set}" = set; then
! 1068: enableval="$enable_shared"
! 1069: p=${PACKAGE-default}
! 1070: case "$enableval" in
! 1071: yes) enable_shared=yes ;;
! 1072: no) enable_shared=no ;;
! 1073: *)
! 1074: enable_shared=no
! 1075: # Look at the argument we got. We use all the common list separators.
! 1076: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
! 1077: for pkg in $enableval; do
! 1078: if test "X$pkg" = "X$p"; then
! 1079: enable_shared=yes
! 1080: fi
! 1081: done
! 1082: IFS="$ac_save_ifs"
! 1083: ;;
! 1084: esac
! 1085: else
! 1086: enable_shared=yes
! 1087: fi
! 1088:
! 1089: # Check whether --enable-static or --disable-static was given.
! 1090: if test "${enable_static+set}" = set; then
! 1091: enableval="$enable_static"
! 1092: p=${PACKAGE-default}
! 1093: case "$enableval" in
! 1094: yes) enable_static=yes ;;
! 1095: no) enable_static=no ;;
! 1096: *)
! 1097: enable_static=no
! 1098: # Look at the argument we got. We use all the common list separators.
! 1099: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
! 1100: for pkg in $enableval; do
! 1101: if test "X$pkg" = "X$p"; then
! 1102: enable_static=yes
! 1103: fi
! 1104: done
! 1105: IFS="$ac_save_ifs"
! 1106: ;;
! 1107: esac
! 1108: else
! 1109: enable_static=yes
! 1110: fi
! 1111:
! 1112: # Check whether --enable-fast-install or --disable-fast-install was given.
! 1113: if test "${enable_fast_install+set}" = set; then
! 1114: enableval="$enable_fast_install"
! 1115: p=${PACKAGE-default}
! 1116: case "$enableval" in
! 1117: yes) enable_fast_install=yes ;;
! 1118: no) enable_fast_install=no ;;
! 1119: *)
! 1120: enable_fast_install=no
! 1121: # Look at the argument we got. We use all the common list separators.
! 1122: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
! 1123: for pkg in $enableval; do
! 1124: if test "X$pkg" = "X$p"; then
! 1125: enable_fast_install=yes
! 1126: fi
! 1127: done
! 1128: IFS="$ac_save_ifs"
! 1129: ;;
! 1130: esac
! 1131: else
! 1132: enable_fast_install=yes
! 1133: fi
! 1134:
! 1135:
! 1136: # Make sure we can run config.sub.
! 1137: if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
! 1138: else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
! 1139: fi
! 1140:
! 1141: echo $ac_n "checking host system type""... $ac_c" 1>&6
! 1142: echo "configure:1143: checking host system type" >&5
! 1143:
! 1144: host_alias=$host
! 1145: case "$host_alias" in
! 1146: NONE)
! 1147: case $nonopt in
! 1148: NONE)
! 1149: if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
! 1150: else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
! 1151: fi ;;
! 1152: *) host_alias=$nonopt ;;
! 1153: esac ;;
! 1154: esac
! 1155:
! 1156: host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
! 1157: host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! 1158: host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! 1159: host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! 1160: echo "$ac_t""$host" 1>&6
! 1161:
! 1162: echo $ac_n "checking build system type""... $ac_c" 1>&6
! 1163: echo "configure:1164: checking build system type" >&5
! 1164:
! 1165: build_alias=$build
! 1166: case "$build_alias" in
! 1167: NONE)
! 1168: case $nonopt in
! 1169: NONE) build_alias=$host_alias ;;
! 1170: *) build_alias=$nonopt ;;
! 1171: esac ;;
! 1172: esac
! 1173:
! 1174: build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
! 1175: build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! 1176: build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! 1177: build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! 1178: echo "$ac_t""$build" 1>&6
! 1179:
! 1180: # Extract the first word of "ranlib", so it can be a program name with args.
! 1181: set dummy ranlib; ac_word=$2
! 1182: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! 1183: echo "configure:1184: checking for $ac_word" >&5
! 1184: if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
! 1185: echo $ac_n "(cached) $ac_c" 1>&6
! 1186: else
! 1187: if test -n "$RANLIB"; then
! 1188: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 1189: else
! 1190: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! 1191: ac_dummy="$PATH"
! 1192: for ac_dir in $ac_dummy; do
! 1193: test -z "$ac_dir" && ac_dir=.
! 1194: if test -f $ac_dir/$ac_word; then
! 1195: ac_cv_prog_RANLIB="ranlib"
! 1196: break
! 1197: fi
! 1198: done
! 1199: IFS="$ac_save_ifs"
! 1200: test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
! 1201: fi
! 1202: fi
! 1203: RANLIB="$ac_cv_prog_RANLIB"
! 1204: if test -n "$RANLIB"; then
! 1205: echo "$ac_t""$RANLIB" 1>&6
! 1206: else
! 1207: echo "$ac_t""no" 1>&6
! 1208: fi
! 1209:
! 1210: # Extract the first word of "gcc", so it can be a program name with args.
! 1211: set dummy gcc; ac_word=$2
! 1212: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! 1213: echo "configure:1214: checking for $ac_word" >&5
! 1214: if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
! 1215: echo $ac_n "(cached) $ac_c" 1>&6
! 1216: else
! 1217: if test -n "$CC"; then
! 1218: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1219: else
! 1220: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! 1221: ac_dummy="$PATH"
! 1222: for ac_dir in $ac_dummy; do
! 1223: test -z "$ac_dir" && ac_dir=.
! 1224: if test -f $ac_dir/$ac_word; then
! 1225: ac_cv_prog_CC="gcc"
! 1226: break
! 1227: fi
! 1228: done
! 1229: IFS="$ac_save_ifs"
! 1230: fi
! 1231: fi
! 1232: CC="$ac_cv_prog_CC"
! 1233: if test -n "$CC"; then
! 1234: echo "$ac_t""$CC" 1>&6
! 1235: else
! 1236: echo "$ac_t""no" 1>&6
! 1237: fi
! 1238:
! 1239: if test -z "$CC"; then
! 1240: # Extract the first word of "cc", so it can be a program name with args.
! 1241: set dummy cc; ac_word=$2
! 1242: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! 1243: echo "configure:1244: checking for $ac_word" >&5
! 1244: if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
! 1245: echo $ac_n "(cached) $ac_c" 1>&6
! 1246: else
! 1247: if test -n "$CC"; then
! 1248: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1249: else
! 1250: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! 1251: ac_prog_rejected=no
! 1252: ac_dummy="$PATH"
! 1253: for ac_dir in $ac_dummy; do
! 1254: test -z "$ac_dir" && ac_dir=.
! 1255: if test -f $ac_dir/$ac_word; then
! 1256: if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
! 1257: ac_prog_rejected=yes
! 1258: continue
! 1259: fi
! 1260: ac_cv_prog_CC="cc"
! 1261: break
! 1262: fi
! 1263: done
! 1264: IFS="$ac_save_ifs"
! 1265: if test $ac_prog_rejected = yes; then
! 1266: # We found a bogon in the path, so make sure we never use it.
! 1267: set dummy $ac_cv_prog_CC
! 1268: shift
! 1269: if test $# -gt 0; then
! 1270: # We chose a different compiler from the bogus one.
! 1271: # However, it has the same basename, so the bogon will be chosen
! 1272: # first if we set CC to just the basename; use the full file name.
! 1273: shift
! 1274: set dummy "$ac_dir/$ac_word" "$@"
! 1275: shift
! 1276: ac_cv_prog_CC="$@"
! 1277: fi
! 1278: fi
! 1279: fi
! 1280: fi
! 1281: CC="$ac_cv_prog_CC"
! 1282: if test -n "$CC"; then
! 1283: echo "$ac_t""$CC" 1>&6
! 1284: else
! 1285: echo "$ac_t""no" 1>&6
! 1286: fi
! 1287:
! 1288: if test -z "$CC"; then
! 1289: case "`uname -s`" in
! 1290: *win32* | *WIN32*)
! 1291: # Extract the first word of "cl", so it can be a program name with args.
! 1292: set dummy cl; ac_word=$2
! 1293: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! 1294: echo "configure:1295: checking for $ac_word" >&5
! 1295: if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
! 1296: echo $ac_n "(cached) $ac_c" 1>&6
! 1297: else
! 1298: if test -n "$CC"; then
! 1299: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1300: else
! 1301: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! 1302: ac_dummy="$PATH"
! 1303: for ac_dir in $ac_dummy; do
! 1304: test -z "$ac_dir" && ac_dir=.
! 1305: if test -f $ac_dir/$ac_word; then
! 1306: ac_cv_prog_CC="cl"
! 1307: break
! 1308: fi
! 1309: done
! 1310: IFS="$ac_save_ifs"
! 1311: fi
! 1312: fi
! 1313: CC="$ac_cv_prog_CC"
! 1314: if test -n "$CC"; then
! 1315: echo "$ac_t""$CC" 1>&6
! 1316: else
! 1317: echo "$ac_t""no" 1>&6
! 1318: fi
! 1319: ;;
! 1320: esac
! 1321: fi
! 1322: test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
! 1323: fi
! 1324:
! 1325: echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
! 1326: echo "configure:1327: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
! 1327:
! 1328: ac_ext=c
! 1329: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
! 1330: ac_cpp='$CPP $CPPFLAGS'
! 1331: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
! 1332: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
! 1333: cross_compiling=$ac_cv_prog_cc_cross
! 1334:
! 1335: cat > conftest.$ac_ext << EOF
! 1336:
! 1337: #line 1338 "configure"
! 1338: #include "confdefs.h"
! 1339:
! 1340: main(){return(0);}
! 1341: EOF
! 1342: if { (eval echo configure:1343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
! 1343: ac_cv_prog_cc_works=yes
! 1344: # If we can't run a trivial program, we are probably using a cross compiler.
! 1345: if (./conftest; exit) 2>/dev/null; then
! 1346: ac_cv_prog_cc_cross=no
! 1347: else
! 1348: ac_cv_prog_cc_cross=yes
! 1349: fi
! 1350: else
! 1351: echo "configure: failed program was:" >&5
! 1352: cat conftest.$ac_ext >&5
! 1353: ac_cv_prog_cc_works=no
! 1354: fi
! 1355: rm -fr conftest*
! 1356: ac_ext=C
! 1357: # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
! 1358: ac_cpp='$CXXCPP $CPPFLAGS'
! 1359: ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
! 1360: ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
! 1361: cross_compiling=$ac_cv_prog_cxx_cross
! 1362:
! 1363: echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
! 1364: if test $ac_cv_prog_cc_works = no; then
! 1365: { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
! 1366: fi
! 1367: echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
! 1368: echo "configure:1369: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
! 1369: echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
! 1370: cross_compiling=$ac_cv_prog_cc_cross
! 1371:
! 1372: echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
! 1373: echo "configure:1374: checking whether we are using GNU C" >&5
! 1374: if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
! 1375: echo $ac_n "(cached) $ac_c" 1>&6
! 1376: else
! 1377: cat > conftest.c <<EOF
! 1378: #ifdef __GNUC__
! 1379: yes;
! 1380: #endif
! 1381: EOF
! 1382: if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
! 1383: ac_cv_prog_gcc=yes
! 1384: else
! 1385: ac_cv_prog_gcc=no
! 1386: fi
! 1387: fi
! 1388:
! 1389: echo "$ac_t""$ac_cv_prog_gcc" 1>&6
! 1390:
! 1391: if test $ac_cv_prog_gcc = yes; then
! 1392: GCC=yes
! 1393: else
! 1394: GCC=
! 1395: fi
! 1396:
! 1397: ac_test_CFLAGS="${CFLAGS+set}"
! 1398: ac_save_CFLAGS="$CFLAGS"
! 1399: CFLAGS=
! 1400: echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
! 1401: echo "configure:1402: checking whether ${CC-cc} accepts -g" >&5
! 1402: if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
! 1403: echo $ac_n "(cached) $ac_c" 1>&6
! 1404: else
! 1405: echo 'void f(){}' > conftest.c
! 1406: if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
! 1407: ac_cv_prog_cc_g=yes
! 1408: else
! 1409: ac_cv_prog_cc_g=no
! 1410: fi
! 1411: rm -f conftest*
! 1412:
! 1413: fi
! 1414:
! 1415: echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
! 1416: if test "$ac_test_CFLAGS" = set; then
! 1417: CFLAGS="$ac_save_CFLAGS"
! 1418: elif test $ac_cv_prog_cc_g = yes; then
! 1419: if test "$GCC" = yes; then
! 1420: CFLAGS="-g -O2"
! 1421: else
! 1422: CFLAGS="-g"
! 1423: fi
! 1424: else
! 1425: if test "$GCC" = yes; then
! 1426: CFLAGS="-O2"
! 1427: else
! 1428: CFLAGS=
! 1429: fi
! 1430: fi
! 1431:
! 1432: # Check whether --with-gnu-ld or --without-gnu-ld was given.
! 1433: if test "${with_gnu_ld+set}" = set; then
! 1434: withval="$with_gnu_ld"
! 1435: test "$withval" = no || with_gnu_ld=yes
! 1436: else
! 1437: with_gnu_ld=no
! 1438: fi
! 1439:
! 1440: ac_prog=ld
! 1441: if test "$ac_cv_prog_gcc" = yes; then
! 1442: # Check if gcc -print-prog-name=ld gives a path.
! 1443: echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
! 1444: echo "configure:1445: checking for ld used by GCC" >&5
! 1445: ac_prog=`($CC -print-prog-name=ld) 2>&5`
! 1446: case "$ac_prog" in
! 1447: # Accept absolute paths.
! 1448: [\\/]* | [A-Za-z]:[\\/]*)
! 1449: re_direlt='/[^/][^/]*/\.\./'
! 1450: # Canonicalize the path of ld
! 1451: ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
! 1452: while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
! 1453: ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
! 1454: done
! 1455: test -z "$LD" && LD="$ac_prog"
! 1456: ;;
! 1457: "")
! 1458: # If it fails, then pretend we aren't using GCC.
! 1459: ac_prog=ld
! 1460: ;;
! 1461: *)
! 1462: # If it is relative, then search for the first ld in PATH.
! 1463: with_gnu_ld=unknown
! 1464: ;;
! 1465: esac
! 1466: elif test "$with_gnu_ld" = yes; then
! 1467: echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
! 1468: echo "configure:1469: checking for GNU ld" >&5
! 1469: else
! 1470: echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
! 1471: echo "configure:1472: checking for non-GNU ld" >&5
! 1472: fi
! 1473: if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
! 1474: echo $ac_n "(cached) $ac_c" 1>&6
! 1475: else
! 1476: if test -z "$LD"; then
! 1477: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
! 1478: for ac_dir in $PATH; do
! 1479: test -z "$ac_dir" && ac_dir=.
! 1480: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 1481: ac_cv_path_LD="$ac_dir/$ac_prog"
! 1482: # Check to see if the program is GNU ld. I'd rather use --version,
! 1483: # but apparently some GNU ld's only accept -v.
! 1484: # Break only if it was the GNU/non-GNU ld that we prefer.
! 1485: if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
! 1486: test "$with_gnu_ld" != no && break
! 1487: else
! 1488: test "$with_gnu_ld" != yes && break
! 1489: fi
! 1490: fi
! 1491: done
! 1492: IFS="$ac_save_ifs"
! 1493: else
! 1494: ac_cv_path_LD="$LD" # Let the user override the test with a path.
! 1495: fi
! 1496: fi
! 1497:
! 1498: LD="$ac_cv_path_LD"
! 1499: if test -n "$LD"; then
! 1500: echo "$ac_t""$LD" 1>&6
! 1501: else
! 1502: echo "$ac_t""no" 1>&6
! 1503: fi
! 1504: test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
! 1505: echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
! 1506: echo "configure:1507: checking if the linker ($LD) is GNU ld" >&5
! 1507: if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
! 1508: echo $ac_n "(cached) $ac_c" 1>&6
! 1509: else
! 1510: # I'd rather use --version here, but apparently some GNU ld's only accept -v.
! 1511: if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
! 1512: ac_cv_prog_gnu_ld=yes
! 1513: else
! 1514: ac_cv_prog_gnu_ld=no
! 1515: fi
! 1516: fi
! 1517:
! 1518: echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
! 1519:
! 1520:
! 1521: echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
! 1522: echo "configure:1523: checking for BSD-compatible nm" >&5
! 1523: if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
! 1524: echo $ac_n "(cached) $ac_c" 1>&6
! 1525: else
! 1526: if test -n "$NM"; then
! 1527: # Let the user override the test.
! 1528: ac_cv_path_NM="$NM"
! 1529: else
! 1530: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
! 1531: for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
! 1532: test -z "$ac_dir" && ac_dir=.
! 1533: if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
! 1534: # Check to see if the nm accepts a BSD-compat flag.
! 1535: # Adding the `sed 1q' prevents false positives on HP-UX, which says:
! 1536: # nm: unknown option "B" ignored
! 1537: if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
! 1538: ac_cv_path_NM="$ac_dir/nm -B"
! 1539: break
! 1540: elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
! 1541: ac_cv_path_NM="$ac_dir/nm -p"
! 1542: break
! 1543: else
! 1544: ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
! 1545: continue # so that we can try to find one that supports BSD flags
! 1546: fi
! 1547: fi
! 1548: done
! 1549: IFS="$ac_save_ifs"
! 1550: test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
! 1551: fi
! 1552: fi
! 1553:
! 1554: NM="$ac_cv_path_NM"
! 1555: echo "$ac_t""$NM" 1>&6
! 1556:
! 1557: echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
! 1558: echo "configure:1559: checking whether ln -s works" >&5
! 1559: if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
! 1560: echo $ac_n "(cached) $ac_c" 1>&6
! 1561: else
! 1562: rm -f conftestdata
! 1563: if ln -s X conftestdata 2>/dev/null
! 1564: then
! 1565: rm -f conftestdata
! 1566: ac_cv_prog_LN_S="ln -s"
! 1567: else
! 1568: ac_cv_prog_LN_S=ln
! 1569: fi
! 1570: fi
! 1571: LN_S="$ac_cv_prog_LN_S"
! 1572: if test "$ac_cv_prog_LN_S" = "ln -s"; then
! 1573: echo "$ac_t""yes" 1>&6
! 1574: else
! 1575: echo "$ac_t""no" 1>&6
! 1576: fi
! 1577:
! 1578: if test $host != $build; then
! 1579: ac_tool_prefix=${host_alias}-
! 1580: else
! 1581: ac_tool_prefix=
! 1582: fi
! 1583:
! 1584:
! 1585: case "$target" in
! 1586: NONE) lt_target="$host" ;;
! 1587: *) lt_target="$target" ;;
! 1588: esac
! 1589:
! 1590: # Check for any special flags to pass to ltconfig.
! 1591: #
! 1592: # the following will cause an existing older ltconfig to fail, so
! 1593: # we ignore this at the expense of the cache file... Checking this
! 1594: # will just take longer ... bummer!
! 1595: #libtool_flags="--cache-file=$cache_file"
! 1596: #
! 1597: test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
! 1598: test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
! 1599: test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
! 1600: test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
! 1601: test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
! 1602:
! 1603: libtool_flags="$libtool_flags --enable-win32-dll"
! 1604: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
! 1605: if test "${enable_libtool_lock+set}" = set; then
! 1606: enableval="$enable_libtool_lock"
! 1607: :
! 1608: fi
! 1609:
! 1610: test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
! 1611: test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
! 1612:
! 1613: # Some flags need to be propagated to the compiler or linker for good
! 1614: # libtool support.
! 1615: case "$lt_target" in
! 1616: *-*-irix6*)
! 1617: # Find out which ABI we are using.
! 1618: echo '#line 1619 "configure"' > conftest.$ac_ext
! 1619: if { (eval echo configure:1620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
! 1620: case "`/usr/bin/file conftest.o`" in
! 1621: *32-bit*)
! 1622: LD="${LD-ld} -32"
! 1623: ;;
! 1624: *N32*)
! 1625: LD="${LD-ld} -n32"
! 1626: ;;
! 1627: *64-bit*)
! 1628: LD="${LD-ld} -64"
! 1629: ;;
! 1630: esac
! 1631: fi
! 1632: rm -rf conftest*
! 1633: ;;
! 1634:
! 1635: *-*-sco3.2v5*)
! 1636: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
! 1637: SAVE_CFLAGS="$CFLAGS"
! 1638: CFLAGS="$CFLAGS -belf"
! 1639: echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
! 1640: echo "configure:1641: checking whether the C compiler needs -belf" >&5
! 1641: if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
! 1642: echo $ac_n "(cached) $ac_c" 1>&6
! 1643: else
! 1644: cat > conftest.$ac_ext <<EOF
! 1645: #line 1646 "configure"
! 1646: #include "confdefs.h"
! 1647:
! 1648: int main() {
! 1649:
! 1650: ; return 0; }
! 1651: EOF
! 1652: if { (eval echo configure:1653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
! 1653: rm -rf conftest*
! 1654: lt_cv_cc_needs_belf=yes
! 1655: else
! 1656: echo "configure: failed program was:" >&5
! 1657: cat conftest.$ac_ext >&5
! 1658: rm -rf conftest*
! 1659: lt_cv_cc_needs_belf=no
! 1660: fi
! 1661: rm -f conftest*
! 1662: fi
! 1663:
! 1664: echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
! 1665: if test x"$lt_cv_cc_needs_belf" != x"yes"; then
! 1666: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
! 1667: CFLAGS="$SAVE_CFLAGS"
! 1668: fi
! 1669: ;;
! 1670:
! 1671: *-*-cygwin* | *-*-mingw*)
! 1672: # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
! 1673: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
! 1674: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! 1675: echo "configure:1676: checking for $ac_word" >&5
! 1676: if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
! 1677: echo $ac_n "(cached) $ac_c" 1>&6
! 1678: else
! 1679: if test -n "$DLLTOOL"; then
! 1680: ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
! 1681: else
! 1682: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! 1683: ac_dummy="$PATH"
! 1684: for ac_dir in $ac_dummy; do
! 1685: test -z "$ac_dir" && ac_dir=.
! 1686: if test -f $ac_dir/$ac_word; then
! 1687: ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
! 1688: break
! 1689: fi
! 1690: done
! 1691: IFS="$ac_save_ifs"
! 1692: fi
! 1693: fi
! 1694: DLLTOOL="$ac_cv_prog_DLLTOOL"
! 1695: if test -n "$DLLTOOL"; then
! 1696: echo "$ac_t""$DLLTOOL" 1>&6
! 1697: else
! 1698: echo "$ac_t""no" 1>&6
! 1699: fi
! 1700:
! 1701:
! 1702: if test -z "$ac_cv_prog_DLLTOOL"; then
! 1703: if test -n "$ac_tool_prefix"; then
! 1704: # Extract the first word of "dlltool", so it can be a program name with args.
! 1705: set dummy dlltool; ac_word=$2
! 1706: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! 1707: echo "configure:1708: checking for $ac_word" >&5
! 1708: if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
! 1709: echo $ac_n "(cached) $ac_c" 1>&6
! 1710: else
! 1711: if test -n "$DLLTOOL"; then
! 1712: ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
! 1713: else
! 1714: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! 1715: ac_dummy="$PATH"
! 1716: for ac_dir in $ac_dummy; do
! 1717: test -z "$ac_dir" && ac_dir=.
! 1718: if test -f $ac_dir/$ac_word; then
! 1719: ac_cv_prog_DLLTOOL="dlltool"
! 1720: break
! 1721: fi
! 1722: done
! 1723: IFS="$ac_save_ifs"
! 1724: test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false"
! 1725: fi
! 1726: fi
! 1727: DLLTOOL="$ac_cv_prog_DLLTOOL"
! 1728: if test -n "$DLLTOOL"; then
! 1729: echo "$ac_t""$DLLTOOL" 1>&6
! 1730: else
! 1731: echo "$ac_t""no" 1>&6
! 1732: fi
! 1733:
! 1734: else
! 1735: DLLTOOL="false"
! 1736: fi
! 1737: fi
! 1738:
! 1739: # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
! 1740: set dummy ${ac_tool_prefix}as; ac_word=$2
! 1741: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! 1742: echo "configure:1743: checking for $ac_word" >&5
! 1743: if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
! 1744: echo $ac_n "(cached) $ac_c" 1>&6
! 1745: else
! 1746: if test -n "$AS"; then
! 1747: ac_cv_prog_AS="$AS" # Let the user override the test.
! 1748: else
! 1749: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! 1750: ac_dummy="$PATH"
! 1751: for ac_dir in $ac_dummy; do
! 1752: test -z "$ac_dir" && ac_dir=.
! 1753: if test -f $ac_dir/$ac_word; then
! 1754: ac_cv_prog_AS="${ac_tool_prefix}as"
! 1755: break
! 1756: fi
! 1757: done
! 1758: IFS="$ac_save_ifs"
! 1759: fi
! 1760: fi
! 1761: AS="$ac_cv_prog_AS"
! 1762: if test -n "$AS"; then
! 1763: echo "$ac_t""$AS" 1>&6
! 1764: else
! 1765: echo "$ac_t""no" 1>&6
! 1766: fi
! 1767:
! 1768:
! 1769: if test -z "$ac_cv_prog_AS"; then
! 1770: if test -n "$ac_tool_prefix"; then
! 1771: # Extract the first word of "as", so it can be a program name with args.
! 1772: set dummy as; ac_word=$2
! 1773: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! 1774: echo "configure:1775: checking for $ac_word" >&5
! 1775: if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
! 1776: echo $ac_n "(cached) $ac_c" 1>&6
! 1777: else
! 1778: if test -n "$AS"; then
! 1779: ac_cv_prog_AS="$AS" # Let the user override the test.
! 1780: else
! 1781: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! 1782: ac_dummy="$PATH"
! 1783: for ac_dir in $ac_dummy; do
! 1784: test -z "$ac_dir" && ac_dir=.
! 1785: if test -f $ac_dir/$ac_word; then
! 1786: ac_cv_prog_AS="as"
! 1787: break
! 1788: fi
! 1789: done
! 1790: IFS="$ac_save_ifs"
! 1791: test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false"
! 1792: fi
! 1793: fi
! 1794: AS="$ac_cv_prog_AS"
! 1795: if test -n "$AS"; then
! 1796: echo "$ac_t""$AS" 1>&6
! 1797: else
! 1798: echo "$ac_t""no" 1>&6
! 1799: fi
! 1800:
! 1801: else
! 1802: AS="false"
! 1803: fi
! 1804: fi
! 1805:
! 1806: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
! 1807: set dummy ${ac_tool_prefix}objdump; ac_word=$2
! 1808: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! 1809: echo "configure:1810: checking for $ac_word" >&5
! 1810: if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
! 1811: echo $ac_n "(cached) $ac_c" 1>&6
! 1812: else
! 1813: if test -n "$OBJDUMP"; then
! 1814: ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
! 1815: else
! 1816: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! 1817: ac_dummy="$PATH"
! 1818: for ac_dir in $ac_dummy; do
! 1819: test -z "$ac_dir" && ac_dir=.
! 1820: if test -f $ac_dir/$ac_word; then
! 1821: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
! 1822: break
! 1823: fi
! 1824: done
! 1825: IFS="$ac_save_ifs"
! 1826: fi
! 1827: fi
! 1828: OBJDUMP="$ac_cv_prog_OBJDUMP"
! 1829: if test -n "$OBJDUMP"; then
! 1830: echo "$ac_t""$OBJDUMP" 1>&6
! 1831: else
! 1832: echo "$ac_t""no" 1>&6
! 1833: fi
! 1834:
! 1835:
! 1836: if test -z "$ac_cv_prog_OBJDUMP"; then
! 1837: if test -n "$ac_tool_prefix"; then
! 1838: # Extract the first word of "objdump", so it can be a program name with args.
! 1839: set dummy objdump; ac_word=$2
! 1840: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! 1841: echo "configure:1842: checking for $ac_word" >&5
! 1842: if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
! 1843: echo $ac_n "(cached) $ac_c" 1>&6
! 1844: else
! 1845: if test -n "$OBJDUMP"; then
! 1846: ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
! 1847: else
! 1848: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! 1849: ac_dummy="$PATH"
! 1850: for ac_dir in $ac_dummy; do
! 1851: test -z "$ac_dir" && ac_dir=.
! 1852: if test -f $ac_dir/$ac_word; then
! 1853: ac_cv_prog_OBJDUMP="objdump"
! 1854: break
! 1855: fi
! 1856: done
! 1857: IFS="$ac_save_ifs"
! 1858: test -z "$ac_cv_prog_OBJDUMP" && ac_cv_prog_OBJDUMP="false"
! 1859: fi
! 1860: fi
! 1861: OBJDUMP="$ac_cv_prog_OBJDUMP"
! 1862: if test -n "$OBJDUMP"; then
! 1863: echo "$ac_t""$OBJDUMP" 1>&6
! 1864: else
! 1865: echo "$ac_t""no" 1>&6
! 1866: fi
! 1867:
! 1868: else
! 1869: OBJDUMP="false"
! 1870: fi
! 1871: fi
! 1872:
! 1873: ;;
! 1874:
! 1875: esac
! 1876:
! 1877:
! 1878: # Save cache, so that ltconfig can load it
! 1879: cat > confcache <<\EOF
! 1880: # This file is a shell script that caches the results of configure
! 1881: # tests run on this system so they can be shared between configure
! 1882: # scripts and configure runs. It is not useful on other systems.
! 1883: # If it contains results you don't want to keep, you may remove or edit it.
! 1884: #
! 1885: # By default, configure uses ./config.cache as the cache file,
! 1886: # creating it if it does not exist already. You can give configure
! 1887: # the --cache-file=FILE option to use a different cache file; that is
! 1888: # what configure does when it calls configure scripts in
! 1889: # subdirectories, so they share the cache.
! 1890: # Giving --cache-file=/dev/null disables caching, for debugging configure.
! 1891: # config.status only pays attention to the cache file if you give it the
! 1892: # --recheck option to rerun configure.
! 1893: #
! 1894: EOF
! 1895: # The following way of writing the cache mishandles newlines in values,
! 1896: # but we know of no workaround that is simple, portable, and efficient.
! 1897: # So, don't put newlines in cache variables' values.
! 1898: # Ultrix sh set writes to stderr and can't be redirected directly,
! 1899: # and sets the high bit in the cache file unless we assign to the vars.
! 1900: (set) 2>&1 |
! 1901: case `(ac_space=' '; set | grep ac_space) 2>&1` in
! 1902: *ac_space=\ *)
! 1903: # `set' does not quote correctly, so add quotes (double-quote substitution
! 1904: # turns \\\\ into \\, and sed turns \\ into \).
! 1905: sed -n \
! 1906: -e "s/'/'\\\\''/g" \
! 1907: -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
! 1908: ;;
! 1909: *)
! 1910: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 1911: sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
! 1912: ;;
! 1913: esac >> confcache
! 1914: if cmp -s $cache_file confcache; then
! 1915: :
! 1916: else
! 1917: if test -w $cache_file; then
! 1918: echo "updating cache $cache_file"
! 1919: cat confcache > $cache_file
! 1920: else
! 1921: echo "not updating unwritable cache $cache_file"
! 1922: fi
! 1923: fi
! 1924: rm -f confcache
! 1925:
! 1926:
! 1927: # Actually configure libtool. ac_aux_dir is where install-sh is found.
! 1928: CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
! 1929: LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
! 1930: LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
! 1931: DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
! 1932: ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
! 1933: $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
! 1934: || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
! 1935:
! 1936: # Reload cache, that may have been modified by ltconfig
! 1937: if test -r "$cache_file"; then
! 1938: echo "loading cache $cache_file"
! 1939: . $cache_file
! 1940: else
! 1941: echo "creating cache $cache_file"
! 1942: > $cache_file
! 1943: fi
! 1944:
! 1945:
! 1946: # This can be used to rebuild libtool when needed
! 1947: LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
! 1948:
! 1949: # Always use our own libtool.
! 1950: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
! 1951:
! 1952: # Redirect the config.log output again, so that the ltconfig log is not
! 1953: # clobbered by the next message.
! 1954: exec 5>>./config.log
! 1955:
! 1956:
! 1957:
! 1958:
! 1959: # Check whether --with-mysql_inc or --without-mysql_inc was given.
! 1960: if test "${with_mysql_inc+set}" = set; then
! 1961: withval="$with_mysql_inc"
! 1962: :
! 1963: else
! 1964: withval="/usr/include/mysql"
! 1965:
! 1966: fi
! 1967:
! 1968: MYSQL_INC=$withval
! 1969:
! 1970:
! 1971: # Check whether --with-mysql_lib or --without-mysql_lib was given.
! 1972: if test "${with_mysql_lib+set}" = set; then
! 1973: withval="$with_mysql_lib"
! 1974: :
! 1975: else
! 1976: withval="/usr/lib/mysql"
! 1977:
! 1978: fi
! 1979:
! 1980: MYSQL_LIB=$withval
! 1981:
! 1982:
! 1983:
! 1984:
! 1985:
! 1986:
! 1987: echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
! 1988: echo "configure:1989: checking how to run the C++ preprocessor" >&5
! 1989: if test -z "$CXXCPP"; then
! 1990: if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
! 1991: echo $ac_n "(cached) $ac_c" 1>&6
! 1992: else
! 1993: ac_ext=C
! 1994: # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
! 1995: ac_cpp='$CXXCPP $CPPFLAGS'
! 1996: ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
! 1997: ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
! 1998: cross_compiling=$ac_cv_prog_cxx_cross
! 1999: CXXCPP="${CXX-g++} -E"
! 2000: cat > conftest.$ac_ext <<EOF
! 2001: #line 2002 "configure"
! 2002: #include "confdefs.h"
! 2003: #include <stdlib.h>
! 2004: EOF
! 2005: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! 2006: { (eval echo configure:2007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
! 2007: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
! 2008: if test -z "$ac_err"; then
! 2009: :
! 2010: else
! 2011: echo "$ac_err" >&5
! 2012: echo "configure: failed program was:" >&5
! 2013: cat conftest.$ac_ext >&5
! 2014: rm -rf conftest*
! 2015: CXXCPP=/lib/cpp
! 2016: fi
! 2017: rm -f conftest*
! 2018: ac_cv_prog_CXXCPP="$CXXCPP"
! 2019: ac_ext=C
! 2020: # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
! 2021: ac_cpp='$CXXCPP $CPPFLAGS'
! 2022: ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
! 2023: ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
! 2024: cross_compiling=$ac_cv_prog_cxx_cross
! 2025: fi
! 2026: fi
! 2027: CXXCPP="$ac_cv_prog_CXXCPP"
! 2028: echo "$ac_t""$CXXCPP" 1>&6
! 2029:
! 2030: for ac_hdr in stdio.h \
! 2031: stdlib.h \
! 2032: string.h
! 2033:
! 2034: do
! 2035: ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
! 2036: echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! 2037: echo "configure:2038: checking for $ac_hdr" >&5
! 2038: if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
! 2039: echo $ac_n "(cached) $ac_c" 1>&6
! 2040: else
! 2041: cat > conftest.$ac_ext <<EOF
! 2042: #line 2043 "configure"
! 2043: #include "confdefs.h"
! 2044: #include <$ac_hdr>
! 2045: EOF
! 2046: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! 2047: { (eval echo configure:2048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
! 2048: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
! 2049: if test -z "$ac_err"; then
! 2050: rm -rf conftest*
! 2051: eval "ac_cv_header_$ac_safe=yes"
! 2052: else
! 2053: echo "$ac_err" >&5
! 2054: echo "configure: failed program was:" >&5
! 2055: cat conftest.$ac_ext >&5
! 2056: rm -rf conftest*
! 2057: eval "ac_cv_header_$ac_safe=no"
! 2058: fi
! 2059: rm -f conftest*
! 2060: fi
! 2061: if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
! 2062: echo "$ac_t""yes" 1>&6
! 2063: ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
! 2064: cat >> confdefs.h <<EOF
! 2065: #define $ac_tr_hdr 1
! 2066: EOF
! 2067:
! 2068: else
! 2069: echo "$ac_t""no" 1>&6
! 2070: fi
! 2071: done
! 2072:
! 2073:
! 2074:
! 2075: echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
! 2076: echo "configure:2077: checking for ANSI C header files" >&5
! 2077: if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
! 2078: echo $ac_n "(cached) $ac_c" 1>&6
! 2079: else
! 2080: cat > conftest.$ac_ext <<EOF
! 2081: #line 2082 "configure"
! 2082: #include "confdefs.h"
! 2083: #include <stdlib.h>
! 2084: #include <stdarg.h>
! 2085: #include <string.h>
! 2086: #include <float.h>
! 2087: EOF
! 2088: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! 2089: { (eval echo configure:2090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
! 2090: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
! 2091: if test -z "$ac_err"; then
! 2092: rm -rf conftest*
! 2093: ac_cv_header_stdc=yes
! 2094: else
! 2095: echo "$ac_err" >&5
! 2096: echo "configure: failed program was:" >&5
! 2097: cat conftest.$ac_ext >&5
! 2098: rm -rf conftest*
! 2099: ac_cv_header_stdc=no
! 2100: fi
! 2101: rm -f conftest*
! 2102:
! 2103: if test $ac_cv_header_stdc = yes; then
! 2104: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 2105: cat > conftest.$ac_ext <<EOF
! 2106: #line 2107 "configure"
! 2107: #include "confdefs.h"
! 2108: #include <string.h>
! 2109: EOF
! 2110: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 2111: egrep "memchr" >/dev/null 2>&1; then
! 2112: :
! 2113: else
! 2114: rm -rf conftest*
! 2115: ac_cv_header_stdc=no
! 2116: fi
! 2117: rm -f conftest*
! 2118:
! 2119: fi
! 2120:
! 2121: if test $ac_cv_header_stdc = yes; then
! 2122: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 2123: cat > conftest.$ac_ext <<EOF
! 2124: #line 2125 "configure"
! 2125: #include "confdefs.h"
! 2126: #include <stdlib.h>
! 2127: EOF
! 2128: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 2129: egrep "free" >/dev/null 2>&1; then
! 2130: :
! 2131: else
! 2132: rm -rf conftest*
! 2133: ac_cv_header_stdc=no
! 2134: fi
! 2135: rm -f conftest*
! 2136:
! 2137: fi
! 2138:
! 2139: if test $ac_cv_header_stdc = yes; then
! 2140: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 2141: if test "$cross_compiling" = yes; then
! 2142: :
! 2143: else
! 2144: cat > conftest.$ac_ext <<EOF
! 2145: #line 2146 "configure"
! 2146: #include "confdefs.h"
! 2147: #ifdef __cplusplus
! 2148: extern "C" void exit(int);
! 2149: #endif
! 2150: #include <ctype.h>
! 2151: #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 2152: #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 2153: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 2154: int main () { int i; for (i = 0; i < 256; i++)
! 2155: if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
! 2156: exit (0); }
! 2157:
! 2158: EOF
! 2159: if { (eval echo configure:2160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
! 2160: then
! 2161: :
! 2162: else
! 2163: echo "configure: failed program was:" >&5
! 2164: cat conftest.$ac_ext >&5
! 2165: rm -fr conftest*
! 2166: ac_cv_header_stdc=no
! 2167: fi
! 2168: rm -fr conftest*
! 2169: fi
! 2170:
! 2171: fi
! 2172: fi
! 2173:
! 2174: echo "$ac_t""$ac_cv_header_stdc" 1>&6
! 2175: if test $ac_cv_header_stdc = yes; then
! 2176: cat >> confdefs.h <<\EOF
! 2177: #define STDC_HEADERS 1
! 2178: EOF
! 2179:
! 2180: fi
! 2181:
! 2182: echo $ac_n "checking for size_t""... $ac_c" 1>&6
! 2183: echo "configure:2184: checking for size_t" >&5
! 2184: if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
! 2185: echo $ac_n "(cached) $ac_c" 1>&6
! 2186: else
! 2187: cat > conftest.$ac_ext <<EOF
! 2188: #line 2189 "configure"
! 2189: #include "confdefs.h"
! 2190: #include <sys/types.h>
! 2191: #if STDC_HEADERS
! 2192: #include <stdlib.h>
! 2193: #include <stddef.h>
! 2194: #endif
! 2195: EOF
! 2196: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 2197: egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
! 2198: rm -rf conftest*
! 2199: ac_cv_type_size_t=yes
! 2200: else
! 2201: rm -rf conftest*
! 2202: ac_cv_type_size_t=no
! 2203: fi
! 2204: rm -f conftest*
! 2205:
! 2206: fi
! 2207: echo "$ac_t""$ac_cv_type_size_t" 1>&6
! 2208: if test $ac_cv_type_size_t = no; then
! 2209: cat >> confdefs.h <<\EOF
! 2210: #define size_t unsigned
! 2211: EOF
! 2212:
! 2213: fi
! 2214:
! 2215:
! 2216:
! 2217:
! 2218: trap '' 1 2 15
! 2219: cat > confcache <<\EOF
! 2220: # This file is a shell script that caches the results of configure
! 2221: # tests run on this system so they can be shared between configure
! 2222: # scripts and configure runs. It is not useful on other systems.
! 2223: # If it contains results you don't want to keep, you may remove or edit it.
! 2224: #
! 2225: # By default, configure uses ./config.cache as the cache file,
! 2226: # creating it if it does not exist already. You can give configure
! 2227: # the --cache-file=FILE option to use a different cache file; that is
! 2228: # what configure does when it calls configure scripts in
! 2229: # subdirectories, so they share the cache.
! 2230: # Giving --cache-file=/dev/null disables caching, for debugging configure.
! 2231: # config.status only pays attention to the cache file if you give it the
! 2232: # --recheck option to rerun configure.
! 2233: #
! 2234: EOF
! 2235: # The following way of writing the cache mishandles newlines in values,
! 2236: # but we know of no workaround that is simple, portable, and efficient.
! 2237: # So, don't put newlines in cache variables' values.
! 2238: # Ultrix sh set writes to stderr and can't be redirected directly,
! 2239: # and sets the high bit in the cache file unless we assign to the vars.
! 2240: (set) 2>&1 |
! 2241: case `(ac_space=' '; set | grep ac_space) 2>&1` in
! 2242: *ac_space=\ *)
! 2243: # `set' does not quote correctly, so add quotes (double-quote substitution
! 2244: # turns \\\\ into \\, and sed turns \\ into \).
! 2245: sed -n \
! 2246: -e "s/'/'\\\\''/g" \
! 2247: -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
! 2248: ;;
! 2249: *)
! 2250: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 2251: sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
! 2252: ;;
! 2253: esac >> confcache
! 2254: if cmp -s $cache_file confcache; then
! 2255: :
! 2256: else
! 2257: if test -w $cache_file; then
! 2258: echo "updating cache $cache_file"
! 2259: cat confcache > $cache_file
! 2260: else
! 2261: echo "not updating unwritable cache $cache_file"
! 2262: fi
! 2263: fi
! 2264: rm -f confcache
! 2265:
! 2266: trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
! 2267:
! 2268: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 2269: # Let make expand exec_prefix.
! 2270: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 2271:
! 2272: # Any assignment to VPATH causes Sun make to only execute
! 2273: # the first set of double-colon rules, so remove it if not needed.
! 2274: # If there is a colon in the path, we need to keep it.
! 2275: if test "x$srcdir" = x.; then
! 2276: ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
! 2277: fi
! 2278:
! 2279: trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
! 2280:
! 2281: DEFS=-DHAVE_CONFIG_H
! 2282:
! 2283: # Without the "./", some shells look in PATH for config.status.
! 2284: : ${CONFIG_STATUS=./config.status}
! 2285:
! 2286: echo creating $CONFIG_STATUS
! 2287: rm -f $CONFIG_STATUS
! 2288: cat > $CONFIG_STATUS <<EOF
! 2289: #! /bin/sh
! 2290: # Generated automatically by configure.
! 2291: # Run this file to recreate the current configuration.
! 2292: # This directory was configured as follows,
! 2293: # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 2294: #
! 2295: # $0 $ac_configure_args
! 2296: #
! 2297: # Compiler output produced by configure, useful for debugging
! 2298: # configure, is in ./config.log if it exists.
! 2299:
! 2300: ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
! 2301: for ac_option
! 2302: do
! 2303: case "\$ac_option" in
! 2304: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 2305: echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
! 2306: exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
! 2307: -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
! 2308: echo "$CONFIG_STATUS generated by autoconf version 2.13"
! 2309: exit 0 ;;
! 2310: -help | --help | --hel | --he | --h)
! 2311: echo "\$ac_cs_usage"; exit 0 ;;
! 2312: *) echo "\$ac_cs_usage"; exit 1 ;;
! 2313: esac
! 2314: done
! 2315:
! 2316: ac_given_srcdir=$srcdir
! 2317: ac_given_INSTALL="$INSTALL"
! 2318:
! 2319: trap 'rm -fr `echo "Makefile config_auto.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
! 2320: EOF
! 2321: cat >> $CONFIG_STATUS <<EOF
! 2322:
! 2323: # Protect against being on the right side of a sed subst in config.status.
! 2324: sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
! 2325: s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
! 2326: $ac_vpsub
! 2327: $extrasub
! 2328: s%@SHELL@%$SHELL%g
! 2329: s%@CFLAGS@%$CFLAGS%g
! 2330: s%@CPPFLAGS@%$CPPFLAGS%g
! 2331: s%@CXXFLAGS@%$CXXFLAGS%g
! 2332: s%@FFLAGS@%$FFLAGS%g
! 2333: s%@DEFS@%$DEFS%g
! 2334: s%@LDFLAGS@%$LDFLAGS%g
! 2335: s%@LIBS@%$LIBS%g
! 2336: s%@exec_prefix@%$exec_prefix%g
! 2337: s%@prefix@%$prefix%g
! 2338: s%@program_transform_name@%$program_transform_name%g
! 2339: s%@bindir@%$bindir%g
! 2340: s%@sbindir@%$sbindir%g
! 2341: s%@libexecdir@%$libexecdir%g
! 2342: s%@datadir@%$datadir%g
! 2343: s%@sysconfdir@%$sysconfdir%g
! 2344: s%@sharedstatedir@%$sharedstatedir%g
! 2345: s%@localstatedir@%$localstatedir%g
! 2346: s%@libdir@%$libdir%g
! 2347: s%@includedir@%$includedir%g
! 2348: s%@oldincludedir@%$oldincludedir%g
! 2349: s%@infodir@%$infodir%g
! 2350: s%@mandir@%$mandir%g
! 2351: s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
! 2352: s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
! 2353: s%@INSTALL_DATA@%$INSTALL_DATA%g
! 2354: s%@PACKAGE@%$PACKAGE%g
! 2355: s%@VERSION@%$VERSION%g
! 2356: s%@ACLOCAL@%$ACLOCAL%g
! 2357: s%@AUTOCONF@%$AUTOCONF%g
! 2358: s%@AUTOMAKE@%$AUTOMAKE%g
! 2359: s%@AUTOHEADER@%$AUTOHEADER%g
! 2360: s%@MAKEINFO@%$MAKEINFO%g
! 2361: s%@SET_MAKE@%$SET_MAKE%g
! 2362: s%@AWK@%$AWK%g
! 2363: s%@CXX@%$CXX%g
! 2364: s%@host@%$host%g
! 2365: s%@host_alias@%$host_alias%g
! 2366: s%@host_cpu@%$host_cpu%g
! 2367: s%@host_vendor@%$host_vendor%g
! 2368: s%@host_os@%$host_os%g
! 2369: s%@build@%$build%g
! 2370: s%@build_alias@%$build_alias%g
! 2371: s%@build_cpu@%$build_cpu%g
! 2372: s%@build_vendor@%$build_vendor%g
! 2373: s%@build_os@%$build_os%g
! 2374: s%@RANLIB@%$RANLIB%g
! 2375: s%@CC@%$CC%g
! 2376: s%@LN_S@%$LN_S%g
! 2377: s%@DLLTOOL@%$DLLTOOL%g
! 2378: s%@AS@%$AS%g
! 2379: s%@OBJDUMP@%$OBJDUMP%g
! 2380: s%@LIBTOOL@%$LIBTOOL%g
! 2381: s%@MYSQL_INC@%$MYSQL_INC%g
! 2382: s%@MYSQL_LIB@%$MYSQL_LIB%g
! 2383: s%@CXXCPP@%$CXXCPP%g
! 2384:
! 2385: CEOF
! 2386: EOF
! 2387:
! 2388: cat >> $CONFIG_STATUS <<\EOF
! 2389:
! 2390: # Split the substitutions into bite-sized pieces for seds with
! 2391: # small command number limits, like on Digital OSF/1 and HP-UX.
! 2392: ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
! 2393: ac_file=1 # Number of current file.
! 2394: ac_beg=1 # First line for current file.
! 2395: ac_end=$ac_max_sed_cmds # Line after last line for current file.
! 2396: ac_more_lines=:
! 2397: ac_sed_cmds=""
! 2398: while $ac_more_lines; do
! 2399: if test $ac_beg -gt 1; then
! 2400: sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
! 2401: else
! 2402: sed "${ac_end}q" conftest.subs > conftest.s$ac_file
! 2403: fi
! 2404: if test ! -s conftest.s$ac_file; then
! 2405: ac_more_lines=false
! 2406: rm -f conftest.s$ac_file
! 2407: else
! 2408: if test -z "$ac_sed_cmds"; then
! 2409: ac_sed_cmds="sed -f conftest.s$ac_file"
! 2410: else
! 2411: ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
! 2412: fi
! 2413: ac_file=`expr $ac_file + 1`
! 2414: ac_beg=$ac_end
! 2415: ac_end=`expr $ac_end + $ac_max_sed_cmds`
! 2416: fi
! 2417: done
! 2418: if test -z "$ac_sed_cmds"; then
! 2419: ac_sed_cmds=cat
! 2420: fi
! 2421: EOF
! 2422:
! 2423: cat >> $CONFIG_STATUS <<EOF
! 2424:
! 2425: CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
! 2426: EOF
! 2427: cat >> $CONFIG_STATUS <<\EOF
! 2428: for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
! 2429: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 2430: case "$ac_file" in
! 2431: *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
! 2432: ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
! 2433: *) ac_file_in="${ac_file}.in" ;;
! 2434: esac
! 2435:
! 2436: # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
! 2437:
! 2438: # Remove last slash and all that follows it. Not all systems have dirname.
! 2439: ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
! 2440: if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
! 2441: # The file is in a subdirectory.
! 2442: test ! -d "$ac_dir" && mkdir "$ac_dir"
! 2443: ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
! 2444: # A "../" for each directory in $ac_dir_suffix.
! 2445: ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
! 2446: else
! 2447: ac_dir_suffix= ac_dots=
! 2448: fi
! 2449:
! 2450: case "$ac_given_srcdir" in
! 2451: .) srcdir=.
! 2452: if test -z "$ac_dots"; then top_srcdir=.
! 2453: else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
! 2454: /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
! 2455: *) # Relative path.
! 2456: srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
! 2457: top_srcdir="$ac_dots$ac_given_srcdir" ;;
! 2458: esac
! 2459:
! 2460: case "$ac_given_INSTALL" in
! 2461: [/$]*) INSTALL="$ac_given_INSTALL" ;;
! 2462: *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
! 2463: esac
! 2464:
! 2465: echo creating "$ac_file"
! 2466: rm -f "$ac_file"
! 2467: configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
! 2468: case "$ac_file" in
! 2469: *Makefile*) ac_comsub="1i\\
! 2470: # $configure_input" ;;
! 2471: *) ac_comsub= ;;
! 2472: esac
! 2473:
! 2474: ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
! 2475: sed -e "$ac_comsub
! 2476: s%@configure_input@%$configure_input%g
! 2477: s%@srcdir@%$srcdir%g
! 2478: s%@top_srcdir@%$top_srcdir%g
! 2479: s%@INSTALL@%$INSTALL%g
! 2480: " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
! 2481: fi; done
! 2482: rm -f conftest.s*
! 2483:
! 2484: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
! 2485: # NAME is the cpp macro being defined and VALUE is the value it is being given.
! 2486: #
! 2487: # ac_d sets the value in "#define NAME VALUE" lines.
! 2488: ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
! 2489: ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
! 2490: ac_dC='\3'
! 2491: ac_dD='%g'
! 2492: # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
! 2493: ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
! 2494: ac_uB='\([ ]\)%\1#\2define\3'
! 2495: ac_uC=' '
! 2496: ac_uD='\4%g'
! 2497: # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
! 2498: ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
! 2499: ac_eB='$%\1#\2define\3'
! 2500: ac_eC=' '
! 2501: ac_eD='%g'
! 2502:
! 2503: if test "${CONFIG_HEADERS+set}" != set; then
! 2504: EOF
! 2505: cat >> $CONFIG_STATUS <<EOF
! 2506: CONFIG_HEADERS="config_auto.h"
! 2507: EOF
! 2508: cat >> $CONFIG_STATUS <<\EOF
! 2509: fi
! 2510: for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
! 2511: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! 2512: case "$ac_file" in
! 2513: *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
! 2514: ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
! 2515: *) ac_file_in="${ac_file}.in" ;;
! 2516: esac
! 2517:
! 2518: echo creating $ac_file
! 2519:
! 2520: rm -f conftest.frag conftest.in conftest.out
! 2521: ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
! 2522: cat $ac_file_inputs > conftest.in
! 2523:
! 2524: EOF
! 2525:
! 2526: # Transform confdefs.h into a sed script conftest.vals that substitutes
! 2527: # the proper values into config.h.in to produce config.h. And first:
! 2528: # Protect against being on the right side of a sed subst in config.status.
! 2529: # Protect against being in an unquoted here document in config.status.
! 2530: rm -f conftest.vals
! 2531: cat > conftest.hdr <<\EOF
! 2532: s/[\\&%]/\\&/g
! 2533: s%[\\$`]%\\&%g
! 2534: s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
! 2535: s%ac_d%ac_u%gp
! 2536: s%ac_u%ac_e%gp
! 2537: EOF
! 2538: sed -n -f conftest.hdr confdefs.h > conftest.vals
! 2539: rm -f conftest.hdr
! 2540:
! 2541: # This sed command replaces #undef with comments. This is necessary, for
! 2542: # example, in the case of _POSIX_SOURCE, which is predefined and required
! 2543: # on some systems where configure will not decide to define it.
! 2544: cat >> conftest.vals <<\EOF
! 2545: s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
! 2546: EOF
! 2547:
! 2548: # Break up conftest.vals because some shells have a limit on
! 2549: # the size of here documents, and old seds have small limits too.
! 2550:
! 2551: rm -f conftest.tail
! 2552: while :
! 2553: do
! 2554: ac_lines=`grep -c . conftest.vals`
! 2555: # grep -c gives empty output for an empty file on some AIX systems.
! 2556: if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
! 2557: # Write a limited-size here document to conftest.frag.
! 2558: echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
! 2559: sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
! 2560: echo 'CEOF
! 2561: sed -f conftest.frag conftest.in > conftest.out
! 2562: rm -f conftest.in
! 2563: mv conftest.out conftest.in
! 2564: ' >> $CONFIG_STATUS
! 2565: sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
! 2566: rm -f conftest.vals
! 2567: mv conftest.tail conftest.vals
! 2568: done
! 2569: rm -f conftest.vals
! 2570:
! 2571: cat >> $CONFIG_STATUS <<\EOF
! 2572: rm -f conftest.frag conftest.h
! 2573: echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
! 2574: cat conftest.in >> conftest.h
! 2575: rm -f conftest.in
! 2576: if cmp -s $ac_file conftest.h 2>/dev/null; then
! 2577: echo "$ac_file is unchanged"
! 2578: rm -f conftest.h
! 2579: else
! 2580: # Remove last slash and all that follows it. Not all systems have dirname.
! 2581: ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
! 2582: if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
! 2583: # The file is in a subdirectory.
! 2584: test ! -d "$ac_dir" && mkdir "$ac_dir"
! 2585: fi
! 2586: rm -f $ac_file
! 2587: mv conftest.h $ac_file
! 2588: fi
! 2589: fi; done
! 2590:
! 2591: EOF
! 2592: cat >> $CONFIG_STATUS <<EOF
! 2593:
! 2594:
! 2595: EOF
! 2596: cat >> $CONFIG_STATUS <<\EOF
! 2597: test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
! 2598:
! 2599: exit 0
! 2600: EOF
! 2601: chmod +x $CONFIG_STATUS
! 2602: rm -fr confdefs* $ac_clean_files
! 2603: test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
! 2604:
E-mail: