[BACK]Return to configure CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gmp

Annotation of OpenXM_contrib/gmp/configure, Revision 1.1.1.2

1.1.1.2 ! maekawa     1: #! /bin/sh
        !             2: # From configure.in Revision: 1.129
        !             3: # Guess values for system-dependent variables and create Makefiles.
        !             4: # Generated automatically using Autoconf version 2.14a.
        !             5: # Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
        !             6: # Free Software Foundation, Inc.
        !             7: #
        !             8: # This configure script is free software; the Free Software Foundation
        !             9: # gives unlimited permission to copy, distribute and modify it.
        !            10:
        !            11: # Defaults:
        !            12: ac_default_prefix=/usr/local
        !            13: # Any additions from configure.in:
        !            14:
        !            15: # Initialize some variables set by options.
        !            16: ac_init_help=false
        !            17: ac_init_version=false
        !            18: # The variables have the same names as the options, with
        !            19: # dashes changed to underlines.
        !            20: build=NONE
        !            21: cache_file=./config.cache
        !            22: exec_prefix=NONE
        !            23: host=NONE
        !            24: no_create=
        !            25: nonopt=NONE
        !            26: no_recursion=
        !            27: prefix=NONE
        !            28: program_prefix=NONE
        !            29: program_suffix=NONE
        !            30: program_transform_name=s,x,x,
        !            31: silent=
        !            32: site=
        !            33: srcdir=
        !            34: target=NONE
        !            35: verbose=
        !            36: x_includes=NONE
        !            37: x_libraries=NONE
        !            38: bindir='${exec_prefix}/bin'
        !            39: sbindir='${exec_prefix}/sbin'
        !            40: libexecdir='${exec_prefix}/libexec'
        !            41: datadir='${prefix}/share'
        !            42: sysconfdir='${prefix}/etc'
        !            43: sharedstatedir='${prefix}/com'
        !            44: localstatedir='${prefix}/var'
        !            45: libdir='${exec_prefix}/lib'
        !            46: includedir='${prefix}/include'
        !            47: oldincludedir='/usr/include'
        !            48: infodir='${prefix}/info'
        !            49: mandir='${prefix}/man'
        !            50:
        !            51: # Initialize some other variables.
        !            52: subdirs=
        !            53: MFLAGS= MAKEFLAGS=
        !            54: SHELL=${CONFIG_SHELL-/bin/sh}
        !            55: # Maximum number of lines to put in a shell here document.
        !            56: : ${ac_max_here_lines=48}
        !            57: # Sed expression to map a string onto a valid sh and CPP variable names.
        !            58: ac_tr_sh='sed -e y%*+%pp%;s%[^a-zA-Z0-9_]%_%g'
        !            59: ac_tr_cpp='sed -e y%*abcdefghijklmnopqrstuvwxyz%PABCDEFGHIJKLMNOPQRSTUVWXYZ%;s%[^A-Z0-9_]%_%g'
        !            60:
        !            61: ac_prev=
        !            62: for ac_option
        !            63: do
        !            64:   # If the previous option needs an argument, assign it.
        !            65:   if test -n "$ac_prev"; then
        !            66:     eval "$ac_prev=\$ac_option"
        !            67:     ac_prev=
        !            68:     continue
        !            69:   fi
        !            70:
        !            71:   ac_optarg=`echo "$ac_option" | sed -n 's/^[^=]*=//p'`
        !            72:
        !            73:   # Accept the important Cygnus configure options, so we can diagnose typos.
        !            74:
        !            75:   case "$ac_option" in
        !            76:
        !            77:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
        !            78:     ac_prev=bindir ;;
        !            79:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
        !            80:     bindir="$ac_optarg" ;;
        !            81:
        !            82:   -build | --build | --buil | --bui | --bu)
        !            83:     ac_prev=build ;;
        !            84:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
        !            85:     build="$ac_optarg" ;;
        !            86:
        !            87:   -cache-file | --cache-file | --cache-fil | --cache-fi \
        !            88:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
        !            89:     ac_prev=cache_file ;;
        !            90:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
        !            91:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
        !            92:     cache_file="$ac_optarg" ;;
        !            93:
        !            94:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
        !            95:     ac_prev=datadir ;;
        !            96:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
        !            97:   | --da=*)
        !            98:     datadir="$ac_optarg" ;;
        !            99:
        !           100:   -disable-* | --disable-*)
        !           101:     ac_feature=`echo "$ac_option"|sed -e 's/-*disable-//'`
        !           102:     # Reject names that are not valid shell variable names.
        !           103:     if echo "$ac_feature" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
        !           104:       { echo "configure: error: invalid feature: $ac_feature" 1>&2; exit 1; }
        !           105:     fi
        !           106:     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
        !           107:     eval "enable_${ac_feature}=no" ;;
        !           108:
        !           109:   -enable-* | --enable-*)
        !           110:     ac_feature=`echo "$ac_option"|sed -e 's/-*enable-//' -e 's/=.*//'`
        !           111:     # Reject names that are not valid shell variable names.
        !           112:     if echo "$ac_feature" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
        !           113:       { echo "configure: error: invalid feature: $ac_feature" 1>&2; exit 1; }
        !           114:     fi
        !           115:     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
        !           116:     case "$ac_option" in
        !           117:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
        !           118:       *) ac_optarg=yes ;;
        !           119:     esac
        !           120:     eval "enable_${ac_feature}='$ac_optarg'" ;;
        !           121:
        !           122:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
        !           123:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
        !           124:   | --exec | --exe | --ex)
        !           125:     ac_prev=exec_prefix ;;
        !           126:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
        !           127:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
        !           128:   | --exec=* | --exe=* | --ex=*)
        !           129:     exec_prefix="$ac_optarg" ;;
        !           130:
        !           131:   -gas | --gas | --ga | --g)
        !           132:     # Obsolete; use --with-gas.
        !           133:     with_gas=yes ;;
        !           134:
        !           135:   -help | --help | --hel | --he | -h)
        !           136:     ac_init_help=: ;;
        !           137:   -host | --host | --hos | --ho)
        !           138:     ac_prev=host ;;
        !           139:   -host=* | --host=* | --hos=* | --ho=*)
        !           140:     host="$ac_optarg" ;;
        !           141:
        !           142:   -includedir | --includedir | --includedi | --included | --include \
        !           143:   | --includ | --inclu | --incl | --inc)
        !           144:     ac_prev=includedir ;;
        !           145:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
        !           146:   | --includ=* | --inclu=* | --incl=* | --inc=*)
        !           147:     includedir="$ac_optarg" ;;
        !           148:
        !           149:   -infodir | --infodir | --infodi | --infod | --info | --inf)
        !           150:     ac_prev=infodir ;;
        !           151:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
        !           152:     infodir="$ac_optarg" ;;
        !           153:
        !           154:   -libdir | --libdir | --libdi | --libd)
        !           155:     ac_prev=libdir ;;
        !           156:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
        !           157:     libdir="$ac_optarg" ;;
        !           158:
        !           159:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
        !           160:   | --libexe | --libex | --libe)
        !           161:     ac_prev=libexecdir ;;
        !           162:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
        !           163:   | --libexe=* | --libex=* | --libe=*)
        !           164:     libexecdir="$ac_optarg" ;;
        !           165:
        !           166:   -localstatedir | --localstatedir | --localstatedi | --localstated \
        !           167:   | --localstate | --localstat | --localsta | --localst \
        !           168:   | --locals | --local | --loca | --loc | --lo)
        !           169:     ac_prev=localstatedir ;;
        !           170:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
        !           171:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
        !           172:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
        !           173:     localstatedir="$ac_optarg" ;;
        !           174:
        !           175:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
        !           176:     ac_prev=mandir ;;
        !           177:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
        !           178:     mandir="$ac_optarg" ;;
        !           179:
        !           180:   -nfp | --nfp | --nf)
        !           181:     # Obsolete; use --without-fp.
        !           182:     with_fp=no ;;
        !           183:
        !           184:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
        !           185:   | --no-cr | --no-c)
        !           186:     no_create=yes ;;
        !           187:
        !           188:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
        !           189:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
        !           190:     no_recursion=yes ;;
        !           191:
        !           192:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
        !           193:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
        !           194:   | --oldin | --oldi | --old | --ol | --o)
        !           195:     ac_prev=oldincludedir ;;
        !           196:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
        !           197:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
        !           198:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
        !           199:     oldincludedir="$ac_optarg" ;;
        !           200:
        !           201:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
        !           202:     ac_prev=prefix ;;
        !           203:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
        !           204:     prefix="$ac_optarg" ;;
        !           205:
        !           206:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
        !           207:   | --program-pre | --program-pr | --program-p)
        !           208:     ac_prev=program_prefix ;;
        !           209:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
        !           210:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
        !           211:     program_prefix="$ac_optarg" ;;
        !           212:
        !           213:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
        !           214:   | --program-suf | --program-su | --program-s)
        !           215:     ac_prev=program_suffix ;;
        !           216:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
        !           217:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
        !           218:     program_suffix="$ac_optarg" ;;
        !           219:
        !           220:   -program-transform-name | --program-transform-name \
        !           221:   | --program-transform-nam | --program-transform-na \
        !           222:   | --program-transform-n | --program-transform- \
        !           223:   | --program-transform | --program-transfor \
        !           224:   | --program-transfo | --program-transf \
        !           225:   | --program-trans | --program-tran \
        !           226:   | --progr-tra | --program-tr | --program-t)
        !           227:     ac_prev=program_transform_name ;;
        !           228:   -program-transform-name=* | --program-transform-name=* \
        !           229:   | --program-transform-nam=* | --program-transform-na=* \
        !           230:   | --program-transform-n=* | --program-transform-=* \
        !           231:   | --program-transform=* | --program-transfor=* \
        !           232:   | --program-transfo=* | --program-transf=* \
        !           233:   | --program-trans=* | --program-tran=* \
        !           234:   | --progr-tra=* | --program-tr=* | --program-t=*)
        !           235:     program_transform_name="$ac_optarg" ;;
        !           236:
        !           237:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
        !           238:   | -silent | --silent | --silen | --sile | --sil)
        !           239:     silent=yes ;;
        !           240:
        !           241:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
        !           242:     ac_prev=sbindir ;;
        !           243:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
        !           244:   | --sbi=* | --sb=*)
        !           245:     sbindir="$ac_optarg" ;;
        !           246:
        !           247:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
        !           248:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
        !           249:   | --sharedst | --shareds | --shared | --share | --shar \
        !           250:   | --sha | --sh)
        !           251:     ac_prev=sharedstatedir ;;
        !           252:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
        !           253:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
        !           254:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
        !           255:   | --sha=* | --sh=*)
        !           256:     sharedstatedir="$ac_optarg" ;;
        !           257:
        !           258:   -site | --site | --sit)
        !           259:     ac_prev=site ;;
        !           260:   -site=* | --site=* | --sit=*)
        !           261:     site="$ac_optarg" ;;
        !           262:
        !           263:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
        !           264:     ac_prev=srcdir ;;
        !           265:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
        !           266:     srcdir="$ac_optarg" ;;
        !           267:
        !           268:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
        !           269:   | --syscon | --sysco | --sysc | --sys | --sy)
        !           270:     ac_prev=sysconfdir ;;
        !           271:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
        !           272:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
        !           273:     sysconfdir="$ac_optarg" ;;
        !           274:
        !           275:   -target | --target | --targe | --targ | --tar | --ta | --t)
        !           276:     ac_prev=target ;;
        !           277:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
        !           278:     target="$ac_optarg" ;;
        !           279:
        !           280:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
        !           281:     verbose=yes ;;
        !           282:
        !           283:   -version | --version | --versio | --versi | --vers | -V)
        !           284:     ac_init_version=: ;;
        !           285:
        !           286:   -with-* | --with-*)
        !           287:     ac_package=`echo "$ac_option"|sed -e 's/-*with-//' -e 's/=.*//'`
        !           288:     # Reject names that are not valid shell variable names.
        !           289:     if echo "$ac_package" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
        !           290:       { echo "configure: error: invalid package: $ac_package" 1>&2; exit 1; }
        !           291:     fi
        !           292:     ac_package=`echo $ac_package| sed 's/-/_/g'`
        !           293:     case "$ac_option" in
        !           294:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
        !           295:       *) ac_optarg=yes ;;
        !           296:     esac
        !           297:     eval "with_${ac_package}='$ac_optarg'" ;;
        !           298:
        !           299:   -without-* | --without-*)
        !           300:     ac_package=`echo "$ac_option"|sed -e 's/-*without-//'`
        !           301:     # Reject names that are not valid shell variable names.
        !           302:     if echo "$ac_package" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
        !           303:       { echo "configure: error: invalid package: $ac_package" 1>&2; exit 1; }
        !           304:     fi
        !           305:     ac_package=`echo $ac_package| sed 's/-/_/g'`
        !           306:     eval "with_${ac_package}=no" ;;
        !           307:
        !           308:   --x)
        !           309:     # Obsolete; use --with-x.
        !           310:     with_x=yes ;;
        !           311:
        !           312:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
        !           313:   | --x-incl | --x-inc | --x-in | --x-i)
        !           314:     ac_prev=x_includes ;;
        !           315:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
        !           316:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
        !           317:     x_includes="$ac_optarg" ;;
        !           318:
        !           319:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
        !           320:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
        !           321:     ac_prev=x_libraries ;;
        !           322:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
        !           323:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
        !           324:     x_libraries="$ac_optarg" ;;
        !           325:
        !           326:   -*) { echo "configure: error: unrecognized option: $ac_option
        !           327: Try \`configure --help' for more information." 1>&2; exit 1; }
        !           328:     ;;
        !           329:
        !           330:   *=*)
        !           331:     ac_envvar=`echo "$ac_option" | sed -e 's/=.*//'`
        !           332:     # Reject names that are not valid shell variable names.
        !           333:     if echo "$ac_envvar" | grep '[^a-zA-Z0-9_]' >/dev/null 2>&1; then
        !           334:       { echo "configure: error: invalid variable name: $ac_envvar" 1>&2; exit 1; }
        !           335:     fi
        !           336:     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
        !           337:     eval "$ac_envvar='$ac_optarg'"
        !           338:     export $ac_envvar ;;
        !           339:
        !           340:   *)
        !           341:     if echo "$ac_option" | grep '[^-a-zA-Z0-9.]' >/dev/null 2>&1; then
        !           342:       echo "configure: warning: invalid host type: $ac_option" 1>&2
        !           343:     fi
        !           344:     if test "x$nonopt" != xNONE; then
        !           345:       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
        !           346:     fi
        !           347:     nonopt="$ac_option"
        !           348:     ;;
        !           349:
        !           350:   esac
        !           351: done
        !           352:
        !           353: if test -n "$ac_prev"; then
        !           354:   { echo "configure: error: missing argument to --\`echo $ac_prev | sed 's/_/-/g'\`" 1>&2; exit 1; }
        !           355: fi
        !           356: if $ac_init_help; then
        !           357:   # Omit some internal or obsolete options to make the list less imposing.
        !           358:   # This message is too long to be a string in the A/UX 3.1 sh.
        !           359:   cat <<\EOF
        !           360: `configure' configures software source code packages to adapt to many kinds
        !           361: of systems.
        !           362:
        !           363: Usage: configure [OPTION]... [VAR=VALUE]... [HOST]
        !           364:
        !           365: To safely assign special values to environment variables (e.g., CC,
        !           366: CFLAGS...), give to `configure' the definition as VAR=VALUE.
        !           367:
        !           368: Defaults for the options are specified in brackets.
        !           369:
        !           370: Configuration:
        !           371:   -h, --help              print this message
        !           372:   -V, --version           print the version of autoconf that created configure
        !           373:   -q, --quiet, --silent   do not print `checking...' messages
        !           374:       --cache-file=FILE   cache test results in FILE
        !           375:   -n, --no-create         do not create output files
        !           376:
        !           377: EOF
        !           378:
        !           379:   cat <<EOF
        !           380: Directories:
        !           381:   --prefix=PREFIX         install architecture-independent files in PREFIX
        !           382:                           [$ac_default_prefix]
        !           383:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
        !           384:                           [same as prefix]
        !           385:   --bindir=DIR            user executables in DIR [EPREFIX/bin]
        !           386:   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
        !           387:   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
        !           388:   --datadir=DIR           read-only architecture-independent data in DIR
        !           389:                           [PREFIX/share]
        !           390:   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
        !           391:   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
        !           392:                           [PREFIX/com]
        !           393:   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
        !           394:   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
        !           395:   --includedir=DIR        C header files in DIR [PREFIX/include]
        !           396:   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
        !           397:   --infodir=DIR           info documentation in DIR [PREFIX/info]
        !           398:   --mandir=DIR            man documentation in DIR [PREFIX/man]
        !           399:   --srcdir=DIR            find the sources in DIR [configure dir or ..]
        !           400: EOF
        !           401:
        !           402:   cat <<\EOF
        !           403:
        !           404: Host type:
        !           405:   --build=BUILD      configure for building on BUILD [BUILD=HOST]
        !           406:   --host=HOST        configure for HOST [guessed]
        !           407:   --target=TARGET    configure for TARGET [TARGET=HOST]
        !           408: EOF
        !           409:
        !           410:   cat <<\EOF
        !           411:
        !           412: Program names:
        !           413:   --program-prefix=PREFIX            prepend PREFIX to installed program names
        !           414:   --program-suffix=SUFFIX            append SUFFIX to installed program names
        !           415:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
        !           416:
        !           417: Optional Features:
        !           418:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
        !           419:   --enable-FEATURE=ARG  include FEATURE ARG=yes
        !           420:   --disable-dependency-tracking Speeds up one-time builds
        !           421:   --enable-dependency-tracking  Do not reject slow dependency extractors
        !           422:   --enable-maintainer-mode enable make rules and dependencies not useful
        !           423:                           (and sometimes confusing) to the casual installer
        !           424:   --enable-assert         enable ASSERT checking default=no
        !           425:   --enable-alloca         use alloca for temp space default=yes
        !           426:   --enable-fft            enable FFTs for multiplication default=no
        !           427:   --enable-mpbsd          build Berkley MP compatibility library default=no
        !           428:   --enable-mpfr           build MPFR default=no
        !           429:   --enable-shared=PKGS  build shared libraries default=yes
        !           430:   --enable-static=PKGS  build static libraries default=yes
        !           431:   --enable-fast-install=PKGS  optimize for fast installation default=yes
        !           432:   --disable-libtool-lock  avoid locking (might break parallel builds)
        !           433:
        !           434: Optional Packages:
        !           435:   --with-PACKAGE=ARG    use PACKAGE ARG=yes
        !           436:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
        !           437:   --with-gnu-ld           assume the C compiler uses GNU ld default=no
        !           438:   --with-pic              try to use only PIC/non-PIC objects default=use both
        !           439: EOF
        !           440:   exit 0
        !           441: fi
        !           442: if $ac_init_version; then
        !           443:   cat <<\EOF
        !           444: Generated automatically using Autoconf version 2.14a.
        !           445: Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
        !           446: Free Software Foundation, Inc.
        !           447:
        !           448: This configure script is free software; the Free Software Foundation
        !           449: gives unlimited permission to copy, distribute and modify it.
        !           450: EOF
        !           451:   exit 0
        !           452: fi
        !           453: trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
        !           454:
        !           455: # Keep a trace of the command line.
        !           456: # Strip out --no-create and --no-recursion so they do not pile up.
        !           457: # Also quote any args containing shell meta-characters.
        !           458: ac_configure_args=
        !           459: for ac_arg
        !           460: do
        !           461:   case "$ac_arg" in
        !           462:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
        !           463:   | --no-cr | --no-c) ;;
        !           464:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
        !           465:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
        !           466:   *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
        !           467:   ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
        !           468:   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
        !           469:   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
        !           470:   esac
        !           471: done
        !           472:
        !           473: # File descriptor usage:
        !           474: # 0 standard input
        !           475: # 1 file creation
        !           476: # 2 errors and warnings
        !           477: # 3 some systems may open it to /dev/tty
        !           478: # 4 used on the Kubota Titan
        !           479: # 6 checking for... messages and results
        !           480: # 5 compiler messages saved in config.log
        !           481: if test "$silent" = yes; then
        !           482:   exec 6>/dev/null
        !           483: else
        !           484:   exec 6>&1
        !           485: fi
        !           486: exec 5>./config.log
        !           487:
        !           488: echo "\
        !           489: This file contains any messages produced by compilers while
        !           490: running configure, to aid debugging if configure makes a mistake.
        !           491:
        !           492: It was created by configure version 2.14a, executed with
        !           493:  > $0 $ac_configure_args
        !           494: " 1>&5
        !           495:
        !           496: # NLS nuisances.
        !           497: # Only set these to C if already set.  These must not be set unconditionally
        !           498: # because not all systems understand e.g. LANG=C (notably SCO).
        !           499: # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
        !           500: # Non-C LC_CTYPE values break the ctype check.
        !           501: if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
        !           502: if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
        !           503: if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
        !           504: if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
        !           505:
        !           506: # confdefs.h avoids OS command line length limits that DEFS can exceed.
        !           507: rm -rf conftest* confdefs.h
        !           508: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
        !           509: echo >confdefs.h
        !           510:
        !           511: # A filename unique to this package, relative to the directory that
        !           512: # configure is in, which we can look for to find out if srcdir is correct.
        !           513: ac_unique_file=
        !           514:
        !           515: # Find the source files, if location was not specified.
        !           516: if test -z "$srcdir"; then
        !           517:   ac_srcdir_defaulted=yes
        !           518:   # Try the directory containing this script, then its parent.
        !           519:   ac_prog=$0
        !           520:   ac_confdir=`echo "$ac_prog" | sed 's%/[^/][^/]*$%%'`
        !           521:   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
        !           522:   srcdir=$ac_confdir
        !           523:   if test ! -r $srcdir/$ac_unique_file; then
        !           524:     srcdir=..
        !           525:   fi
        !           526: else
        !           527:   ac_srcdir_defaulted=no
        !           528: fi
        !           529: if test ! -r $srcdir/$ac_unique_file; then
        !           530:   if test "$ac_srcdir_defaulted" = yes; then
        !           531:     { echo "configure: error: cannot find sources in $ac_confdir or .." 1>&2; exit 1; }
        !           532:   else
        !           533:     { echo "configure: error: cannot find sources in $srcdir" 1>&2; exit 1; }
        !           534:   fi
        !           535: fi
        !           536: srcdir=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'`
        !           537:
        !           538: # Prefer explicitly selected file to automatically selected ones.
        !           539: if test -z "$CONFIG_SITE"; then
        !           540:   if test "x$prefix" != xNONE; then
        !           541:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
        !           542:   else
        !           543:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
        !           544:   fi
        !           545: fi
        !           546: for ac_site_file in $CONFIG_SITE; do
        !           547:   if test -r "$ac_site_file"; then
        !           548:     echo "loading site script $ac_site_file"
        !           549:     . "$ac_site_file"
        !           550:   fi
        !           551: done
        !           552:
        !           553: if test -r "$cache_file"; then
        !           554:   echo "loading cache $cache_file"
        !           555:       test -f "$cache_file" && . $cache_file
        !           556: else
        !           557:   echo "creating cache $cache_file"
        !           558:   >$cache_file
        !           559: fi
        !           560:
        !           561: ac_ext=c
        !           562: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
        !           563: ac_cpp='$CPP $CPPFLAGS'
        !           564: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
        !           565: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
        !           566: cross_compiling=$ac_cv_prog_cc_cross
        !           567:
        !           568: ac_exeext=
        !           569: ac_objext=o
        !           570: # Factoring default headers for most tests.
        !           571: ac_includes_default="\
        !           572: #include <stdio.h>
        !           573: #include <sys/types.h>
        !           574: #if STDC_HEADERS
        !           575: # include <stdlib.h>
        !           576: # include <stddef.h>
        !           577: #else
        !           578: # if HAVE_STDLIB_H
        !           579: #  include <stdlib.h>
        !           580: # endif
        !           581: #endif
        !           582: #if HAVE_STRING_H
        !           583: # if !STDC_HEADERS && HAVE_MEMORY_H
        !           584: #  include <memory.h>
        !           585: # endif
        !           586: # include <string.h>
        !           587: #else
        !           588: # if HAVE_STRINGS_H
        !           589: #  include <strings.h>
        !           590: # endif
        !           591: #endif
        !           592: #if HAVE_INTTYPES_H
        !           593: # include <inttypes.h>
        !           594: #endif
        !           595: #if HAVE_UNISTD_H
        !           596: # include <unistd.h>
        !           597: #endif"
        !           598:
        !           599: if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
        !           600:   # Stardent Vistra SVR4 grep lacks -e, says Kaveh R. Ghazi.
        !           601:   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
        !           602:     ECHO_N= ECHO_C='
        !           603: ' ECHO_T='     '
        !           604:   else
        !           605:     ECHO_N=-n ECHO_C= ECHO_T=
        !           606:   fi
        !           607: else
        !           608:   ECHO_N= ECHO_C='\c' ECHO_T=
        !           609: fi
        !           610:
        !           611: ac_aux_dir=
        !           612: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
        !           613:   if test -f $ac_dir/install-sh; then
        !           614:     ac_aux_dir=$ac_dir
        !           615:     ac_install_sh="$ac_aux_dir/install-sh -c"
        !           616:     break
        !           617:   elif test -f $ac_dir/install.sh; then
        !           618:     ac_aux_dir=$ac_dir
        !           619:     ac_install_sh="$ac_aux_dir/install.sh -c"
        !           620:     break
        !           621:   elif test -f $ac_dir/shtool; then
        !           622:     ac_aux_dir=$ac_dir
        !           623:     ac_install_sh="$ac_aux_dir/shtool install -c"
        !           624:     break
        !           625:   fi
        !           626: done
        !           627: if test -z "$ac_aux_dir"; then
        !           628:   { echo "configure: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
        !           629: fi
        !           630: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
        !           631: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
        !           632: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
        !           633:
        !           634: echo $ECHO_N "checking host system type... $ECHO_C" 1>&6
        !           635: echo "configure:636: checking host system type" 1>&5
        !           636: if test "x$ac_cv_host" = "x" || (test "x$host" != "xNONE" && test "x$host" != "x$ac_cv_host_alias"); then
        !           637:
        !           638:   # Make sure we can run config.sub.
        !           639:   if $ac_config_sub sun4 >/dev/null 2>&1; then :; else
        !           640:     { echo "configure: error: cannot run $ac_config_sub" 1>&2; exit 1; }
        !           641:   fi
        !           642:
        !           643:   ac_cv_host_alias=$host
        !           644:   case "$ac_cv_host_alias" in
        !           645:   NONE)
        !           646:     case $nonopt in
        !           647:     NONE)
        !           648:       if ac_cv_host_alias=`$ac_config_guess`; then :
        !           649:       else { echo "configure: error: cannot guess host type; you must specify one" 1>&2; exit 1; }
        !           650:       fi ;;    *) ac_cv_host_alias=$nonopt ;;
        !           651:     esac ;;
        !           652:   esac
        !           653:
        !           654:   ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || exit 1
        !           655:   ac_cv_host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
        !           656:   ac_cv_host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
        !           657:   ac_cv_host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
        !           658: else
        !           659:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !           660: fi
        !           661:
        !           662: echo "$ECHO_T""$ac_cv_host" 1>&6
        !           663:
        !           664: host=$ac_cv_host
        !           665: host_alias=$ac_cv_host_alias
        !           666: host_cpu=$ac_cv_host_cpu
        !           667: host_vendor=$ac_cv_host_vendor
        !           668: host_os=$ac_cv_host_os
        !           669:
        !           670: echo $ECHO_N "checking target system type... $ECHO_C" 1>&6
        !           671: echo "configure:672: checking target system type" 1>&5
        !           672: if test "x$ac_cv_target" = "x" || (test "x$target" != "xNONE" && test "x$target" != "x$ac_cv_target_alias"); then
        !           673:
        !           674:   # Make sure we can run config.sub.
        !           675:   if $ac_config_sub sun4 >/dev/null 2>&1; then :; else
        !           676:     { echo "configure: error: cannot run $ac_config_sub" 1>&2; exit 1; }
        !           677:   fi
        !           678:
        !           679:   ac_cv_target_alias=$target
        !           680:   case "$ac_cv_target_alias" in
        !           681:   NONE)
        !           682:     case $nonopt in
        !           683:     NONE)
        !           684:       ac_cv_target_alias=$host_alias ;;
        !           685:     *) ac_cv_target_alias=$nonopt ;;
        !           686:     esac ;;
        !           687:   esac
        !           688:
        !           689:   ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || exit 1
        !           690:   ac_cv_target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
        !           691:   ac_cv_target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
        !           692:   ac_cv_target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
        !           693: else
        !           694:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !           695: fi
        !           696:
        !           697: echo "$ECHO_T""$ac_cv_target" 1>&6
        !           698:
        !           699: target=$ac_cv_target
        !           700: target_alias=$ac_cv_target_alias
        !           701: target_cpu=$ac_cv_target_cpu
        !           702: target_vendor=$ac_cv_target_vendor
        !           703: target_os=$ac_cv_target_os
        !           704:
        !           705: echo $ECHO_N "checking build system type... $ECHO_C" 1>&6
        !           706: echo "configure:707: checking build system type" 1>&5
        !           707: if test "x$ac_cv_build" = "x" || (test "x$build" != "xNONE" && test "x$build" != "x$ac_cv_build_alias"); then
        !           708:
        !           709:   # Make sure we can run config.sub.
        !           710:   if $ac_config_sub sun4 >/dev/null 2>&1; then :; else
        !           711:     { echo "configure: error: cannot run $ac_config_sub" 1>&2; exit 1; }
        !           712:   fi
        !           713:
        !           714:   ac_cv_build_alias=$build
        !           715:   case "$ac_cv_build_alias" in
        !           716:   NONE)
        !           717:     case $nonopt in
        !           718:     NONE)
        !           719:       ac_cv_build_alias=$host_alias ;;
        !           720:     *) ac_cv_build_alias=$nonopt ;;
        !           721:     esac ;;
        !           722:   esac
        !           723:
        !           724:   ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || exit 1
        !           725:   ac_cv_build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
        !           726:   ac_cv_build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
        !           727:   ac_cv_build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
        !           728: else
        !           729:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !           730: fi
        !           731:
        !           732: echo "$ECHO_T""$ac_cv_build" 1>&6
        !           733:
        !           734: build=$ac_cv_build
        !           735: build_alias=$ac_cv_build_alias
        !           736: build_cpu=$ac_cv_build_cpu
        !           737: build_vendor=$ac_cv_build_vendor
        !           738: build_os=$ac_cv_build_os
        !           739:
        !           740: # Do some error checking and defaulting for the host and target type.
        !           741: # The inputs are:
        !           742: #    configure --host=HOST --target=TARGET --build=BUILD NONOPT
        !           743: #
        !           744: # The rules are:
        !           745: # 1. You are not allowed to specify --host, --target, and nonopt at the
        !           746: #    same time.
        !           747: # 2. Host defaults to nonopt.
        !           748: # 3. If nonopt is not specified, then host defaults to the current host,
        !           749: #    as determined by config.guess.
        !           750: # 4. Target and build default to nonopt.
        !           751: # 5. If nonopt is not specified, then target and build default to host.
        !           752:
        !           753: # The aliases save the names the user supplied, while $host etc.
        !           754: # will get canonicalized.
        !           755: case $host---$target---$nonopt in
        !           756: NONE---*---* | *---NONE---* | *---*---NONE) ;;
        !           757: *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
        !           758: esac
        !           759:
        !           760: test "$host_alias" != "$target_alias" &&
        !           761:   test "$program_prefix$program_suffix$program_transform_name" = \
        !           762:     NONENONEs,x,x, &&
        !           763:   program_prefix=${target_alias}-
        !           764:
        !           765: # Find a good install program.  We prefer a C program (faster),
        !           766: # so one script is as good as another.  But avoid the broken or
        !           767: # incompatible versions:
        !           768: # SysV /etc/install, /usr/sbin/install
        !           769: # SunOS /usr/etc/install
        !           770: # IRIX /sbin/install
        !           771: # AIX /bin/install
        !           772: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
        !           773: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
        !           774: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
        !           775: # ./install, which can be erroneously created by make from ./install.sh.
        !           776: echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" 1>&6
        !           777: echo "configure:778: checking for a BSD compatible install" 1>&5
        !           778: if test -z "$INSTALL"; then
        !           779: if test "${ac_cv_path_install+set}" = set; then
        !           780:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !           781: else
        !           782:     IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS=":"
        !           783:   for ac_dir in $PATH; do
        !           784:     # Account for people who put trailing slashes in PATH elements.
        !           785:     case "$ac_dir/" in
        !           786:     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
        !           787:     *)
        !           788:       # OSF1 and SCO ODT 3.0 have their own names for install.
        !           789:       # Don't use installbsd from OSF since it installs stuff as root
        !           790:       # by default.
        !           791:       for ac_prog in ginstall scoinst install; do
        !           792:         if test -f $ac_dir/$ac_prog; then
        !           793:          if test $ac_prog = install &&
        !           794:             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
        !           795:            # AIX install.  It has an incompatible calling convention.
        !           796:            :
        !           797:          elif test $ac_prog = install &&
        !           798:            grep pwplus $ac_dir/$ac_prog >/dev/null 2>&1; then
        !           799:            # program-specific install script used by HP pwplus--don't use.
        !           800:            :
        !           801:          else
        !           802:            ac_cv_path_install="$ac_dir/$ac_prog -c"
        !           803:            break 2
        !           804:          fi
        !           805:        fi
        !           806:       done
        !           807:       ;;
        !           808:     esac
        !           809:   done
        !           810:   IFS="$ac_save_IFS"
        !           811:
        !           812: fi
        !           813:   if test "${ac_cv_path_install+set}" = set; then
        !           814:     INSTALL="$ac_cv_path_install"
        !           815:   else
        !           816:     # As a last resort, use the slow shell script.  We don't cache a
        !           817:     # path for INSTALL within a source directory, because that will
        !           818:     # break other packages using the cache if that directory is
        !           819:     # removed, or if the path is relative.
        !           820:     INSTALL="$ac_install_sh"
        !           821:   fi
        !           822: fi
        !           823: echo "$ECHO_T""$INSTALL" 1>&6
        !           824:
        !           825: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
        !           826: # It thinks the first close brace ends the variable substitution.
        !           827: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
        !           828:
        !           829: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
        !           830:
        !           831: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
        !           832:
        !           833: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" 1>&6
        !           834: echo "configure:835: checking whether build environment is sane" 1>&5
        !           835: # Just in case
        !           836: sleep 1
        !           837: echo timestamp > conftestfile
        !           838: # Do `set' in a subshell so we don't clobber the current shell's
        !           839: # arguments.  Must try -L first in case configure is actually a
        !           840: # symlink; some systems play weird games with the mod time of symlinks
        !           841: # (eg FreeBSD returns the mod time of the symlink's containing
        !           842: # directory).
        !           843: if (
        !           844:    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
        !           845:    if test "$*" = "X"; then
        !           846:       # -L didn't work.
        !           847:       set X `ls -t $srcdir/configure conftestfile`
        !           848:    fi
        !           849:    if test "$*" != "X $srcdir/configure conftestfile" \
        !           850:       && test "$*" != "X conftestfile $srcdir/configure"; then
        !           851:
        !           852:       # If neither matched, then we have a broken ls.  This can happen
        !           853:       # if, for instance, CONFIG_SHELL is bash and it inherits a
        !           854:       # broken ls alias from the environment.  This has actually
        !           855:       # happened.  Such a system could not be considered "sane".
        !           856:       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
        !           857: alias in your environment" 1>&2; exit 1; }
        !           858:    fi
        !           859:
        !           860:    test "$2" = conftestfile
        !           861:    )
        !           862: then
        !           863:    # Ok.
        !           864:    :
        !           865: else
        !           866:    { echo "configure: error: newly created file is older than distributed files!
        !           867: Check your system clock" 1>&2; exit 1; }
        !           868: fi
        !           869: rm -f conftest*
        !           870: echo "$ECHO_T""yes" 1>&6
        !           871: if test "$program_transform_name" = s,x,x,; then
        !           872:   program_transform_name=
        !           873: else
        !           874:   # Double any \ or $.  echo might interpret backslashes.
        !           875:   cat <<\EOF >conftestsed
        !           876: s,\\,\\\\,g; s,\$,$$,g
        !           877: EOF
        !           878:   program_transform_name=`echo $program_transform_name | sed -f conftestsed`
        !           879:   rm -f conftestsed
        !           880: fi
        !           881: test "$program_prefix" != NONE &&
        !           882:   program_transform_name="s,^,${program_prefix},;$program_transform_name"
        !           883: # Use a double $ so make ignores it.
        !           884: test "$program_suffix" != NONE &&
        !           885:   program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
        !           886:
        !           887: # sed with no file args requires a program.
        !           888: test "$program_transform_name" = "" && program_transform_name="s,x,x,"
        !           889:
        !           890: test x"${MISSING+set}" = xset || \
        !           891:   MISSING="\${SHELL} `CDPATH=: && cd $ac_aux_dir && pwd`/missing"
        !           892: if eval "$MISSING --run :"; then
        !           893:   am_missing_run="$MISSING --run "
        !           894: else
        !           895:   am_missing_run=
        !           896:   am_backtick='`'
        !           897:   echo "configure: warning: ${am_backtick}missing' script is too old or missing" 1>&2
        !           898: fi
        !           899:
        !           900: for ac_prog in mawk gawk nawk awk
        !           901: do
        !           902: # Extract the first word of "$ac_prog", so it can be a program name with args.
        !           903: set dummy $ac_prog; ac_word=$2
        !           904: echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
        !           905: echo "configure:906: checking for $ac_word" 1>&5
        !           906: if test "${ac_cv_prog_AWK+set}" = set; then
        !           907:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !           908: else
        !           909:   if test -n "$AWK"; then
        !           910:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
        !           911: else
        !           912:   for ac_path in `IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !           913: ac_dummy="$PATH"
        !           914: for ac_dir in $ac_dummy; do
        !           915:   test -z "$ac_dir" && ac_dir=.
        !           916:   if test -f $ac_dir/$ac_word; then
        !           917:     echo "$ac_dir/$ac_word"
        !           918:   fi
        !           919: done
        !           920: IFS="$ac_save_ifs"
        !           921: `; do
        !           922:     ac_cv_prog_AWK="$ac_prog"
        !           923:     break
        !           924:   done
        !           925: fi
        !           926: fi
        !           927: AWK="$ac_cv_prog_AWK"
        !           928: if test -n "$AWK"; then
        !           929:   echo "$ECHO_T""$AWK" 1>&6
        !           930: else
        !           931:   echo "$ECHO_T""no" 1>&6
        !           932: fi
        !           933:
        !           934: test -n "$AWK" && break
        !           935: done
        !           936:
        !           937: echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" 1>&6
        !           938: echo "configure:939: checking whether ${MAKE-make} sets \${MAKE}" 1>&5
        !           939: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
        !           940: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
        !           941:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !           942: else
        !           943:   cat >conftestmake <<\EOF
        !           944: all:
        !           945:        @echo 'ac_maketemp="${MAKE}"'
        !           946: EOF
        !           947: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
        !           948: eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
        !           949: if test -n "$ac_maketemp"; then
        !           950:   eval ac_cv_prog_make_${ac_make}_set=yes
        !           951: else
        !           952:   eval ac_cv_prog_make_${ac_make}_set=no
        !           953: fi
        !           954: rm -f conftestmake
        !           955: fi
        !           956: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
        !           957:   echo "$ECHO_T""yes" 1>&6
        !           958:   SET_MAKE=
        !           959: else
        !           960:   echo "$ECHO_T""no" 1>&6
        !           961:   SET_MAKE="MAKE=${MAKE-make}"
        !           962: fi
        !           963:
        !           964: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
        !           965: if test "${enable_dependency_tracking+set}" = set; then
        !           966:   enableval="$enable_dependency_tracking"
        !           967:
        !           968: fi
        !           969: if test "x$enable_dependency_tracking" = xno; then
        !           970:   AMDEP="#"
        !           971: else
        !           972:   am_depcomp="$ac_aux_dir/depcomp"
        !           973:   if test ! -f "$am_depcomp"; then
        !           974:     AMDEP="#"
        !           975:   else
        !           976:     AMDEP=
        !           977:   fi
        !           978: fi
        !           979:
        !           980: if test -z "$AMDEP"; then
        !           981:   AMDEPBACKSLASH='\'
        !           982: else
        !           983:   AMDEPBACKSLASH=
        !           984: fi
        !           985:
        !           986: if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
        !           987:   DEPDIR=.deps
        !           988: else
        !           989:   DEPDIR=_deps
        !           990: fi
        !           991:
        !           992: PACKAGE=gmp
        !           993:
        !           994: VERSION=3.1
        !           995:
        !           996: if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
        !           997:    test -f $srcdir/config.status; then
        !           998:   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
        !           999: fi
        !          1000: cat >>confdefs.h <<EOF
        !          1001: #define PACKAGE "$PACKAGE"
        !          1002: EOF
        !          1003:
        !          1004: cat >>confdefs.h <<EOF
        !          1005: #define VERSION "$VERSION"
        !          1006: EOF
        !          1007:
        !          1008: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
        !          1009:
        !          1010: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
        !          1011:
        !          1012: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
        !          1013:
        !          1014: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
        !          1015:
        !          1016: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
        !          1017:
        !          1018: AMTAR=${AMTAR-"${am_missing_run}tar"}
        !          1019:
        !          1020: if test -z "$install_sh"; then
        !          1021:    install_sh="$ac_aux_dir/install-sh"
        !          1022:    test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
        !          1023:    test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
        !          1024:          install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
        !          1025: fi
        !          1026:
        !          1027: echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" 1>&6
        !          1028: echo "configure:1029: checking whether to enable maintainer-specific portions of Makefiles" 1>&5
        !          1029:     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
        !          1030: if test "${enable_maintainer_mode+set}" = set; then
        !          1031:   enableval="$enable_maintainer_mode"
        !          1032:   USE_MAINTAINER_MODE=$enableval
        !          1033: else
        !          1034:   USE_MAINTAINER_MODE=no
        !          1035: fi
        !          1036:   echo "$ECHO_T""$USE_MAINTAINER_MODE" 1>&6
        !          1037:
        !          1038: if test $USE_MAINTAINER_MODE = yes; then
        !          1039:   MAINTAINER_MODE_TRUE=
        !          1040:   MAINTAINER_MODE_FALSE='#'
        !          1041: else
        !          1042:   MAINTAINER_MODE_TRUE='#'
        !          1043:   MAINTAINER_MODE_FALSE=
        !          1044: fi
        !          1045:   MAINT=$MAINTAINER_MODE_TRUE
        !          1046:
        !          1047: gmp_configm4="config.m4"
        !          1048: gmp_tmpconfigm4=cnfm4.tmp
        !          1049: gmp_tmpconfigm4i=cnfm4i.tmp
        !          1050: gmp_tmpconfigm4p=cnfm4p.tmp
        !          1051: test -f $gmp_tmpconfigm4 && rm $gmp_tmpconfigm4
        !          1052: test -f $gmp_tmpconfigm4i && rm $gmp_tmpconfigm4i
        !          1053: test -f $gmp_tmpconfigm4p && rm $gmp_tmpconfigm4p
        !          1054:
        !          1055: # Check whether --enable-assert or --disable-assert was given.
        !          1056: if test "${enable_assert+set}" = set; then
        !          1057:   enableval="$enable_assert"
        !          1058:   case "${enableval}" in
        !          1059: yes|no) ;;
        !          1060: *) { echo "configure: error: bad value ${enableval} for --enable-assert, need yes or no" 1>&2; exit 1; } ;;
        !          1061: esac
        !          1062: else
        !          1063:   enable_assert=no
        !          1064: fi
        !          1065:
        !          1066: if test "$enable_assert" = "yes"; then
        !          1067:   cat >>confdefs.h <<\EOF
        !          1068: #define WANT_ASSERT 1
        !          1069: EOF
        !          1070:
        !          1071: fi
        !          1072:
        !          1073: # Check whether --enable-alloca or --disable-alloca was given.
        !          1074: if test "${enable_alloca+set}" = set; then
        !          1075:   enableval="$enable_alloca"
        !          1076:   case "${enableval}" in
        !          1077: yes|no) ;;
        !          1078: *) { echo "configure: error: bad value ${enableval} for --enable-alloca, need yes or no" 1>&2; exit 1; } ;;
        !          1079: esac
        !          1080: else
        !          1081:   enable_alloca=yes
        !          1082: fi
        !          1083:
        !          1084: if test "$enable_alloca" = "no"; then
        !          1085:   cat >>confdefs.h <<\EOF
        !          1086: #define USE_STACK_ALLOC 1
        !          1087: EOF
        !          1088:
        !          1089: fi
        !          1090:
        !          1091: # Check whether --enable-fft or --disable-fft was given.
        !          1092: if test "${enable_fft+set}" = set; then
        !          1093:   enableval="$enable_fft"
        !          1094:   case "${enableval}" in
        !          1095: yes|no) ;;
        !          1096: *) { echo "configure: error: bad value ${enableval} for --enable-fft, need yes or no" 1>&2; exit 1; } ;;
        !          1097: esac
        !          1098: else
        !          1099:   enable_fft=no
        !          1100: fi
        !          1101:
        !          1102: if test "$enable_fft" = "yes"; then
        !          1103:   cat >>confdefs.h <<\EOF
        !          1104: #define WANT_FFT 1
        !          1105: EOF
        !          1106:
        !          1107: fi
        !          1108:
        !          1109: # Check whether --enable-mpbsd or --disable-mpbsd was given.
        !          1110: if test "${enable_mpbsd+set}" = set; then
        !          1111:   enableval="$enable_mpbsd"
        !          1112:   case "${enableval}" in
        !          1113: yes|no) ;;
        !          1114: *) { echo "configure: error: bad value ${enableval} for --enable-mpbsd, need yes or no" 1>&2; exit 1; } ;;
        !          1115: esac
        !          1116: else
        !          1117:   enable_mpbsd=no
        !          1118: fi
        !          1119:
        !          1120: if test "$enable_mpbsd" = "yes"; then
        !          1121:   WANT_MPBSD_TRUE=
        !          1122:   WANT_MPBSD_FALSE='#'
        !          1123: else
        !          1124:   WANT_MPBSD_TRUE='#'
        !          1125:   WANT_MPBSD_FALSE=
        !          1126: fi
        !          1127:
        !          1128: # Check whether --enable-mpfr or --disable-mpfr was given.
        !          1129: if test "${enable_mpfr+set}" = set; then
        !          1130:   enableval="$enable_mpfr"
        !          1131:   case "${enableval}" in
        !          1132: yes|no) ;;
        !          1133: *) { echo "configure: error: bad value ${enableval} for --enable-mpfr, need yes or no" 1>&2; exit 1; } ;;
        !          1134: esac
        !          1135: else
        !          1136:   enable_mpfr=no
        !          1137: fi
        !          1138:
        !          1139: if test "$enable_mpfr" = "yes"; then
        !          1140:   WANT_MPFR_TRUE=
        !          1141:   WANT_MPFR_FALSE='#'
        !          1142: else
        !          1143:   WANT_MPFR_TRUE='#'
        !          1144:   WANT_MPFR_FALSE=
        !          1145: fi
        !          1146:
        !          1147: os_64bit="no"
        !          1148: cclist="gcc cc"                # FIXME: Prefer c89 to cc.
        !          1149: gmp_cflags_gcc="-g -O2"
        !          1150: gmp_cflags64_gcc="-g -O2"
        !          1151: gmp_cflags_cc="-g"
        !          1152: gmp_cflags64_cc="-g"
        !          1153:
        !          1154: case "$target" in
        !          1155:   # Alpha
        !          1156:   alpha*-cray-unicos*)
        !          1157:     # Don't perform any assembly syntax tests on this beast.
        !          1158:     gmp_no_asm_syntax_testing=yes
        !          1159:     cclist=cc
        !          1160:     gmp_cflags_cc="$gmp_cflags_cc -O"
        !          1161:     ;;
        !          1162:   alpha*-*-osf*)
        !          1163:     flavour=`echo $target_cpu | sed 's/^alpha//g'`
        !          1164:     if test -n "$flavour"; then
        !          1165:       case $flavour in    # compilers don't seem to understand `ev67' and such.
        !          1166:        ev6? | ev7*) flavour=ev6;;
        !          1167:       esac
        !          1168:       gmp_optcflags_gcc="-mcpu=$flavour"
        !          1169:       # FIXME: We shouldn't fail fatally if none of these work, but that's
        !          1170:       # how xoptcflags work and we don't have any other mechanism right now.
        !          1171:       # Why do we need this here and not for alpha*-*-* below?
        !          1172:       gmp_xoptcflags_gcc="-Wa,-arch,${flavour} -Wa,-m${flavour}"
        !          1173:       gmp_optcflags_cc="-arch $flavour -tune $flavour"
        !          1174:     fi
        !          1175:     ;;
        !          1176:   alpha*-*-*)
        !          1177:     cclist="gcc"
        !          1178:     flavour=`echo $target_cpu | sed 's/^alpha//g'`
        !          1179:     if test -n "$flavour"; then
        !          1180:       case $flavour in
        !          1181:        ev6? | ev7*) flavour=ev6;;
        !          1182:       esac
        !          1183:       gmp_optcflags_gcc="-mcpu=$flavour"
        !          1184:     fi
        !          1185:     ;;
        !          1186:   # Cray vector machines.  This must come after alpha* so that we can
        !          1187:   # recognize present and future vector processors with a wildcard.
        !          1188:   *-cray-unicos*)
        !          1189:     # Don't perform any assembly syntax tests on this beast.
        !          1190:     gmp_no_asm_syntax_testing=yes
        !          1191:     cclist=cc
        !          1192:     # Don't inherit default gmp_cflags_cc value; it comes with -g which
        !          1193:     # disables all optimization on Cray vector systems
        !          1194:     gmp_cflags_cc="-O"
        !          1195:     ;;
        !          1196:
        !          1197:   # AMD and Intel x86 configurations
        !          1198:   i?86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-*)
        !          1199:     # Rumour has it -O2 used to give worse register allocation than just -O.
        !          1200:     gmp_cflags_gcc="-g -O -fomit-frame-pointer"
        !          1201:
        !          1202:     case "${target}" in
        !          1203:       i386*-*-*)    gmp_optcflags_gcc="-mcpu=i386 -march=i386";;
        !          1204:       i486*-*-*)    gmp_optcflags_gcc="-mcpu=i486 -march=i486";;
        !          1205:       i586*-*-* | pentium-*-* | pentiummmx-*-*)
        !          1206:                     gmp_optcflags_gcc="-mcpu=pentium -march=pentium";;
        !          1207:
        !          1208:       # -march=pentiumpro not used because mpz/powm.c (swox cvs rev 1.4)
        !          1209:       # tickles a bug in gcc 2.95.2 (believed fixed in 2.96).
        !          1210:       i686*-*-* | pentiumpro-*-* | pentium[23]-*-*)
        !          1211:                     gmp_optcflags_gcc="-mcpu=pentiumpro";;
        !          1212:
        !          1213:       k6*-*-*)      gmp_optcflags_gcc="-mcpu=k6 -march=k6";;
        !          1214:
        !          1215:       # Athlon instruction costs are close to p6: 3 cycle load latency, 4-6
        !          1216:       # cycle mul, 40 cycle div, pairable adc, ...
        !          1217:       # FIXME: Change this when gcc gets something specific for Athlon.
        !          1218:       # -march=pentiumpro not used, per i686 above.
        !          1219:       athlon-*-*)   gmp_optcflags_gcc="-mcpu=pentiumpro";;
        !          1220:     esac
        !          1221:     ;;
        !          1222:
        !          1223:   # Sparc
        !          1224:   ultrasparc*-*-solaris2.[7-9] | sparcv9-*-solaris2.[7-9])
        !          1225:     os_64bit=yes
        !          1226:     gmp_cflags_gcc="$gmp_cflags_gcc -Wa,-xarch=v8plus"
        !          1227:     gmp_xoptcflags_gcc="-mcpu=v9 -mcpu=v8 -mv8"
        !          1228:     gmp_cflags64_gcc="$gmp_cflags64_gcc -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9"
        !          1229:     gmp_cflags_cc="-xtarget=native -xarch=v8 -xO4"
        !          1230:     gmp_cflags64_cc="-xtarget=native -xarch=v9 -xO4"
        !          1231:     ;;
        !          1232:   sparc64-*-linux*)
        !          1233:     os_64bit=yes
        !          1234:     gmp_cflags64_gcc="$gmp_cflags64_gcc -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9"
        !          1235:     gmp_cflags_gcc="$gmp_cflags_gcc -m32"
        !          1236:     gmp_xoptflags_gcc="-mcpu=ultrasparc -mvis"
        !          1237:     ;;
        !          1238:   ultrasparc*-*-* | sparcv9-*-*)
        !          1239:     gmp_cflags_gcc="$gmp_cflags_gcc -Wa,-xarch=v8plus"
        !          1240:     gmp_xoptcflags_gcc="-mcpu=v9 -mcpu=v8 -mv8"
        !          1241:     gmp_cflags_cc="-xtarget=native -xarch=v8 -xO4"
        !          1242:     ;;
        !          1243:   sparcv8*-*-solaris2.* | microsparc*-*-solaris2.*)
        !          1244:     gmp_cflags_gcc="$gmp_cflags_gcc"
        !          1245:     gmp_xoptcflags_gcc="-mcpu=v8 -mv8"
        !          1246:     gmp_cflags_cc="-xtarget=native -xarch=v8 -xO4"
        !          1247:     ;;
        !          1248:   sparcv8*-*-* | microsparc*-*-*)              # SunOS, Linux, *BSD
        !          1249:     cclist="gcc acc cc"
        !          1250:     gmp_cflags_gcc="$gmp_cflags_gcc"
        !          1251:     gmp_xoptcflags_gcc="-mcpu=v8 -mv8"
        !          1252:     gmp_cflags_acc="-g -O2 -cg92"
        !          1253:     gmp_cflags_cc="-O2"                # FIXME: Flag for v8?
        !          1254:     ;;
        !          1255:   supersparc*-*-solaris2.*)
        !          1256:     gmp_cflags_gcc="$gmp_cflags_gcc -DSUPERSPARC"
        !          1257:     gmp_xoptcflags_gcc="-mcpu=v8 -mv8"
        !          1258:     gmp_cflags_cc="-xtarget=native -xarch=v8 -xO4 -DSUPERSPARC"
        !          1259:     ;;
        !          1260:   supersparc*-*-*)             # SunOS, Linux, *BSD
        !          1261:     cclist="gcc acc cc"
        !          1262:     gmp_cflags_gcc="$gmp_cflags_gcc -DSUPERSPARC"
        !          1263:     gmp_xoptcflags_gcc="-mcpu=v8 -mv8"
        !          1264:     gmp_cflags_acc="-g -O2 -cg92 -DSUPERSPARC"
        !          1265:     gmp_cflags_cc="-O2 -DSUPERSPARC"   # FIXME: Flag for v8?
        !          1266:     ;;
        !          1267:   *sparc*-*-*)
        !          1268:     cclist="gcc acc cc"
        !          1269:     gmp_cflags_acc="-g -O2"
        !          1270:     gmp_cflags_cc="-g -O2"
        !          1271:     ;;
        !          1272:
        !          1273:   # POWER/PowerPC
        !          1274:   powerpc64-*-aix*)
        !          1275:     cclist="gcc xlc"
        !          1276:     gmp_cflags_gcc="$gmp_cflags_gcc -maix64 -mpowerpc64"
        !          1277:     gmp_cflags_xlc="-g -O2 -q64 -qtune=pwr3"
        !          1278:     ;;
        !          1279:   powerpc*-*-aix*)
        !          1280:     cclist="gcc xlc"
        !          1281:     gmp_cflags_gcc="$gmp_cflags_gcc -mpowerpc"
        !          1282:     gmp_cflags_xlc="$gmp_cflags_cc -qarch=ppc -O2"
        !          1283:     ;;
        !          1284:   power-*-aix*)
        !          1285:     cclist="gcc xlc"
        !          1286:     gmp_cflags_gcc="$gmp_cflags_gcc -mpower"
        !          1287:     gmp_cflags_xlc="$gmp_cflags_cc -qarch=pwr -O2"
        !          1288:     ;;
        !          1289:   powerpc64*-*-*)
        !          1290:     gmp_cflags_gcc="$gmp_cflags_gcc -mpowerpc64"
        !          1291:     cat >>confdefs.h <<\EOF
        !          1292: #define _LONG_LONG_LIMB 1
        !          1293: EOF
        !          1294:            ;;
        !          1295:   powerpc*-*-*)
        !          1296:     gmp_cflags_gcc="$gmp_cflags_gcc -mpowerpc"
        !          1297:     ;;
        !          1298:
        !          1299:   # MIPS
        !          1300:   mips-sgi-irix6.*)
        !          1301:     os_64bit=yes
        !          1302:     gmp_cflags64_gcc="-g -O2 -mabi=n32"
        !          1303:     gmp_cflags64_cc="$gmp_cflags64_cc -O2 -n32"
        !          1304:     ;;
        !          1305:
        !          1306:   # Motorola 68k family
        !          1307:   m88110*-*-*)
        !          1308:     gmp_cflags_gcc="-g -O -m88110"         ;;
        !          1309:   m68*-*-*)
        !          1310:     gmp_cflags_gcc="$gmp_cflags_gcc -fomit-frame-pointer"
        !          1311:     ;;
        !          1312:
        !          1313:   # HP
        !          1314:   hppa1.0*-*-*)
        !          1315:     cclist="gcc c89 cc"
        !          1316:     gmp_cflags_c89="$gmp_cflags_cc +O2"
        !          1317:     gmp_cflags_cc="$gmp_cflags_cc +O2"
        !          1318:     ;;
        !          1319:   hppa2.0w*-*-*)
        !          1320:     cclist="c89 cc"
        !          1321:     gmp_cflags_c89="+DD64 +O3"
        !          1322:     gmp_cflags_cc="+DD64 +O3"
        !          1323:     ;;
        !          1324:   hppa2.0*-*-*)
        !          1325:     os_64bit=yes
        !          1326:     cclist="gcc c89 cc"
        !          1327:     gmp_cflags64_gcc="$gmp_cflags64_gcc -mWHAT -D_LONG_LONG_LIMB"
        !          1328:     # +O2 to cc triggers bug in mpz/powm.c (1.4)
        !          1329:     gmp_cflags64_c89="+DA2.0 +e +O3 -D_LONG_LONG_LIMB"
        !          1330:     gmp_cflags64_cc="+DA2.0 +e +O3 -D_LONG_LONG_LIMB"
        !          1331:     gmp_cflags_c89="$gmp_cflags_cc +O2"
        !          1332:     gmp_cflags_cc="$gmp_cflags_cc +O2"
        !          1333:     ;;
        !          1334:
        !          1335:   # VAX
        !          1336:   vax*-*-*)
        !          1337:     gmp_cflags_gcc="$gmp_cflags_gcc -fomit-frame-pointer"
        !          1338:     ;;
        !          1339:
        !          1340:   # Fujitsu
        !          1341:   f30[01]-fujitsu-sysv*)
        !          1342:     cclist="gcc vcc"
        !          1343:     gmp_cflags_vcc="-g"                # FIXME: flags for vcc?
        !          1344:     ;;
        !          1345: esac
        !          1346:
        !          1347: echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" 1>&6
        !          1348: echo "configure:1349: checking for BSD-compatible nm" 1>&5
        !          1349: if test "${ac_cv_path_NM+set}" = set; then
        !          1350:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          1351: else
        !          1352:   if test -n "$NM"; then
        !          1353:   # Let the user override the test.
        !          1354:   ac_cv_path_NM="$NM"
        !          1355: else
        !          1356:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
        !          1357:   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
        !          1358:     test -z "$ac_dir" && ac_dir=.
        !          1359:     if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
        !          1360:       # Check to see if the nm accepts a BSD-compat flag.
        !          1361:       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
        !          1362:       #   nm: unknown option "B" ignored
        !          1363:       if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
        !          1364:        ac_cv_path_NM="$ac_dir/nm -B"
        !          1365:        break
        !          1366:       elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
        !          1367:        ac_cv_path_NM="$ac_dir/nm -p"
        !          1368:        break
        !          1369:       else
        !          1370:        ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
        !          1371:        continue # so that we can try to find one that supports BSD flags
        !          1372:       fi
        !          1373:     fi
        !          1374:   done
        !          1375:   IFS="$ac_save_ifs"
        !          1376:   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
        !          1377: fi
        !          1378: fi
        !          1379:
        !          1380: NM="$ac_cv_path_NM"
        !          1381: echo "$ECHO_T""$NM" 1>&6
        !          1382:        # nm on 64-bit AIX needs to know the object file format
        !          1383: case "$target" in
        !          1384:   powerpc64*-*-aix*)
        !          1385:     NM="$NM -X 64"
        !          1386:     ;;
        !          1387: esac
        !          1388:
        !          1389: # Save CFLAGS given on command line.
        !          1390: gmp_user_CFLAGS="$CFLAGS"
        !          1391:
        !          1392: if test -z "$CC"; then
        !          1393:   # Find compiler.
        !          1394:
        !          1395: if test $host != $build; then
        !          1396:   ac_tool_prefix=${host_alias}-
        !          1397: else
        !          1398:   ac_tool_prefix=
        !          1399: fi
        !          1400:
        !          1401: gmp_cc_list="$cclist"
        !          1402: gmp_req_64bit_cc="$os_64bit"
        !          1403:
        !          1404: CC32=
        !          1405: CC64=
        !          1406: for c in $gmp_cc_list; do
        !          1407:   # Avoid cache hits.
        !          1408:   unset CC
        !          1409:   unset ac_cv_prog_CC
        !          1410:
        !          1411: # Extract the first word of "${ac_tool_prefix}$c", so it can be a program name with args.
        !          1412: set dummy ${ac_tool_prefix}$c; ac_word=$2
        !          1413: echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
        !          1414: echo "configure:1415: checking for $ac_word" 1>&5
        !          1415: if test "${ac_cv_prog_CC+set}" = set; then
        !          1416:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          1417: else
        !          1418:   if test -n "$CC"; then
        !          1419:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          1420: else
        !          1421:   for ac_path in `IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !          1422: ac_dummy="$PATH"
        !          1423: for ac_dir in $ac_dummy; do
        !          1424:   test -z "$ac_dir" && ac_dir=.
        !          1425:   if test -f $ac_dir/$ac_word; then
        !          1426:     echo "$ac_dir/$ac_word"
        !          1427:   fi
        !          1428: done
        !          1429: IFS="$ac_save_ifs"
        !          1430: `; do
        !          1431:     ac_cv_prog_CC="${ac_tool_prefix}$c"
        !          1432:     break
        !          1433:   done
        !          1434: fi
        !          1435: fi
        !          1436: CC="$ac_cv_prog_CC"
        !          1437: if test -n "$CC"; then
        !          1438:   echo "$ECHO_T""$CC" 1>&6
        !          1439: else
        !          1440:   echo "$ECHO_T""no" 1>&6
        !          1441: fi
        !          1442:
        !          1443: if test -z "$ac_cv_prog_CC"; then
        !          1444:   if test -n "$ac_tool_prefix"; then
        !          1445:     # Extract the first word of "$c", so it can be a program name with args.
        !          1446: set dummy $c; ac_word=$2
        !          1447: echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
        !          1448: echo "configure:1449: checking for $ac_word" 1>&5
        !          1449: if test "${ac_cv_prog_CC+set}" = set; then
        !          1450:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          1451: else
        !          1452:   if test -n "$CC"; then
        !          1453:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          1454: else
        !          1455:   for ac_path in `IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !          1456: ac_dummy="$PATH"
        !          1457: for ac_dir in $ac_dummy; do
        !          1458:   test -z "$ac_dir" && ac_dir=.
        !          1459:   if test -f $ac_dir/$ac_word; then
        !          1460:     echo "$ac_dir/$ac_word"
        !          1461:   fi
        !          1462: done
        !          1463: IFS="$ac_save_ifs"
        !          1464: `; do
        !          1465:     ac_cv_prog_CC="$c"
        !          1466:     break
        !          1467:   done
        !          1468:   test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="$c"
        !          1469: fi
        !          1470: fi
        !          1471: CC="$ac_cv_prog_CC"
        !          1472: if test -n "$CC"; then
        !          1473:   echo "$ECHO_T""$CC" 1>&6
        !          1474: else
        !          1475:   echo "$ECHO_T""no" 1>&6
        !          1476: fi
        !          1477:
        !          1478:   else
        !          1479:     CC="$c"
        !          1480:   fi
        !          1481: fi
        !          1482:
        !          1483:   if test -n "$CC"; then
        !          1484:     eval c_flags=\$gmp_cflags_$c
        !          1485:     ac_ext=c
        !          1486: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
        !          1487: ac_cpp='$CPP $CPPFLAGS'
        !          1488: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
        !          1489: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
        !          1490: cross_compiling=$ac_cv_prog_cc_cross
        !          1491:        CC="$CC"
        !          1492: CFLAGS="$c_flags"
        !          1493: echo $ECHO_N "checking if the C compiler ($CC) works with flags $CFLAGS... $ECHO_C" 1>&6
        !          1494: echo "configure:1495: checking if the C compiler ($CC) works with flags $CFLAGS" 1>&5
        !          1495:
        !          1496: # Simple test for all targets.
        !          1497: cat >conftest.$ac_ext <<EOF
        !          1498:
        !          1499: #line 1500 "configure"
        !          1500: #include "confdefs.h"
        !          1501:
        !          1502: int main(){return(0);}
        !          1503: EOF
        !          1504: if { (eval echo configure:1505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          1505:   tmp_works=yes
        !          1506:   # If we can't run a trivial program, we are probably using a cross compiler.
        !          1507:   if (./conftest; exit) 2>/dev/null; then
        !          1508:     tmp_cross=no
        !          1509:   else
        !          1510:     tmp_cross=yes
        !          1511:   fi
        !          1512: else
        !          1513:   echo "configure: failed program was:" >&5
        !          1514:   cat conftest.$ac_ext >&5
        !          1515:   tmp_works=no
        !          1516: fi
        !          1517: rm -fr conftest*
        !          1518:
        !          1519: # Target specific tests.
        !          1520: if test "$tmp_works" = "yes"; then
        !          1521:   case "$target" in
        !          1522:     *-*-aix*)  # Returning a funcptr.
        !          1523:       cat >conftest.$ac_ext <<EOF
        !          1524: #line 1525 "configure"
        !          1525: #include "confdefs.h"
        !          1526:
        !          1527: int
        !          1528: main ()
        !          1529: {
        !          1530: } void *g(); void *f() { return g(); } int bar(){
        !          1531:   ;
        !          1532:   return 0;
        !          1533: }
        !          1534: EOF
        !          1535: if { (eval echo configure:1536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          1536:   rm -rf conftest*
        !          1537:   tmp_works=yes
        !          1538: else
        !          1539:   echo "configure: failed program was:" >&5
        !          1540:   cat conftest.$ac_ext >&5
        !          1541:   rm -rf conftest*
        !          1542:   tmp_works=no
        !          1543: fi
        !          1544: rm -f conftest*
        !          1545:       ;;
        !          1546:   esac
        !          1547: fi
        !          1548:
        !          1549: if test "$tmp_works" = "yes"; then
        !          1550:   gmp_prog_cc_works=yes
        !          1551: else
        !          1552:   gmp_prog_cc_works=no
        !          1553: fi
        !          1554:
        !          1555: echo "$ECHO_T""$tmp_works" 1>&6
        !          1556:
        !          1557:     if test "$gmp_prog_cc_works" != "yes"; then
        !          1558:       continue
        !          1559:     fi
        !          1560:
        !          1561:     # Save first working compiler, whether 32- or 64-bit capable.
        !          1562:     if test -z "$CC32"; then
        !          1563:       CC32="$CC"
        !          1564:     fi
        !          1565:     if test "$gmp_req_64bit_cc" = "yes"; then
        !          1566:       eval c_flags=\$gmp_cflags64_$c
        !          1567:
        !          1568:       # Verify that the compiler works in 64-bit mode as well.
        !          1569:       # /usr/ucb/cc on Solaris 7 can *compile* in 64-bit mode, but not link.
        !          1570:       ac_ext=c
        !          1571: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
        !          1572: ac_cpp='$CPP $CPPFLAGS'
        !          1573: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
        !          1574: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
        !          1575: cross_compiling=$ac_cv_prog_cc_cross
        !          1576:        CC="$c"
        !          1577: CFLAGS="$c_flags"
        !          1578: echo $ECHO_N "checking if the C compiler ($CC) works with flags $CFLAGS... $ECHO_C" 1>&6
        !          1579: echo "configure:1580: checking if the C compiler ($CC) works with flags $CFLAGS" 1>&5
        !          1580:
        !          1581: # Simple test for all targets.
        !          1582: cat >conftest.$ac_ext <<EOF
        !          1583:
        !          1584: #line 1585 "configure"
        !          1585: #include "confdefs.h"
        !          1586:
        !          1587: int main(){return(0);}
        !          1588: EOF
        !          1589: if { (eval echo configure:1590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          1590:   tmp_works=yes
        !          1591:   # If we can't run a trivial program, we are probably using a cross compiler.
        !          1592:   if (./conftest; exit) 2>/dev/null; then
        !          1593:     tmp_cross=no
        !          1594:   else
        !          1595:     tmp_cross=yes
        !          1596:   fi
        !          1597: else
        !          1598:   echo "configure: failed program was:" >&5
        !          1599:   cat conftest.$ac_ext >&5
        !          1600:   tmp_works=no
        !          1601: fi
        !          1602: rm -fr conftest*
        !          1603:
        !          1604: # Target specific tests.
        !          1605: if test "$tmp_works" = "yes"; then
        !          1606:   case "$target" in
        !          1607:     *-*-aix*)  # Returning a funcptr.
        !          1608:       cat >conftest.$ac_ext <<EOF
        !          1609: #line 1610 "configure"
        !          1610: #include "confdefs.h"
        !          1611:
        !          1612: int
        !          1613: main ()
        !          1614: {
        !          1615: } void *g(); void *f() { return g(); } int bar(){
        !          1616:   ;
        !          1617:   return 0;
        !          1618: }
        !          1619: EOF
        !          1620: if { (eval echo configure:1621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          1621:   rm -rf conftest*
        !          1622:   tmp_works=yes
        !          1623: else
        !          1624:   echo "configure: failed program was:" >&5
        !          1625:   cat conftest.$ac_ext >&5
        !          1626:   rm -rf conftest*
        !          1627:   tmp_works=no
        !          1628: fi
        !          1629: rm -f conftest*
        !          1630:       ;;
        !          1631:   esac
        !          1632: fi
        !          1633:
        !          1634: if test "$tmp_works" = "yes"; then
        !          1635:   gmp_prog_cc_works=yes
        !          1636: else
        !          1637:   gmp_prog_cc_works=no
        !          1638: fi
        !          1639:
        !          1640: echo "$ECHO_T""$tmp_works" 1>&6
        !          1641:
        !          1642:       if test "$gmp_prog_cc_works" = "yes"; then
        !          1643:
        !          1644:   gmp_tmp_CC_save="$CC"
        !          1645:   CC="$c"
        !          1646:   echo $ECHO_N "checking whether the C compiler ($CC) is 64-bit capable... $ECHO_C" 1>&6
        !          1647: echo "configure:1648: checking whether the C compiler ($CC) is 64-bit capable" 1>&5
        !          1648:   if test -z "$NM"; then
        !          1649:     echo; echo "configure: GMP_CHECK_CC_64BIT: fatal: need nm"
        !          1650:     exit 1
        !          1651:   fi
        !          1652:   gmp_tmp_CFLAGS_save="$CFLAGS"
        !          1653:   CFLAGS="$c_flags"
        !          1654:
        !          1655:   case "$target" in
        !          1656:     hppa2.0*-*-*)
        !          1657:       # FIXME: If gcc is installed under another name than "gcc", we will
        !          1658:       # test the wrong thing.
        !          1659:       if test "$CC" != "gcc"; then
        !          1660:                                                 echo >conftest.c
        !          1661:         gmp_tmp_vs=`$CC $CFLAGS -V -c -o conftest.o conftest.c 2>&1 | grep "^ccom:"`
        !          1662:         rm conftest*
        !          1663:         gmp_tmp_v1=`echo $gmp_tmp_vs | sed 's/.* .\.\(.*\)\..*\..* HP C.*/\1/'`
        !          1664:         gmp_tmp_v2=`echo $gmp_tmp_vs | sed 's/.* .\..*\.\(.*\)\..* HP C.*/\1/'`
        !          1665:         gmp_tmp_v3=`echo $gmp_tmp_vs | sed 's/.* .\..*\..*\.\(.*\) HP C.*/\1/'`
        !          1666:        gmp_cv_cc_64bit=no
        !          1667:        test -n "$gmp_tmp_v1" && test "$gmp_tmp_v1" -ge "10" \
        !          1668:          && test -n "$gmp_tmp_v2" && test "$gmp_tmp_v2" -ge "32" \
        !          1669:          && test -n "$gmp_tmp_v3" && test "$gmp_tmp_v3" -ge "30" \
        !          1670:          && gmp_cv_cc_64bit=yes
        !          1671:       else     # gcc
        !          1672:        # FIXME: Compile a minimal file and determine if the resulting object
        !          1673:        # file is an ELF file.  If so, gcc can produce 64-bit code.
        !          1674:        # Do we have file(1) for target?
        !          1675:        gmp_cv_cc_64bit=no
        !          1676:       fi
        !          1677:       ;;
        !          1678:     mips-sgi-irix6.*)
        !          1679:       # We use `-n32' to cc and `-mabi=n32' to gcc, resulting in 64-bit
        !          1680:       # arithmetic but not 64-bit pointers, so the general test for sizeof
        !          1681:       # (void *) is not valid.
        !          1682:       # Simply try to compile an empty main.  If that succeeds return
        !          1683:       # true.
        !          1684:       cat >conftest.$ac_ext <<EOF
        !          1685: #line 1686 "configure"
        !          1686: #include "confdefs.h"
        !          1687:
        !          1688: int
        !          1689: main ()
        !          1690: {
        !          1691:
        !          1692:   ;
        !          1693:   return 0;
        !          1694: }
        !          1695: EOF
        !          1696: if { (eval echo configure:1697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          1697:   rm -rf conftest*
        !          1698:   gmp_cv_cc_64bit=yes
        !          1699: else
        !          1700:   echo "configure: failed program was:" >&5
        !          1701:   cat conftest.$ac_ext >&5
        !          1702:   rm -rf conftest*
        !          1703:   gmp_cv_cc_64bit=no
        !          1704: fi
        !          1705: rm -f conftest*
        !          1706:       ;;
        !          1707:     *-*-*)
        !          1708:       # Allocate an array of size sizeof (void *) and use nm to determine its
        !          1709:       # size.  We depend on the first declared variable being put at address 0.
        !          1710:       cat >conftest.c <<EOF
        !          1711: char arr[sizeof (void *)]={0};
        !          1712: char post=0;
        !          1713: EOF
        !          1714:       gmp_compile="$CC $CFLAGS -c conftest.c 1>&5"
        !          1715:       if { (eval echo configure:1716: \"$gmp_compile\") 1>&5; (eval $gmp_compile) 2>&5; }; then
        !          1716:                gmp_tmp_val=`$NM conftest.o | grep post | sed -e 's;[[][0-9][]]\(.*\);\1;' \
        !          1717:           -e 's;[^1-9]*\([0-9]*\).*;\1;'`
        !          1718:                 if test "$gmp_tmp_val" = "8"; then
        !          1719:          gmp_cv_cc_64bit=yes
        !          1720:        else
        !          1721:          gmp_cv_cc_64bit=no
        !          1722:         fi
        !          1723:       else
        !          1724:         echo "configure: failed program was:" >&5
        !          1725:         cat conftest.$ac_ext >&5
        !          1726:         gmp_cv_cc_64bit=no
        !          1727:       fi
        !          1728:       rm -f conftest*
        !          1729:       ;;
        !          1730:   esac
        !          1731:
        !          1732:   CC="$gmp_tmp_CC_save"
        !          1733:   CFLAGS="$gmp_tmp_CFLAGS_save"
        !          1734:   echo "$ECHO_T""$gmp_cv_cc_64bit" 1>&6
        !          1735:
        !          1736:         if test "$gmp_cv_cc_64bit" = "yes"; then
        !          1737:           test -z "$CC64" && CC64="$c"
        !          1738:           test -z "$CFLAGS64" && CFLAGS64="$c_flags"
        !          1739:          # We have CC64 so we're done.
        !          1740:           break
        !          1741:         fi
        !          1742:       fi
        !          1743:     else
        !          1744:       # We have CC32, and we don't need a 64-bit compiler so we're done.
        !          1745:       break
        !          1746:     fi
        !          1747:   fi
        !          1748: done
        !          1749: CC="$CC32"
        !          1750:
        !          1751:   # If 64-bit OS and we have a 64-bit compiler, use it.
        !          1752:   if test -n "$os_64bit" && test -n "$CC64"; then
        !          1753:     CC=$CC64
        !          1754:     CFLAGS=$CFLAGS64
        !          1755:   else
        !          1756:     eval CFLAGS=\$gmp_cflags_$CC
        !          1757:   fi
        !          1758:
        !          1759:   # Try compiler flags that may work with only some compiler versions.
        !          1760:   # gmp_optcflags: All or nothing.
        !          1761:   eval optcflags=\$gmp_optcflags_$CC
        !          1762:   if test -n "$optcflags"; then
        !          1763:     CFLAGS_save="$CFLAGS"
        !          1764:     CFLAGS="$CFLAGS $optcflags"
        !          1765:     echo $ECHO_N "checking whether $CC accepts $optcflags... $ECHO_C" 1>&6
        !          1766: echo "configure:1767: checking whether $CC accepts $optcflags" 1>&5
        !          1767:     ac_ext=c
        !          1768: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
        !          1769: ac_cpp='$CPP $CPPFLAGS'
        !          1770: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
        !          1771: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
        !          1772: cross_compiling=$ac_cv_prog_cc_cross
        !          1773:
        !          1774:     cat >conftest.$ac_ext <<EOF
        !          1775:
        !          1776: #line 1777 "configure"
        !          1777: #include "confdefs.h"
        !          1778:
        !          1779: int main(){return(0);}
        !          1780: EOF
        !          1781: if { (eval echo configure:1782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          1782:   optok=yes
        !          1783:   # If we can't run a trivial program, we are probably using a cross compiler.
        !          1784:   if (./conftest; exit) 2>/dev/null; then
        !          1785:     cross=no
        !          1786:   else
        !          1787:     cross=yes
        !          1788:   fi
        !          1789: else
        !          1790:   echo "configure: failed program was:" >&5
        !          1791:   cat conftest.$ac_ext >&5
        !          1792:   optok=no
        !          1793: fi
        !          1794: rm -fr conftest*
        !          1795:     if test "$optok" = "yes"; then
        !          1796:       echo "$ECHO_T""yes" 1>&6
        !          1797:     else
        !          1798:       echo "$ECHO_T""no" 1>&6
        !          1799:       CFLAGS="$CFLAGS_save"
        !          1800:     fi
        !          1801:   fi
        !          1802:   # gmp_xoptcflags: First is best, one has to work.
        !          1803:   eval xoptcflags=\$gmp_xoptcflags_$CC
        !          1804:   if test -n "$xoptcflags"; then
        !          1805:     gmp_found="no"
        !          1806:     for xopt in $xoptcflags; do
        !          1807:       CFLAGS_save="$CFLAGS"
        !          1808:       CFLAGS="$CFLAGS $xopt"
        !          1809:       echo $ECHO_N "checking whether $CC accepts $xopt... $ECHO_C" 1>&6
        !          1810: echo "configure:1811: checking whether $CC accepts $xopt" 1>&5
        !          1811:       ac_ext=c
        !          1812: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
        !          1813: ac_cpp='$CPP $CPPFLAGS'
        !          1814: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
        !          1815: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
        !          1816: cross_compiling=$ac_cv_prog_cc_cross
        !          1817:
        !          1818:       cat >conftest.$ac_ext <<EOF
        !          1819:
        !          1820: #line 1821 "configure"
        !          1821: #include "confdefs.h"
        !          1822:
        !          1823: int main(){return(0);}
        !          1824: EOF
        !          1825: if { (eval echo configure:1826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          1826:   optok=yes
        !          1827:   # If we can't run a trivial program, we are probably using a cross compiler.
        !          1828:   if (./conftest; exit) 2>/dev/null; then
        !          1829:     cross=no
        !          1830:   else
        !          1831:     cross=yes
        !          1832:   fi
        !          1833: else
        !          1834:   echo "configure: failed program was:" >&5
        !          1835:   cat conftest.$ac_ext >&5
        !          1836:   optok=no
        !          1837: fi
        !          1838: rm -fr conftest*
        !          1839:       if test "$optok" = "yes"; then
        !          1840:         echo "$ECHO_T""yes" 1>&6
        !          1841:         gmp_found="yes"
        !          1842:         break
        !          1843:       else
        !          1844:         echo "$ECHO_T""no" 1>&6
        !          1845:         CFLAGS="$CFLAGS_save"
        !          1846:       fi
        !          1847:     done
        !          1848:     if test "$gmp_found" = "no"; then
        !          1849:       echo "$0: fatal: need a compiler that understands one of $xoptcflags"
        !          1850:       exit 1
        !          1851:     fi
        !          1852:   fi
        !          1853: fi
        !          1854:
        !          1855: # Restore CFLAGS given on command line.
        !          1856: # FIXME: We've run through quite some unnecessary code looking for a
        !          1857: # nice compiler and working flags for it, just to spoil that with user
        !          1858: # supplied flags.
        !          1859: test -n "$gmp_user_CFLAGS" && CFLAGS="$gmp_user_CFLAGS"
        !          1860:
        !          1861: # Select chosen compiler.
        !          1862:
        !          1863: echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works... $ECHO_C" 1>&6
        !          1864: echo "configure:1865: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5
        !          1865:
        !          1866: ac_ext=c
        !          1867: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
        !          1868: ac_cpp='$CPP $CPPFLAGS'
        !          1869: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
        !          1870: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
        !          1871: cross_compiling=$ac_cv_prog_cc_cross
        !          1872:
        !          1873: cat >conftest.$ac_ext <<EOF
        !          1874:
        !          1875: #line 1876 "configure"
        !          1876: #include "confdefs.h"
        !          1877:
        !          1878: int main(){return(0);}
        !          1879: EOF
        !          1880: if { (eval echo configure:1881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          1881:   ac_cv_prog_cc_works=yes
        !          1882:   # If we can't run a trivial program, we are probably using a cross compiler.
        !          1883:   if (./conftest; exit) 2>/dev/null; then
        !          1884:     ac_cv_prog_cc_cross=no
        !          1885:   else
        !          1886:     ac_cv_prog_cc_cross=yes
        !          1887:   fi
        !          1888: else
        !          1889:   echo "configure: failed program was:" >&5
        !          1890:   cat conftest.$ac_ext >&5
        !          1891:   ac_cv_prog_cc_works=no
        !          1892: fi
        !          1893: rm -fr conftest*
        !          1894: ac_ext=c
        !          1895: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
        !          1896: ac_cpp='$CPP $CPPFLAGS'
        !          1897: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
        !          1898: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
        !          1899: cross_compiling=$ac_cv_prog_cc_cross
        !          1900:
        !          1901: echo "$ECHO_T""$ac_cv_prog_cc_works" 1>&6
        !          1902: if test $ac_cv_prog_cc_works = no; then
        !          1903:   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 77; }
        !          1904: fi
        !          1905: echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler... $ECHO_C" 1>&6
        !          1906: echo "configure:1907: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5
        !          1907: echo "$ECHO_T""$ac_cv_prog_cc_cross" 1>&6
        !          1908: cross_compiling=$ac_cv_prog_cc_cross
        !          1909:
        !          1910: echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" 1>&6
        !          1911: echo "configure:1912: checking whether we are using GNU C" 1>&5
        !          1912: if test "${ac_cv_prog_gcc+set}" = set; then
        !          1913:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          1914: else
        !          1915:   cat >conftest.c <<EOF
        !          1916: #ifdef __GNUC__
        !          1917:   yes;
        !          1918: #endif
        !          1919: EOF
        !          1920: if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
        !          1921:   ac_cv_prog_gcc=yes
        !          1922: else
        !          1923:   ac_cv_prog_gcc=no
        !          1924: fi
        !          1925: fi
        !          1926: echo "$ECHO_T""$ac_cv_prog_gcc" 1>&6
        !          1927:
        !          1928: if test "$ac_cv_prog_gcc" = "yes"; then
        !          1929:   GCC=yes
        !          1930: else
        !          1931:   GCC=
        !          1932: fi
        !          1933:
        !          1934: # Set CFLAGS if not already set.
        !          1935: if test -z "$CFLAGS"; then
        !          1936:   CFLAGS="-g"
        !          1937:   if test "$GCC" = "yes"; then
        !          1938:     CFLAGS="$CFLAGS -O2"
        !          1939:   fi
        !          1940: fi
        !          1941:
        !          1942: if test "${ac_cv_prog_CC+set}" = set; then
        !          1943:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          1944: else
        !          1945:   ac_cv_prog_CC="$CC"
        !          1946: fi
        !          1947:
        !          1948: # How to assemble.
        !          1949: CCAS="$CC -c"
        !          1950:
        !          1951: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" 1>&6
        !          1952: echo "configure:1953: checking how to run the C preprocessor" 1>&5
        !          1953: # On Suns, sometimes $CPP names a directory.
        !          1954: if test -n "$CPP" && test -d "$CPP"; then
        !          1955:   CPP=
        !          1956: fi
        !          1957: if test -z "$CPP"; then
        !          1958: if test "${ac_cv_prog_CPP+set}" = set; then
        !          1959:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          1960: else
        !          1961:     # This must be in double quotes, not single quotes, because CPP may get
        !          1962:   # substituted into the Makefile and "${CC-cc}" will confuse make.
        !          1963:   CPP="${CC-cc} -E"
        !          1964:   # On the NeXT, cc -E runs the code through the compiler's parser,
        !          1965:   # not just through cpp.
        !          1966:
        !          1967: cat >conftest.$ac_ext <<EOF
        !          1968: #line 1969 "configure"
        !          1969: #include "confdefs.h"
        !          1970: #include <assert.h>
        !          1971: Syntax Error
        !          1972: EOF
        !          1973: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          1974: { (eval echo configure:1975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          1975: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          1976: if test -z "$ac_err"; then
        !          1977:   :
        !          1978: else
        !          1979:   echo "$ac_err" >&5
        !          1980:   echo "configure: failed program was:" >&5
        !          1981:   cat conftest.$ac_ext >&5
        !          1982:   rm -rf conftest*
        !          1983:   CPP="${CC-cc} -E -traditional-cpp"
        !          1984:
        !          1985: cat >conftest.$ac_ext <<EOF
        !          1986: #line 1987 "configure"
        !          1987: #include "confdefs.h"
        !          1988: #include <assert.h>
        !          1989: Syntax Error
        !          1990: EOF
        !          1991: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          1992: { (eval echo configure:1993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          1993: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          1994: if test -z "$ac_err"; then
        !          1995:   :
        !          1996: else
        !          1997:   echo "$ac_err" >&5
        !          1998:   echo "configure: failed program was:" >&5
        !          1999:   cat conftest.$ac_ext >&5
        !          2000:   rm -rf conftest*
        !          2001:   CPP="${CC-cc} -nologo -E"
        !          2002:
        !          2003: cat >conftest.$ac_ext <<EOF
        !          2004: #line 2005 "configure"
        !          2005: #include "confdefs.h"
        !          2006: #include <assert.h>
        !          2007: Syntax Error
        !          2008: EOF
        !          2009: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          2010: { (eval echo configure:2011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          2011: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          2012: if test -z "$ac_err"; then
        !          2013:   :
        !          2014: else
        !          2015:   echo "$ac_err" >&5
        !          2016:   echo "configure: failed program was:" >&5
        !          2017:   cat conftest.$ac_ext >&5
        !          2018:   rm -rf conftest*
        !          2019:   CPP=/lib/cpp
        !          2020: fi
        !          2021: rm -f conftest*
        !          2022: fi
        !          2023: rm -f conftest*
        !          2024: fi
        !          2025: rm -f conftest*
        !          2026:   ac_cv_prog_CPP="$CPP"
        !          2027: fi
        !          2028:   CPP="$ac_cv_prog_CPP"
        !          2029: else
        !          2030:   ac_cv_prog_CPP="$CPP"
        !          2031: fi
        !          2032: echo "$ECHO_T""$CPP" 1>&6
        !          2033:
        !          2034: # Find a good install program.  We prefer a C program (faster),
        !          2035: # so one script is as good as another.  But avoid the broken or
        !          2036: # incompatible versions:
        !          2037: # SysV /etc/install, /usr/sbin/install
        !          2038: # SunOS /usr/etc/install
        !          2039: # IRIX /sbin/install
        !          2040: # AIX /bin/install
        !          2041: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
        !          2042: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
        !          2043: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
        !          2044: # ./install, which can be erroneously created by make from ./install.sh.
        !          2045: echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" 1>&6
        !          2046: echo "configure:2047: checking for a BSD compatible install" 1>&5
        !          2047: if test -z "$INSTALL"; then
        !          2048: if test "${ac_cv_path_install+set}" = set; then
        !          2049:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2050: else
        !          2051:     IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS=":"
        !          2052:   for ac_dir in $PATH; do
        !          2053:     # Account for people who put trailing slashes in PATH elements.
        !          2054:     case "$ac_dir/" in
        !          2055:     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
        !          2056:     *)
        !          2057:       # OSF1 and SCO ODT 3.0 have their own names for install.
        !          2058:       # Don't use installbsd from OSF since it installs stuff as root
        !          2059:       # by default.
        !          2060:       for ac_prog in ginstall scoinst install; do
        !          2061:         if test -f $ac_dir/$ac_prog; then
        !          2062:          if test $ac_prog = install &&
        !          2063:             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
        !          2064:            # AIX install.  It has an incompatible calling convention.
        !          2065:            :
        !          2066:          elif test $ac_prog = install &&
        !          2067:            grep pwplus $ac_dir/$ac_prog >/dev/null 2>&1; then
        !          2068:            # program-specific install script used by HP pwplus--don't use.
        !          2069:            :
        !          2070:          else
        !          2071:            ac_cv_path_install="$ac_dir/$ac_prog -c"
        !          2072:            break 2
        !          2073:          fi
        !          2074:        fi
        !          2075:       done
        !          2076:       ;;
        !          2077:     esac
        !          2078:   done
        !          2079:   IFS="$ac_save_IFS"
        !          2080:
        !          2081: fi
        !          2082:   if test "${ac_cv_path_install+set}" = set; then
        !          2083:     INSTALL="$ac_cv_path_install"
        !          2084:   else
        !          2085:     # As a last resort, use the slow shell script.  We don't cache a
        !          2086:     # path for INSTALL within a source directory, because that will
        !          2087:     # break other packages using the cache if that directory is
        !          2088:     # removed, or if the path is relative.
        !          2089:     INSTALL="$ac_install_sh"
        !          2090:   fi
        !          2091: fi
        !          2092: echo "$ECHO_T""$INSTALL" 1>&6
        !          2093:
        !          2094: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
        !          2095: # It thinks the first close brace ends the variable substitution.
        !          2096: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
        !          2097:
        !          2098: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
        !          2099:
        !          2100: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
        !          2101:
        !          2102: echo $ECHO_N "checking whether ln -s works... $ECHO_C" 1>&6
        !          2103: echo "configure:2104: checking whether ln -s works" 1>&5
        !          2104: if test "${ac_cv_prog_LN_S+set}" = set; then
        !          2105:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2106: else
        !          2107:   rm -f conftestdata
        !          2108: if ln -s X conftestdata 2>/dev/null
        !          2109: then
        !          2110:   rm -f conftestdata
        !          2111:   ac_cv_prog_LN_S="ln -s"
        !          2112: else
        !          2113:   ac_cv_prog_LN_S=ln
        !          2114: fi
        !          2115: fi
        !          2116: LN_S="$ac_cv_prog_LN_S"
        !          2117: if test "$ac_cv_prog_LN_S" = "ln -s"; then
        !          2118:   echo "$ECHO_T""yes" 1>&6
        !          2119: else
        !          2120:   echo "$ECHO_T""no" 1>&6
        !          2121: fi
        !          2122:
        !          2123: echo $ECHO_N "checking for suitable m4... $ECHO_C" 1>&6
        !          2124: echo "configure:2125: checking for suitable m4" 1>&5
        !          2125: if test "${gmp_cv_prog_m4+set}" = set; then
        !          2126:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2127: else
        !          2128:   if test -n "$M4"; then
        !          2129:   gmp_cv_prog_m4="$M4"
        !          2130: else
        !          2131:   cat >conftest.m4 <<\EOF
        !          2132: define(dollarhash,``$#'')dnl
        !          2133: ifelse(dollarhash(x),1,`define(t1,Y)',
        !          2134: ``bad: $# not supported (SunOS /usr/bin/m4)
        !          2135: '')dnl
        !          2136: ifelse(eval(89),89,`define(t2,Y)',
        !          2137: `bad: eval() doesnt support 8 or 9 in a constant (OpenBSD 2.6 m4)
        !          2138: ')dnl
        !          2139: ifelse(t1`'t2,YY,`good
        !          2140: ')dnl
        !          2141: EOF
        !          2142:   echo "trying m4" 1>&5
        !          2143:   gmp_tmp_val="`(m4 conftest.m4) 2>&5`"
        !          2144:   echo "$gmp_tmp_val" 1>&5
        !          2145:   if test "$gmp_tmp_val" = good; then
        !          2146:     gmp_cv_prog_m4="m4"
        !          2147:   else
        !          2148:     IFS="${IFS=        }"; ac_save_ifs="$IFS"; IFS=":"
        !          2149:     ac_dummy="$PATH:/usr/5bin"
        !          2150:     for ac_dir in $ac_dummy; do
        !          2151:       test -z "$ac_dir" && ac_dir=.
        !          2152:       echo "trying $ac_dir/m4" 1>&5
        !          2153:       gmp_tmp_val="`($ac_dir/m4 conftest.m4) 2>&5`"
        !          2154:       echo "$gmp_tmp_val" 1>&5
        !          2155:       if test "$gmp_tmp_val" = good; then
        !          2156:         gmp_cv_prog_m4="$ac_dir/m4"
        !          2157:         break
        !          2158:       fi
        !          2159:     done
        !          2160:     IFS="$ac_save_ifs"
        !          2161:     if test -z "$gmp_cv_prog_m4"; then
        !          2162:       { echo "configure: error: No usable m4 in \$PATH or /usr/5bin (see config.log for reasons)." 1>&2; exit 1; }
        !          2163:     fi
        !          2164:   fi
        !          2165:   rm -f conftest.m4
        !          2166: fi
        !          2167: fi
        !          2168: echo "$ECHO_T""$gmp_cv_prog_m4" 1>&6
        !          2169: M4="$gmp_cv_prog_m4"
        !          2170:
        !          2171: # Extract the first word of "ar", so it can be a program name with args.
        !          2172: set dummy ar; ac_word=$2
        !          2173: echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
        !          2174: echo "configure:2175: checking for $ac_word" 1>&5
        !          2175: if test "${ac_cv_prog_AR+set}" = set; then
        !          2176:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2177: else
        !          2178:   if test -n "$AR"; then
        !          2179:   ac_cv_prog_AR="$AR" # Let the user override the test.
        !          2180: else
        !          2181:   for ac_path in `IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !          2182: ac_dummy="$PATH"
        !          2183: for ac_dir in $ac_dummy; do
        !          2184:   test -z "$ac_dir" && ac_dir=.
        !          2185:   if test -f $ac_dir/$ac_word; then
        !          2186:     echo "$ac_dir/$ac_word"
        !          2187:   fi
        !          2188: done
        !          2189: IFS="$ac_save_ifs"
        !          2190: `; do
        !          2191:     ac_cv_prog_AR="ar"
        !          2192:     break
        !          2193:   done
        !          2194: fi
        !          2195: fi
        !          2196: AR="$ac_cv_prog_AR"
        !          2197: if test -n "$AR"; then
        !          2198:   echo "$ECHO_T""$AR" 1>&6
        !          2199: else
        !          2200:   echo "$ECHO_T""no" 1>&6
        !          2201: fi
        !          2202:
        !          2203: # ar on AIX needs to know the object file format
        !          2204: case "$target" in
        !          2205:   powerpc64*-*-aix*)
        !          2206:     AR="$AR -X 64"
        !          2207:     ;;
        !          2208: esac
        !          2209:
        !          2210: if test "$gmp_no_asm_syntax_testing" != "yes"; then
        !          2211:   echo $ECHO_N "checking how to switch to text section... $ECHO_C" 1>&6
        !          2212: echo "configure:2213: checking how to switch to text section" 1>&5
        !          2213: if test "${gmp_cv_check_asm_text+set}" = set; then
        !          2214:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2215: else
        !          2216:   case "$target" in
        !          2217:   *-*-aix*)
        !          2218:
        !          2219:     gmp_cv_check_asm_text=".csect .text[PR]"
        !          2220:
        !          2221:     ;;
        !          2222:   *-*-hpux*) gmp_cv_check_asm_text=".code" ;;
        !          2223:   *) gmp_cv_check_asm_text=".text" ;;
        !          2224: esac
        !          2225:
        !          2226: fi
        !          2227: echo "$ECHO_T""$gmp_cv_check_asm_text" 1>&6
        !          2228: echo "define(<TEXT>, <$gmp_cv_check_asm_text>)" >> $gmp_tmpconfigm4
        !          2229:
        !          2230:   echo $ECHO_N "checking how to switch to data section... $ECHO_C" 1>&6
        !          2231: echo "configure:2232: checking how to switch to data section" 1>&5
        !          2232: if test "${gmp_cv_check_asm_data+set}" = set; then
        !          2233:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2234: else
        !          2235:   case "$target" in
        !          2236:   *-*-aix*)
        !          2237:
        !          2238:     gmp_cv_check_asm_data=".csect .data[RW]"
        !          2239:
        !          2240:     ;;
        !          2241:   *) gmp_cv_check_asm_data=".data" ;;
        !          2242: esac
        !          2243:
        !          2244: fi
        !          2245: echo "$ECHO_T""$gmp_cv_check_asm_data" 1>&6
        !          2246: echo "define(<DATA>, <$gmp_cv_check_asm_data>)" >> $gmp_tmpconfigm4
        !          2247:
        !          2248:   echo $ECHO_N "checking how to export a symbol... $ECHO_C" 1>&6
        !          2249: echo "configure:2250: checking how to export a symbol" 1>&5
        !          2250: if test "${gmp_cv_check_asm_globl+set}" = set; then
        !          2251:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2252: else
        !          2253:   case "$target" in
        !          2254:   *-*-hpux*) gmp_cv_check_asm_globl=".export" ;;
        !          2255:   *) gmp_cv_check_asm_globl=".globl" ;;
        !          2256: esac
        !          2257:
        !          2258: fi
        !          2259: echo "$ECHO_T""$gmp_cv_check_asm_globl" 1>&6
        !          2260: echo "define(<GLOBL>, <$gmp_cv_check_asm_globl>)" >> $gmp_tmpconfigm4
        !          2261:
        !          2262:   echo $ECHO_N "checking what assembly label suffix to use... $ECHO_C" 1>&6
        !          2263: echo "configure:2264: checking what assembly label suffix to use" 1>&5
        !          2264: if test "${gmp_cv_check_asm_label_suffix+set}" = set; then
        !          2265:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2266: else
        !          2267:   case "$target" in
        !          2268:   *-*-hpux*) gmp_cv_check_asm_label_suffix="" ;;
        !          2269:   *) gmp_cv_check_asm_label_suffix=":" ;;
        !          2270: esac
        !          2271:
        !          2272: fi
        !          2273: echo "$ECHO_T""$gmp_cv_check_asm_label_suffix" 1>&6
        !          2274: echo "define(<LABEL_SUFFIX>, <\$1$gmp_cv_check_asm_label_suffix>)" >> $gmp_tmpconfigm4
        !          2275:
        !          2276:   echo $ECHO_N "checking how the .type assembly directive should be used... $ECHO_C" 1>&6
        !          2277: echo "configure:2278: checking how the .type assembly directive should be used" 1>&5
        !          2278: if test "${gmp_cv_check_asm_type+set}" = set; then
        !          2279:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2280: else
        !          2281:   ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
        !          2282: for gmp_tmp_prefix in @ \# %; do
        !          2283:   echo "       .type   sym,${gmp_tmp_prefix}function" > conftest.s
        !          2284:   if { (eval echo configure:2285: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
        !          2285:     gmp_cv_check_asm_type=".type       \$1,${gmp_tmp_prefix}\$2"
        !          2286:     break
        !          2287:   fi
        !          2288: done
        !          2289: if test -z "$gmp_cv_check_asm_type"; then
        !          2290:   gmp_cv_check_asm_type="dnl"
        !          2291: fi
        !          2292:
        !          2293: fi
        !          2294: echo "$ECHO_T""$gmp_cv_check_asm_type" 1>&6
        !          2295: echo "define(<TYPE>, <$gmp_cv_check_asm_type>)" >> $gmp_tmpconfigm4
        !          2296:
        !          2297:   echo $ECHO_N "checking if the .size assembly directive works... $ECHO_C" 1>&6
        !          2298: echo "configure:2299: checking if the .size assembly directive works" 1>&5
        !          2299: if test "${gmp_cv_check_asm_size+set}" = set; then
        !          2300:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2301: else
        !          2302:   ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
        !          2303: echo ' .size   sym,1' > conftest.s
        !          2304: if { (eval echo configure:2305: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
        !          2305:   gmp_cv_check_asm_size=".size \$1,\$2"
        !          2306: else
        !          2307:   gmp_cv_check_asm_size="dnl"
        !          2308: fi
        !          2309:
        !          2310: fi
        !          2311: echo "$ECHO_T""$gmp_cv_check_asm_size" 1>&6
        !          2312: echo "define(<SIZE>, <$gmp_cv_check_asm_size>)" >> $gmp_tmpconfigm4
        !          2313:
        !          2314: echo $ECHO_N "checking what prefix to use for a local label... $ECHO_C" 1>&6
        !          2315: echo "configure:2316: checking what prefix to use for a local label" 1>&5
        !          2316: if test "${gmp_cv_check_asm_lsym_prefix+set}" = set; then
        !          2317:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2318: else
        !          2319:   if test -z "$NM"; then
        !          2320:   echo; echo "GMP_CHECK_ASM_LSYM_PREFIX: fatal: need nm"
        !          2321:   exit 1
        !          2322: fi
        !          2323: ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
        !          2324: gmp_cv_check_asm_lsym_prefix="L"
        !          2325: for gmp_tmp_pre in L .L $ L$; do
        !          2326:   cat > conftest.s <<EOF
        !          2327: dummy${gmp_cv_check_asm_label_suffix}
        !          2328: ${gmp_tmp_pre}gurkmacka${gmp_cv_check_asm_label_suffix}
        !          2329:        .byte 0
        !          2330: EOF
        !          2331:   if { (eval echo configure:2332: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
        !          2332:     $NM conftest.o >/dev/null 2>&1
        !          2333:     gmp_rc=$?
        !          2334:     if test "$gmp_rc" != "0"; then
        !          2335:       echo "configure: $NM failure, using default"
        !          2336:       break
        !          2337:     fi
        !          2338:     if $NM conftest.o | grep gurkmacka >/dev/null; then true; else
        !          2339:       gmp_cv_check_asm_lsym_prefix="$gmp_tmp_pre"
        !          2340:       break
        !          2341:     fi
        !          2342:   else
        !          2343:     echo "configure: failed program was:" >&5
        !          2344:     cat conftest.s >&5
        !          2345:     # Use default.
        !          2346:   fi
        !          2347: done
        !          2348: rm -f conftest*
        !          2349:
        !          2350: fi
        !          2351: echo "$ECHO_T""$gmp_cv_check_asm_lsym_prefix" 1>&6
        !          2352: echo "define(<LSYM_PREFIX>, <${gmp_cv_check_asm_lsym_prefix}>)" >> $gmp_tmpconfigm4
        !          2353:
        !          2354: echo $ECHO_N "checking how to define a 32-bit word... $ECHO_C" 1>&6
        !          2355: echo "configure:2356: checking how to [define] a 32-bit word" 1>&5
        !          2356: if test "${gmp_cv_check_asm_w32+set}" = set; then
        !          2357:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2358: else
        !          2359:   if test -z "$NM"; then
        !          2360:   echo; echo "configure: GMP_CHECK_ASM_W32: fatal: need nm"
        !          2361:   exit 1
        !          2362: fi
        !          2363:
        !          2364: # FIXME: HPUX puts first symbol at 0x40000000, breaking our assumption
        !          2365: # that it's at 0x0.  We'll have to declare another symbol before the
        !          2366: # .long/.word and look at the distance between the two symbols.  The
        !          2367: # only problem is that the sed expression(s) barfs (on Solaris, for
        !          2368: # example) for the symbol with value 0.  For now, HPUX uses .word.
        !          2369:
        !          2370: case "$target" in
        !          2371:   *-*-hpux*)
        !          2372:     gmp_cv_check_asm_w32=".word"
        !          2373:     ;;
        !          2374:   *-*-*)
        !          2375:     ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
        !          2376:     for gmp_tmp_op in .long .word; do
        !          2377:       cat > conftest.s <<EOF
        !          2378:        $gmp_cv_check_asm_data
        !          2379:        $gmp_cv_check_asm_globl foo
        !          2380:        $gmp_tmp_op     0
        !          2381: foo${gmp_cv_check_asm_label_suffix}
        !          2382:        .byte   0
        !          2383: EOF
        !          2384:       if { (eval echo configure:2385: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
        !          2385:
        !          2386:         gmp_tmp_val=`$NM conftest.o | grep foo | sed -e 's;[[][0-9][]]\(.*\);\1;' \
        !          2387:              -e 's;[^1-9]*\([0-9]*\).*;\1;'`
        !          2388:                 if test "$gmp_tmp_val" = "4"; then
        !          2389:           gmp_cv_check_asm_w32="$gmp_tmp_op"
        !          2390:           break
        !          2391:         fi
        !          2392:       fi
        !          2393:     done
        !          2394:     ;;
        !          2395: esac
        !          2396:
        !          2397: if test -z "$gmp_cv_check_asm_w32"; then
        !          2398:   echo; echo "configure: GMP_CHECK_ASM_W32: fatal: do not know how to define a 32-bit word"
        !          2399:   exit 1
        !          2400: fi
        !          2401: rm -f conftest*
        !          2402:
        !          2403: fi
        !          2404: echo "$ECHO_T""$gmp_cv_check_asm_w32" 1>&6
        !          2405: echo "define(<W32>, <$gmp_cv_check_asm_w32>)" >> $gmp_tmpconfigm4
        !          2406:
        !          2407:   echo $ECHO_N "checking if symbols are prefixed by underscore... $ECHO_C" 1>&6
        !          2408: echo "configure:2409: checking if symbols are prefixed by underscore" 1>&5
        !          2409: if test "${gmp_cv_check_asm_underscore+set}" = set; then
        !          2410:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2411: else
        !          2412:   cat > conftest.$ac_ext <<EOF
        !          2413: #line 2414 "configure"
        !          2414: #include "confdefs.h"
        !          2415: int underscore_test() {
        !          2416: return; }
        !          2417: EOF
        !          2418: if { (eval echo configure:2419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          2419:   if grep _underscore_test conftest* >/dev/null; then
        !          2420:     gmp_cv_check_asm_underscore=yes
        !          2421:   else
        !          2422:     gmp_cv_check_asm_underscore=no
        !          2423:   fi
        !          2424: else
        !          2425:   echo "configure: failed program was:" >&5
        !          2426:   cat conftest.$ac_ext >&5
        !          2427: fi
        !          2428: rm -f conftest*
        !          2429:
        !          2430: fi
        !          2431: echo "$ECHO_T""$gmp_cv_check_asm_underscore" 1>&6
        !          2432: if test "$gmp_cv_check_asm_underscore" = "yes"; then
        !          2433:
        !          2434: echo 'define(<GSYM_PREFIX>, <_>)' >> $gmp_tmpconfigm4
        !          2435:
        !          2436:   underscore=yes
        !          2437: else
        !          2438:
        !          2439: echo 'define(<GSYM_PREFIX>, <>)' >> $gmp_tmpconfigm4
        !          2440:
        !          2441:   underscore=no
        !          2442: fi
        !          2443:
        !          2444: echo $ECHO_N "checking if .align assembly directive is logarithmic... $ECHO_C" 1>&6
        !          2445: echo "configure:2446: checking if .align assembly directive is logarithmic" 1>&5
        !          2446: if test "${gmp_cv_check_asm_align_log+set}" = set; then
        !          2447:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2448: else
        !          2449:   if test -z "$NM"; then
        !          2450:   echo; echo "configure: GMP_CHECK_ASM_ALIGN_LOG: fatal: need nm"
        !          2451:   exit 1
        !          2452: fi
        !          2453: cat > conftest.s <<EOF
        !          2454:        $gmp_cv_check_asm_data
        !          2455:        .align  4
        !          2456:        $gmp_cv_check_asm_globl foo
        !          2457:        .byte   1
        !          2458:        .align  4
        !          2459: foo$gmp_cv_check_asm_label_suffix
        !          2460:        .byte   2
        !          2461: EOF
        !          2462: ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
        !          2463: if { (eval echo configure:2464: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
        !          2464:
        !          2465:   gmp_tmp_val=`$NM conftest.o | grep foo | sed -e 's;[[][0-9][]]\(.*\);\1;' \
        !          2466:        -e 's;[^1-9]*\([0-9]*\).*;\1;'`
        !          2467:     if test "$gmp_tmp_val" = "10" || test "$gmp_tmp_val" = "16"; then
        !          2468:     gmp_cv_check_asm_align_log=yes
        !          2469:   else
        !          2470:     gmp_cv_check_asm_align_log=no
        !          2471:   fi
        !          2472: else
        !          2473:   echo "configure: failed program was:" >&5
        !          2474:   cat conftest.s >&5
        !          2475: fi
        !          2476: rm -f conftest*
        !          2477:
        !          2478: fi
        !          2479: echo "$ECHO_T""$gmp_cv_check_asm_align_log" 1>&6
        !          2480:
        !          2481: echo "define(<ALIGN_LOGARITHMIC>,<$gmp_cv_check_asm_align_log>)" >> $gmp_tmpconfigm4
        !          2482:
        !          2483: if test "$gmp_cv_check_asm_align_log" = "yes"; then
        !          2484:   asm_align=log
        !          2485: else
        !          2486:   asm_align=nolog
        !          2487: fi
        !          2488:
        !          2489: fi
        !          2490:
        !          2491: family=generic
        !          2492:
        !          2493: case ${target} in
        !          2494:   arm*-*-*)
        !          2495:     path="arm"
        !          2496:     ;;
        !          2497:   sparcv9*-*-solaris2.[789]* | sparc64*-*-solaris2.[789]* | ultrasparc*-*-solaris2.[789]*)
        !          2498:     if test -n "$CC64"; then
        !          2499:       path="sparc64"
        !          2500:     else
        !          2501:       path="sparc32/v9 sparc32/v8 sparc32"
        !          2502:     fi
        !          2503:     ;;
        !          2504:   sparc64-*-linux*)
        !          2505:     path="sparc64"
        !          2506:     ;;
        !          2507:   sparcv8*-*-* | microsparc*-*-*)
        !          2508:        path="sparc32/v8 sparc32"
        !          2509:        if test x${floating_point} = xno
        !          2510:          then extra_functions="udiv_nfp"
        !          2511:          else extra_functions="udiv_fp"
        !          2512:        fi
        !          2513:        ;;
        !          2514:   sparcv9*-*-* | ultrasparc*-*-*)
        !          2515:        path="sparc32/v9 sparc32/v8 sparc32"
        !          2516:        extra_functions="udiv_fp"
        !          2517:        ;;
        !          2518:   supersparc*-*-*)
        !          2519:        path="sparc32/v8/supersparc sparc32/v8 sparc32"
        !          2520:        extra_functions="udiv"
        !          2521:        ;;
        !          2522:   sparc*-*-*) path="sparc32"
        !          2523:        if test x${floating_point} = xno
        !          2524:          then extra_functions="udiv_nfp"
        !          2525:          else extra_functions="udiv_fp"
        !          2526:        fi
        !          2527:        ;;
        !          2528:   hppa7000*-*-*)
        !          2529:     path="hppa/hppa1_1 hppa"
        !          2530:     extra_functions="udiv_qrnnd"
        !          2531:     ;;
        !          2532:   hppa1.0*-*-*)
        !          2533:     path="hppa"
        !          2534:     extra_functions="udiv_qrnnd"
        !          2535:     ;;
        !          2536:   hppa2.0w-*-*)
        !          2537:     path="pa64w"
        !          2538:     extra_functions="umul_ppmm udiv_qrnnd"
        !          2539:     ;;
        !          2540:   hppa2.0*-*-*)
        !          2541:     if test -n "$CC64"; then
        !          2542:       path="pa64"
        !          2543:       extra_functions="umul_ppmm udiv_qrnnd"
        !          2544:       # We need to use the system compiler, or actually the system assembler,
        !          2545:       # since GAS has not been ported to understand the 2.0 instructions.
        !          2546:       CCAS="$CC64 -c"
        !          2547:     else
        !          2548:       # FIXME: path should be "hppa/hppa2_0 hppa/hppa1_1 hppa"
        !          2549:       path="hppa/hppa1_1 hppa"
        !          2550:       extra_functions="udiv_qrnnd"
        !          2551:     fi
        !          2552:     ;;
        !          2553:   hppa*-*-*)                                   #assume pa7100
        !          2554:     path="hppa/hppa1_1/pa7100 hppa/hppa1_1 hppa"
        !          2555:     extra_functions="udiv_qrnnd";;
        !          2556:   f30[01]-fujitsu-sysv*)
        !          2557:     path=fujitsu;;
        !          2558:   alphaev6*-*-*) path="alpha/ev6 alpha"; extra_functions="invert_limb cntlz";;
        !          2559:   alphaev5*-*-*) path="alpha/ev5 alpha"; extra_functions="invert_limb cntlz";;
        !          2560:   alpha*-*-*) path="alpha"; extra_functions="invert_limb cntlz";;
        !          2561:   # Cray vector machines.  This must come after alpha* so that we can
        !          2562:   # recognize present and future vector processors with a wildcard.
        !          2563:   *-cray-unicos*)
        !          2564:     path="cray"
        !          2565:     extra_functions="mulww";;
        !          2566:   am29000*-*-*) path="a29k";;
        !          2567:   a29k*-*-*) path="a29k";;
        !          2568:
        !          2569:   # AMD and Intel x86 configurations
        !          2570:
        !          2571:   i?86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-*)
        !          2572:     gmp_m4postinc="x86/x86-defs.m4"
        !          2573:     extra_functions="udiv umul"
        !          2574:     CALLING_CONVENTIONS_OBJS="x86call.o x86check.o"
        !          2575:
        !          2576: echo $ECHO_N "checking if the assembler takes cl with shldl... $ECHO_C" 1>&6
        !          2577: echo "configure:2578: checking if the assembler takes cl with shldl" 1>&5
        !          2578: if test "${gmp_cv_check_asm_shldl_cl+set}" = set; then
        !          2579:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2580: else
        !          2581:   cat > conftest.s <<EOF
        !          2582:        $gmp_cv_check_asm_text
        !          2583:        shldl   %cl, %eax, %ebx
        !          2584: EOF
        !          2585: ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
        !          2586: if { (eval echo configure:2587: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
        !          2587:   gmp_cv_check_asm_shldl_cl=yes
        !          2588: else
        !          2589:   gmp_cv_check_asm_shldl_cl=no
        !          2590: fi
        !          2591: rm -f conftest*
        !          2592:
        !          2593: fi
        !          2594: echo "$ECHO_T""$gmp_cv_check_asm_shldl_cl" 1>&6
        !          2595: if test "$gmp_cv_check_asm_shldl_cl" = "yes"; then
        !          2596:
        !          2597: echo 'define(<WANT_SHLDL_CL>, <1>)' >> $gmp_tmpconfigm4
        !          2598:
        !          2599: else
        !          2600:
        !          2601: echo 'define(<WANT_SHLDL_CL>, <0>)' >> $gmp_tmpconfigm4
        !          2602:
        !          2603: fi
        !          2604:
        !          2605:     echo $ECHO_N "checking if the .align directive accepts an 0x90 fill in .text... $ECHO_C" 1>&6
        !          2606: echo "configure:2607: checking if the .align directive accepts an 0x90 fill in .text" 1>&5
        !          2607: if test "${gmp_cv_check_asm_align_fill_0x90+set}" = set; then
        !          2608:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2609: else
        !          2610:
        !          2611: cat > conftest.s <<EOF
        !          2612:        $gmp_cv_check_asm_text
        !          2613:        .align  4, 0x90
        !          2614:        .byte   0
        !          2615:        .align  4, 0x90
        !          2616: EOF
        !          2617: gmp_tmp_val="`$CCAS $CFLAGS conftest.s 2>&1`"
        !          2618: if test $? = 0; then
        !          2619:   echo "$gmp_tmp_val" 1>&5
        !          2620:   if echo "$gmp_tmp_val" | grep "Warning: Fill parameter ignored for executable section"; then
        !          2621:     echo "Supressing this warning by omitting 0x90" 1>&5
        !          2622:     gmp_cv_check_asm_align_fill_0x90=no
        !          2623:   else
        !          2624:     gmp_cv_check_asm_align_fill_0x90=yes
        !          2625:   fi
        !          2626: else
        !          2627:   echo "Non-zero exit code" 1>&5
        !          2628:   echo "$gmp_tmp_val" 1>&5
        !          2629:   gmp_cv_check_asm_align_fill_0x90=no
        !          2630: fi
        !          2631: rm -f conftest*
        !          2632:
        !          2633: fi
        !          2634: echo "$ECHO_T""$gmp_cv_check_asm_align_fill_0x90" 1>&6
        !          2635:
        !          2636: echo "define(<ALIGN_FILL_0x90>,<$gmp_cv_check_asm_align_fill_0x90>)" >> $gmp_tmpconfigm4
        !          2637:
        !          2638:     # the CPUs below wanting to know about mmx
        !          2639:     case ${target} in
        !          2640:       pentiummmx-*-* | pentium[23]-*-* | k6*-*-* | athlon-*-*)
        !          2641:
        !          2642: echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6
        !          2643: echo "configure:2644: checking if the assembler knows about MMX instructions" 1>&5
        !          2644: if test "${gmp_cv_check_asm_mmx+set}" = set; then
        !          2645:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2646: else
        !          2647:   cat > conftest.s <<EOF
        !          2648:        $gmp_cv_check_asm_text
        !          2649:        por     %mm0, %mm0
        !          2650: EOF
        !          2651: ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
        !          2652: if { (eval echo configure:2653: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
        !          2653:   gmp_cv_check_asm_mmx=yes
        !          2654: else
        !          2655:   gmp_cv_check_asm_mmx=no
        !          2656: fi
        !          2657: rm -f conftest*
        !          2658:
        !          2659: fi
        !          2660: echo "$ECHO_T""$gmp_cv_check_asm_mmx" 1>&6
        !          2661: if test "$gmp_cv_check_asm_mmx" = "yes"; then
        !          2662:   tmp_mmx=yes
        !          2663: else
        !          2664:   echo "configure: warning: +----------------------------------------------------------" 1>&2
        !          2665:   echo "configure: warning: | WARNING WARNING WARNING" 1>&2
        !          2666:   echo "configure: warning: | Target CPU has MMX code, but it can't be assembled by" 1>&2
        !          2667:   echo "configure: warning: |     $CCAS $CFLAGS" 1>&2
        !          2668:   echo "configure: warning: | Non-MMX replacements will be used." 1>&2
        !          2669:   echo "configure: warning: | This will be an inferior build." 1>&2
        !          2670:   echo "configure: warning: +----------------------------------------------------------" 1>&2
        !          2671:   tmp_mmx=no
        !          2672: fi
        !          2673:
        !          2674:         ;;
        !          2675:     esac
        !          2676:
        !          2677:     # default for anything not otherwise mentioned
        !          2678:     path="x86"
        !          2679:
        !          2680:     case ${target} in
        !          2681:       i[34]86*-*-*)
        !          2682:         path="x86"
        !          2683:         ;;
        !          2684:       k5*-*-*)
        !          2685:         # don't know what best suits k5
        !          2686:         path="x86"
        !          2687:         ;;
        !          2688:       i586*-*-* | pentium-*-*)
        !          2689:        path="x86/pentium x86"
        !          2690:         ;;
        !          2691:       pentiummmx-*-*)
        !          2692:        path="x86/pentium x86"
        !          2693:        if test "$tmp_mmx" = yes; then
        !          2694:           path="x86/pentium/mmx $path"
        !          2695:         fi
        !          2696:         ;;
        !          2697:       i686*-*-* | pentiumpro-*-*)
        !          2698:        path="x86/p6 x86"
        !          2699:         ;;
        !          2700:       pentium2-*-*)
        !          2701:        path="x86/p6 x86"
        !          2702:        # The pentium/mmx lshift and rshift are good on p6 and can be used
        !          2703:         # until there's something specific for p6.
        !          2704:        if test "$tmp_mmx" = yes; then
        !          2705:           path="x86/p6/mmx x86/pentium/mmx $path"
        !          2706:         fi
        !          2707:         ;;
        !          2708:       pentium3-*-*)
        !          2709:        path="x86/p6 x86"
        !          2710:        # The pentium/mmx lshift and rshift are good on p6 and can be used
        !          2711:         # until there's something specific for p6.
        !          2712:        if test "$tmp_mmx" = yes; then
        !          2713:           path="x86/p6/p3mmx x86/p6/mmx x86/pentium/mmx $path"
        !          2714:         fi
        !          2715:         ;;
        !          2716:       k6[23]*-*-*)
        !          2717:        path="x86/k6 x86"
        !          2718:        if test "$tmp_mmx" = yes; then
        !          2719:           path="x86/k6/k62mmx x86/k6/mmx $path"
        !          2720:         fi
        !          2721:         ;;
        !          2722:       k6*-*-*)
        !          2723:        path="x86/k6 x86"
        !          2724:        if test "$tmp_mmx" = yes; then
        !          2725:           path="x86/k6/mmx $path"
        !          2726:         fi
        !          2727:         ;;
        !          2728:       athlon-*-*)
        !          2729:        path="x86/k7 x86"
        !          2730:        if test "$tmp_mmx" = yes; then
        !          2731:           path="x86/k7/mmx $path"
        !          2732:         fi
        !          2733:         ;;
        !          2734:     esac
        !          2735:     ;;
        !          2736:
        !          2737:   i960*-*-*) path="i960";;
        !          2738:
        !          2739:   ia64*-*-*) path="ia64";;
        !          2740:
        !          2741: # Motorola 68k configurations.  Let m68k mean 68020-68040.
        !          2742:   m680[234]0*-*-* | m68k*-*-* | \
        !          2743:   m68*-next-nextstep*)         # Nexts are at least '020
        !          2744:     path="m68k/mc68020 m68k"
        !          2745:     family=m68k
        !          2746:     ;;
        !          2747:   m68000*-*-*)
        !          2748:     path="m68k"
        !          2749:     family=m68k
        !          2750:     ;;
        !          2751:
        !          2752:   m88k*-*-* | m88k*-*-*) path="m88k";;
        !          2753:   m88110*-*-*) path="m88k/mc88110 m88k";;
        !          2754:   ns32k*-*-*) path="ns32k";;
        !          2755:
        !          2756:   pyramid-*-*) path="pyr";;
        !          2757:
        !          2758:   ppc601-*-*) path="power powerpc32";;
        !          2759:   powerpc64*-*-*) path="powerpc64";;
        !          2760:   powerpc*-*-*) path="powerpc32";;
        !          2761:   rs6000-*-* | power-*-* | power2-*-*)
        !          2762:     path="power"
        !          2763:     extra_functions="udiv_w_sdiv"
        !          2764:     ;;
        !          2765:
        !          2766:   sh-*-*) path="sh";;
        !          2767:   sh2-*-*) path="sh/sh2 sh";;
        !          2768:
        !          2769:   mips[34]*-*-*) path="mips3";;
        !          2770:   mips*-*-irix6*) path="mips3";;
        !          2771:   mips*-*-*) path="mips2";;
        !          2772:
        !          2773:   vax*-*-*) path="vax"; extra_functions="udiv_w_sdiv";;
        !          2774:
        !          2775:   z8000x*-*-*) path="z8000x"; extra_functions="udiv_w_sdiv";;
        !          2776:   z8000*-*-*) path="z8000"; extra_functions="udiv_w_sdiv";;
        !          2777:
        !          2778:   clipper*-*-*) path="clipper";;
        !          2779: esac
        !          2780:
        !          2781: if test -n "$CALLING_CONVENTIONS_OBJS"; then
        !          2782:   cat >>confdefs.h <<\EOF
        !          2783: #define HAVE_CALLING_CONVENTIONS 1
        !          2784: EOF
        !          2785:
        !          2786: fi
        !          2787:
        !          2788: case ${target} in
        !          2789:   i[5-8]86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-*)
        !          2790:     # rdtsc is in pentium and up, not in i386 and i486
        !          2791:     SPEED_CYCLECOUNTER_OBJS=pentium.lo
        !          2792:     ;;
        !          2793:   alpha*-*-*)
        !          2794:     SPEED_CYCLECOUNTER_OBJS=alpha.lo
        !          2795:     ;;
        !          2796:   sparcv9*-*-* | ultrasparc*-*-* | sparc64*-*-*)
        !          2797:     SPEED_CYCLECOUNTER_OBJS=sparcv9.lo
        !          2798:     ;;
        !          2799:   hppa2*-*-*)
        !          2800:     SPEED_CYCLECOUNTER_OBJS=hppa2.lo
        !          2801:     ;;
        !          2802:   hppa*-*-*)
        !          2803:     SPEED_CYCLECOUNTER_OBJS=hppa.lo
        !          2804:     ;;
        !          2805: esac
        !          2806:
        !          2807: if test -n "$SPEED_CYCLECOUNTER_OBJS"
        !          2808: then
        !          2809:   cat >>confdefs.h <<\EOF
        !          2810: #define HAVE_SPEED_CYCLECOUNTER 1
        !          2811: EOF
        !          2812:
        !          2813: fi
        !          2814:
        !          2815: echo $ECHO_N "checking for Cygwin environment... $ECHO_C" 1>&6
        !          2816: echo "configure:2817: checking for Cygwin environment" 1>&5
        !          2817: if test "${ac_cv_cygwin+set}" = set; then
        !          2818:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2819: else
        !          2820:   cat >conftest.$ac_ext <<EOF
        !          2821: #line 2822 "configure"
        !          2822: #include "confdefs.h"
        !          2823:
        !          2824: int
        !          2825: main ()
        !          2826: {
        !          2827: #ifndef __CYGWIN__
        !          2828: # define __CYGWIN__ __CYGWIN32__
        !          2829: #endif
        !          2830: return __CYGWIN__;
        !          2831:   ;
        !          2832:   return 0;
        !          2833: }
        !          2834: EOF
        !          2835: if { (eval echo configure:2836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          2836:   rm -rf conftest*
        !          2837:   ac_cv_cygwin=yes
        !          2838: else
        !          2839:   echo "configure: failed program was:" >&5
        !          2840:   cat conftest.$ac_ext >&5
        !          2841:   rm -rf conftest*
        !          2842:   ac_cv_cygwin=no
        !          2843: fi
        !          2844: rm -f conftest*
        !          2845: fi
        !          2846: echo "$ECHO_T""$ac_cv_cygwin" 1>&6
        !          2847: CYGWIN=
        !          2848: test "$ac_cv_cygwin" = yes && CYGWIN=yes
        !          2849: echo $ECHO_N "checking for mingw32 environment... $ECHO_C" 1>&6
        !          2850: echo "configure:2851: checking for mingw32 environment" 1>&5
        !          2851: if test "${ac_cv_mingw32+set}" = set; then
        !          2852:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2853: else
        !          2854:   cat >conftest.$ac_ext <<EOF
        !          2855: #line 2856 "configure"
        !          2856: #include "confdefs.h"
        !          2857:
        !          2858: int
        !          2859: main ()
        !          2860: {
        !          2861: return __MINGW32__;
        !          2862:   ;
        !          2863:   return 0;
        !          2864: }
        !          2865: EOF
        !          2866: if { (eval echo configure:2867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          2867:   rm -rf conftest*
        !          2868:   ac_cv_mingw32=yes
        !          2869: else
        !          2870:   echo "configure: failed program was:" >&5
        !          2871:   cat conftest.$ac_ext >&5
        !          2872:   rm -rf conftest*
        !          2873:   ac_cv_mingw32=no
        !          2874: fi
        !          2875: rm -f conftest*
        !          2876: fi
        !          2877: echo "$ECHO_T""$ac_cv_mingw32" 1>&6
        !          2878: MINGW32=
        !          2879: test "$ac_cv_mingw32" = yes && MINGW32=yes
        !          2880: echo $ECHO_N "checking for EMX OS/2 environment... $ECHO_C" 1>&6
        !          2881: echo "configure:2882: checking for EMX OS/2 environment" 1>&5
        !          2882: if test "${ac_cv_emxos2+set}" = set; then
        !          2883:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2884: else
        !          2885:   cat >conftest.$ac_ext <<EOF
        !          2886: #line 2887 "configure"
        !          2887: #include "confdefs.h"
        !          2888:
        !          2889: int
        !          2890: main ()
        !          2891: {
        !          2892: return __EMX__;
        !          2893:   ;
        !          2894:   return 0;
        !          2895: }
        !          2896: EOF
        !          2897: if { (eval echo configure:2898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          2898:   rm -rf conftest*
        !          2899:   ac_cv_emxos2=yes
        !          2900: else
        !          2901:   echo "configure: failed program was:" >&5
        !          2902:   cat conftest.$ac_ext >&5
        !          2903:   rm -rf conftest*
        !          2904:   ac_cv_emxos2=no
        !          2905: fi
        !          2906: rm -f conftest*
        !          2907: fi
        !          2908: echo "$ECHO_T""$ac_cv_emxos2" 1>&6
        !          2909: EMXOS2=
        !          2910: test "$ac_cv_emxos2" = yes && EMXOS2=yes
        !          2911:
        !          2912: echo $ECHO_N "checking for executable suffix... $ECHO_C" 1>&6
        !          2913: echo "configure:2914: checking for executable suffix" 1>&5
        !          2914: if test "${ac_cv_exeext+set}" = set; then
        !          2915:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2916: else
        !          2917:   if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then
        !          2918:   ac_cv_exeext=.exe
        !          2919: else
        !          2920:   rm -f conftest*
        !          2921:   echo 'int main () { return 0; }' >conftest.$ac_ext
        !          2922:   ac_cv_exeext=
        !          2923:   if { (eval echo configure:2924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
        !          2924:     for ac_file in conftest.*; do
        !          2925:       case $ac_file in
        !          2926:       *.c | *.C | *.o | *.obj | *.xcoff) ;;
        !          2927:       *) ac_cv_exeext=`echo $ac_file | sed -e s/conftest//` ;;
        !          2928:       esac
        !          2929:     done
        !          2930:   else
        !          2931:     { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
        !          2932:   fi
        !          2933:   rm -f conftest*
        !          2934:   test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
        !          2935: fi
        !          2936: fi
        !          2937:
        !          2938: EXEEXT=""
        !          2939: test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
        !          2940: echo "$ECHO_T""${ac_cv_exeext}" 1>&6
        !          2941: ac_exeext=$EXEEXT
        !          2942:
        !          2943: echo $ECHO_N "checking for object suffix... $ECHO_C" 1>&6
        !          2944: echo "configure:2945: checking for object suffix" 1>&5
        !          2945: if test "${ac_cv_objext+set}" = set; then
        !          2946:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          2947: else
        !          2948:   rm -f conftest*
        !          2949: echo 'int i = 1;' >conftest.$ac_ext
        !          2950: if { (eval echo configure:2951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          2951:   for ac_file in conftest.*; do
        !          2952:     case $ac_file in
        !          2953:     *.c) ;;
        !          2954:     *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
        !          2955:     esac
        !          2956:   done
        !          2957: else
        !          2958:   { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
        !          2959: fi
        !          2960: rm -f conftest*
        !          2961: fi
        !          2962:
        !          2963: echo "$ECHO_T""$ac_cv_objext" 1>&6
        !          2964: OBJEXT=$ac_cv_objext
        !          2965: ac_objext=$ac_cv_objext
        !          2966:
        !          2967: case "$target" in
        !          2968:   *-*-aix4.[3-9]*) enable_shared=no ;;
        !          2969: esac
        !          2970: # Check whether --enable-shared or --disable-shared was given.
        !          2971: if test "${enable_shared+set}" = set; then
        !          2972:   enableval="$enable_shared"
        !          2973:   p=${PACKAGE-default}
        !          2974: case "$enableval" in
        !          2975: yes) enable_shared=yes ;;
        !          2976: no) enable_shared=no ;;
        !          2977: *)
        !          2978:   enable_shared=no
        !          2979:   # Look at the argument we got.  We use all the common list separators.
        !          2980:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
        !          2981:   for pkg in $enableval; do
        !          2982:     if test "X$pkg" = "X$p"; then
        !          2983:       enable_shared=yes
        !          2984:     fi
        !          2985:   done
        !          2986:   IFS="$ac_save_ifs"
        !          2987:   ;;
        !          2988: esac
        !          2989: else
        !          2990:   enable_shared=yes
        !          2991: fi
        !          2992: # Check whether --enable-static or --disable-static was given.
        !          2993: if test "${enable_static+set}" = set; then
        !          2994:   enableval="$enable_static"
        !          2995:   p=${PACKAGE-default}
        !          2996: case "$enableval" in
        !          2997: yes) enable_static=yes ;;
        !          2998: no) enable_static=no ;;
        !          2999: *)
        !          3000:   enable_static=no
        !          3001:   # Look at the argument we got.  We use all the common list separators.
        !          3002:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
        !          3003:   for pkg in $enableval; do
        !          3004:     if test "X$pkg" = "X$p"; then
        !          3005:       enable_static=yes
        !          3006:     fi
        !          3007:   done
        !          3008:   IFS="$ac_save_ifs"
        !          3009:   ;;
        !          3010: esac
        !          3011: else
        !          3012:   enable_static=yes
        !          3013: fi
        !          3014: # Check whether --enable-fast-install or --disable-fast-install was given.
        !          3015: if test "${enable_fast_install+set}" = set; then
        !          3016:   enableval="$enable_fast_install"
        !          3017:   p=${PACKAGE-default}
        !          3018: case "$enableval" in
        !          3019: yes) enable_fast_install=yes ;;
        !          3020: no) enable_fast_install=no ;;
        !          3021: *)
        !          3022:   enable_fast_install=no
        !          3023:   # Look at the argument we got.  We use all the common list separators.
        !          3024:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
        !          3025:   for pkg in $enableval; do
        !          3026:     if test "X$pkg" = "X$p"; then
        !          3027:       enable_fast_install=yes
        !          3028:     fi
        !          3029:   done
        !          3030:   IFS="$ac_save_ifs"
        !          3031:   ;;
        !          3032: esac
        !          3033: else
        !          3034:   enable_fast_install=yes
        !          3035: fi
        !          3036:
        !          3037: echo $ECHO_N "checking build system type... $ECHO_C" 1>&6
        !          3038: echo "configure:3039: checking build system type" 1>&5
        !          3039: if test "x$ac_cv_build" = "x" || (test "x$build" != "xNONE" && test "x$build" != "x$ac_cv_build_alias"); then
        !          3040:
        !          3041:   # Make sure we can run config.sub.
        !          3042:   if $ac_config_sub sun4 >/dev/null 2>&1; then :; else
        !          3043:     { echo "configure: error: cannot run $ac_config_sub" 1>&2; exit 1; }
        !          3044:   fi
        !          3045:
        !          3046:   ac_cv_build_alias=$build
        !          3047:   case "$ac_cv_build_alias" in
        !          3048:   NONE)
        !          3049:     case $nonopt in
        !          3050:     NONE)
        !          3051:       ac_cv_build_alias=$host_alias ;;
        !          3052:     *) ac_cv_build_alias=$nonopt ;;
        !          3053:     esac ;;
        !          3054:   esac
        !          3055:
        !          3056:   ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || exit 1
        !          3057:   ac_cv_build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
        !          3058:   ac_cv_build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
        !          3059:   ac_cv_build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
        !          3060: else
        !          3061:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          3062: fi
        !          3063:
        !          3064: echo "$ECHO_T""$ac_cv_build" 1>&6
        !          3065:
        !          3066: build=$ac_cv_build
        !          3067: build_alias=$ac_cv_build_alias
        !          3068: build_cpu=$ac_cv_build_cpu
        !          3069: build_vendor=$ac_cv_build_vendor
        !          3070: build_os=$ac_cv_build_os
        !          3071:
        !          3072: # Check whether --with-gnu-ld or --without-gnu-ld was given.
        !          3073: if test "${with_gnu_ld+set}" = set; then
        !          3074:   withval="$with_gnu_ld"
        !          3075:   test "$withval" = no || with_gnu_ld=yes
        !          3076: else
        !          3077:   with_gnu_ld=no
        !          3078: fi
        !          3079:
        !          3080: ac_prog=ld
        !          3081: if test "$ac_cv_prog_gcc" = yes; then
        !          3082:   # Check if gcc -print-prog-name=ld gives a path.
        !          3083:   echo $ECHO_N "checking for ld used by GCC... $ECHO_C" 1>&6
        !          3084: echo "configure:3085: checking for ld used by GCC" 1>&5
        !          3085:   case $lt_target in
        !          3086:   *-*-mingw*)
        !          3087:     # gcc leaves a trailing carriage return which upsets mingw
        !          3088:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
        !          3089:   *)
        !          3090:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
        !          3091:   esac
        !          3092:   case "$ac_prog" in
        !          3093:     # Accept absolute paths.
        !          3094:     [\\/]* | [A-Za-z]:[\\/]*)
        !          3095:       re_direlt='/[^/][^/]*/\.\./'
        !          3096:       # Canonicalize the path of ld
        !          3097:       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
        !          3098:       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
        !          3099:        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
        !          3100:       done
        !          3101:       test -z "$LD" && LD="$ac_prog"
        !          3102:       ;;
        !          3103:   "")
        !          3104:     # If it fails, then pretend we aren't using GCC.
        !          3105:     ac_prog=ld
        !          3106:     ;;
        !          3107:   *)
        !          3108:     # If it is relative, then search for the first ld in PATH.
        !          3109:     with_gnu_ld=unknown
        !          3110:     ;;
        !          3111:   esac
        !          3112: elif test "$with_gnu_ld" = yes; then
        !          3113:   echo $ECHO_N "checking for GNU ld... $ECHO_C" 1>&6
        !          3114: echo "configure:3115: checking for GNU ld" 1>&5
        !          3115: else
        !          3116:   echo $ECHO_N "checking for non-GNU ld... $ECHO_C" 1>&6
        !          3117: echo "configure:3118: checking for non-GNU ld" 1>&5
        !          3118: fi
        !          3119: if test "${ac_cv_path_LD+set}" = set; then
        !          3120:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          3121: else
        !          3122:   if test -z "$LD"; then
        !          3123:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
        !          3124:   for ac_dir in $PATH; do
        !          3125:     test -z "$ac_dir" && ac_dir=.
        !          3126:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
        !          3127:       ac_cv_path_LD="$ac_dir/$ac_prog"
        !          3128:       # Check to see if the program is GNU ld.  I'd rather use --version,
        !          3129:       # but apparently some GNU ld's only accept -v.
        !          3130:       # Break only if it was the GNU/non-GNU ld that we prefer.
        !          3131:       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
        !          3132:        test "$with_gnu_ld" != no && break
        !          3133:       else
        !          3134:        test "$with_gnu_ld" != yes && break
        !          3135:       fi
        !          3136:     fi
        !          3137:   done
        !          3138:   IFS="$ac_save_ifs"
        !          3139: else
        !          3140:   ac_cv_path_LD="$LD" # Let the user override the test with a path.
        !          3141: fi
        !          3142: fi
        !          3143:
        !          3144: LD="$ac_cv_path_LD"
        !          3145: if test -n "$LD"; then
        !          3146:   echo "$ECHO_T""$LD" 1>&6
        !          3147: else
        !          3148:   echo "$ECHO_T""no" 1>&6
        !          3149: fi
        !          3150: test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
        !          3151: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" 1>&6
        !          3152: echo "configure:3153: checking if the linker ($LD) is GNU ld" 1>&5
        !          3153: if test "${ac_cv_prog_gnu_ld+set}" = set; then
        !          3154:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          3155: else
        !          3156:   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
        !          3157: if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
        !          3158:   ac_cv_prog_gnu_ld=yes
        !          3159: else
        !          3160:   ac_cv_prog_gnu_ld=no
        !          3161: fi
        !          3162: fi
        !          3163: echo "$ECHO_T""$ac_cv_prog_gnu_ld" 1>&6
        !          3164: with_gnu_ld=$ac_cv_prog_gnu_ld
        !          3165:
        !          3166: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" 1>&6
        !          3167: echo "configure:3168: checking for $LD option to reload object files" 1>&5
        !          3168: if test "${lt_cv_ld_reload_flag+set}" = set; then
        !          3169:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          3170: else
        !          3171:   lt_cv_ld_reload_flag='-r'
        !          3172: fi
        !          3173: echo "$ECHO_T""$lt_cv_ld_reload_flag" 1>&6
        !          3174: reload_flag=$lt_cv_ld_reload_flag
        !          3175: test -n "$reload_flag" && reload_flag=" $reload_flag"
        !          3176:
        !          3177: echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" 1>&6
        !          3178: echo "configure:3179: checking how to recognise dependant libraries" 1>&5
        !          3179: if test "${lt_cv_deplibs_check_method+set}" = set; then
        !          3180:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          3181: else
        !          3182:   lt_cv_file_magic_cmd='${MAGIC}'
        !          3183: lt_cv_file_magic_test_file=
        !          3184: lt_cv_deplibs_check_method='unknown'
        !          3185: # Need to set the preceding variable on all platforms that support
        !          3186: # interlibrary dependencies.
        !          3187: # 'none' -- dependencies not supported.
        !          3188: # `unknown' -- same as none, but documents that we really don't know.
        !          3189: # 'pass_all' -- all dependencies passed with no checks.
        !          3190: # 'test_compile' -- check by making test program.
        !          3191: # 'file_magic [regex]' -- check by looking for files in library path
        !          3192: # which responds to the $file_magic_cmd with a given egrep regex.
        !          3193: # If you have `file' or equivalent on your system and you're not sure
        !          3194: # whether `pass_all' will *always* work, you probably want this one.
        !          3195:
        !          3196: case "$host_os" in
        !          3197: aix4* | beos*)
        !          3198:   lt_cv_deplibs_check_method=pass_all
        !          3199:   ;;
        !          3200:
        !          3201: bsdi4*)
        !          3202:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
        !          3203:     lt_cv_file_magic_test_file=/shlib/libc.so
        !          3204:   ;;
        !          3205:
        !          3206: cygwin* | mingw*)
        !          3207:   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
        !          3208:   lt_cv_file_magic_cmd='${OBJDUMP} -f'
        !          3209:   ;;
        !          3210:
        !          3211: freebsd*)
        !          3212:   case "$version_type" in
        !          3213:   freebsd-elf*)
        !          3214:     lt_cv_deplibs_check_method=pass_all
        !          3215:     ;;
        !          3216:   esac
        !          3217:   ;;
        !          3218:
        !          3219: gnu*)
        !          3220:   lt_cv_deplibs_check_method=pass_all
        !          3221:   ;;
        !          3222:
        !          3223: irix5* | irix6*)
        !          3224:   case "$host_os" in
        !          3225:   irix5*)
        !          3226:     # this will be overridden with pass_all, but let us keep it just in case
        !          3227:     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
        !          3228:     ;;
        !          3229:   *)
        !          3230:     case "$LD" in
        !          3231:     *-32|*"-32 ") libmagic=32-bit;;
        !          3232:     *-n32|*"-n32 ") libmagic=N32;;
        !          3233:     *-64|*"-64 ") libmagic=64-bit;;
        !          3234:     *) libmagic=never-match;;
        !          3235:     esac
        !          3236:     # this will be overridden with pass_all, but let us keep it just in case
        !          3237:         lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
        !          3238:         ;;
        !          3239:   esac
        !          3240:   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
        !          3241:   lt_cv_deplibs_check_method=pass_all
        !          3242:   ;;
        !          3243:
        !          3244: # This must be Linux ELF.
        !          3245: linux-gnu*)
        !          3246:   case "$host_cpu" in
        !          3247:   alpha* | i*86 | powerpc* | sparc* )
        !          3248:     lt_cv_deplibs_check_method=pass_all ;;
        !          3249:   *)
        !          3250:     # glibc up to 2.1.1 does not perform some relocations on ARM
        !          3251:         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
        !          3252:       esac
        !          3253:   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
        !          3254:   ;;
        !          3255:
        !          3256: osf3* | osf4* | osf5*)
        !          3257:   # this will be overridden with pass_all, but let us keep it just in case
        !          3258:   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
        !          3259:   lt_cv_file_magic_test_file=/shlib/libc.so
        !          3260:   lt_cv_deplibs_check_method=pass_all
        !          3261:   ;;
        !          3262:
        !          3263: sco3.2v5*)
        !          3264:   lt_cv_deplibs_check_method=pass_all
        !          3265:   ;;
        !          3266:
        !          3267: solaris*)
        !          3268:   lt_cv_deplibs_check_method=pass_all
        !          3269:   lt_cv_file_magic_test_file=/lib/libc.so
        !          3270:   ;;
        !          3271:
        !          3272: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
        !          3273:   case "$host_vendor" in
        !          3274:   ncr)
        !          3275:     lt_cv_deplibs_check_method=pass_all
        !          3276:     ;;
        !          3277:   motorola)
        !          3278:         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
        !          3279:         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
        !          3280:     ;;
        !          3281:   esac
        !          3282:   ;;
        !          3283: esac
        !          3284:
        !          3285: fi
        !          3286: echo "$ECHO_T""$lt_cv_deplibs_check_method" 1>&6
        !          3287: file_magic_cmd=$lt_cv_file_magic_cmd
        !          3288: deplibs_check_method=$lt_cv_deplibs_check_method
        !          3289:
        !          3290: if test $host != $build; then
        !          3291:   ac_tool_prefix=${host_alias}-
        !          3292: else
        !          3293:   ac_tool_prefix=
        !          3294: fi
        !          3295:
        !          3296: # Only perform the check for file, if the check method requires it
        !          3297: case "$deplibs_check_method" in
        !          3298: file_magic*)
        !          3299:   if test "$file_magic_cmd" = '${MAGIC}'; then
        !          3300:
        !          3301: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" 1>&6
        !          3302: echo "configure:3303: checking for ${ac_tool_prefix}file" 1>&5
        !          3303: if test "${lt_cv_path_MAGIC+set}" = set; then
        !          3304:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          3305: else
        !          3306:   case "$MAGIC" in
        !          3307:   /*)
        !          3308:   lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
        !          3309:   ;;
        !          3310:   ?:/*)
        !          3311:   ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
        !          3312:   ;;
        !          3313:   *)
        !          3314:   ac_save_MAGIC="$MAGIC"
        !          3315:   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
        !          3316:   ac_dummy="/usr/bin:$PATH"
        !          3317:   for ac_dir in $ac_dummy; do
        !          3318:     test -z "$ac_dir" && ac_dir=.
        !          3319:     if test -f $ac_dir/${ac_tool_prefix}file; then
        !          3320:       lt_cv_path_MAGIC="$ac_dir/${ac_tool_prefix}file"
        !          3321:       if test -n "$file_magic_test_file"; then
        !          3322:        case "$deplibs_check_method" in
        !          3323:        "file_magic "*)
        !          3324:          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
        !          3325:          MAGIC="$lt_cv_path_MAGIC"
        !          3326:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
        !          3327:            egrep "$file_magic_regex" > /dev/null; then
        !          3328:            :
        !          3329:          else
        !          3330:            cat <<EOF 1>&2
        !          3331:
        !          3332: *** Warning: the command libtool uses to detect shared libraries,
        !          3333: *** $file_magic_cmd, produces output that libtool cannot recognize.
        !          3334: *** The result is that libtool may fail to recognize shared libraries
        !          3335: *** as such.  This will affect the creation of libtool libraries that
        !          3336: *** depend on shared libraries, but programs linked with such libtool
        !          3337: *** libraries will work regardless of this problem.  Nevertheless, you
        !          3338: *** may want to report the problem to your system manager and/or to
        !          3339: *** bug-libtool@gnu.org
        !          3340:
        !          3341: EOF
        !          3342:          fi ;;
        !          3343:        esac
        !          3344:       fi
        !          3345:       break
        !          3346:     fi
        !          3347:   done
        !          3348:   IFS="$ac_save_ifs"
        !          3349:   MAGIC="$ac_save_MAGIC"
        !          3350:   ;;
        !          3351: esac
        !          3352: fi
        !          3353:
        !          3354: MAGIC="$lt_cv_path_MAGIC"
        !          3355: if test -n "$MAGIC"; then
        !          3356:   echo "$ECHO_T""$MAGIC" 1>&6
        !          3357: else
        !          3358:   echo "$ECHO_T""no" 1>&6
        !          3359: fi
        !          3360:
        !          3361: if test -z "$lt_cv_path_MAGIC"; then
        !          3362:   if test -n "$ac_tool_prefix"; then
        !          3363:     echo $ECHO_N "checking for file... $ECHO_C" 1>&6
        !          3364: echo "configure:3365: checking for file" 1>&5
        !          3365: if test "${lt_cv_path_MAGIC+set}" = set; then
        !          3366:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          3367: else
        !          3368:   case "$MAGIC" in
        !          3369:   /*)
        !          3370:   lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
        !          3371:   ;;
        !          3372:   ?:/*)
        !          3373:   ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.
        !          3374:   ;;
        !          3375:   *)
        !          3376:   ac_save_MAGIC="$MAGIC"
        !          3377:   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
        !          3378:   ac_dummy="/usr/bin:$PATH"
        !          3379:   for ac_dir in $ac_dummy; do
        !          3380:     test -z "$ac_dir" && ac_dir=.
        !          3381:     if test -f $ac_dir/file; then
        !          3382:       lt_cv_path_MAGIC="$ac_dir/file"
        !          3383:       if test -n "$file_magic_test_file"; then
        !          3384:        case "$deplibs_check_method" in
        !          3385:        "file_magic "*)
        !          3386:          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
        !          3387:          MAGIC="$lt_cv_path_MAGIC"
        !          3388:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
        !          3389:            egrep "$file_magic_regex" > /dev/null; then
        !          3390:            :
        !          3391:          else
        !          3392:            cat <<EOF 1>&2
        !          3393:
        !          3394: *** Warning: the command libtool uses to detect shared libraries,
        !          3395: *** $file_magic_cmd, produces output that libtool cannot recognize.
        !          3396: *** The result is that libtool may fail to recognize shared libraries
        !          3397: *** as such.  This will affect the creation of libtool libraries that
        !          3398: *** depend on shared libraries, but programs linked with such libtool
        !          3399: *** libraries will work regardless of this problem.  Nevertheless, you
        !          3400: *** may want to report the problem to your system manager and/or to
        !          3401: *** bug-libtool@gnu.org
        !          3402:
        !          3403: EOF
        !          3404:          fi ;;
        !          3405:        esac
        !          3406:       fi
        !          3407:       break
        !          3408:     fi
        !          3409:   done
        !          3410:   IFS="$ac_save_ifs"
        !          3411:   MAGIC="$ac_save_MAGIC"
        !          3412:   ;;
        !          3413: esac
        !          3414: fi
        !          3415:
        !          3416: MAGIC="$lt_cv_path_MAGIC"
        !          3417: if test -n "$MAGIC"; then
        !          3418:   echo "$ECHO_T""$MAGIC" 1>&6
        !          3419: else
        !          3420:   echo "$ECHO_T""no" 1>&6
        !          3421: fi
        !          3422:
        !          3423:   else
        !          3424:     MAGIC=:
        !          3425:   fi
        !          3426: fi
        !          3427:
        !          3428:   fi
        !          3429:   ;;
        !          3430: esac
        !          3431:
        !          3432: case "$target" in
        !          3433: NONE) lt_target="$host" ;;
        !          3434: *) lt_target="$target" ;;
        !          3435: esac
        !          3436:
        !          3437: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
        !          3438: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
        !          3439: echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
        !          3440: echo "configure:3441: checking for $ac_word" 1>&5
        !          3441: if test "${ac_cv_prog_RANLIB+set}" = set; then
        !          3442:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          3443: else
        !          3444:   if test -n "$RANLIB"; then
        !          3445:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
        !          3446: else
        !          3447:   for ac_path in `IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !          3448: ac_dummy="$PATH"
        !          3449: for ac_dir in $ac_dummy; do
        !          3450:   test -z "$ac_dir" && ac_dir=.
        !          3451:   if test -f $ac_dir/$ac_word; then
        !          3452:     echo "$ac_dir/$ac_word"
        !          3453:   fi
        !          3454: done
        !          3455: IFS="$ac_save_ifs"
        !          3456: `; do
        !          3457:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
        !          3458:     break
        !          3459:   done
        !          3460: fi
        !          3461: fi
        !          3462: RANLIB="$ac_cv_prog_RANLIB"
        !          3463: if test -n "$RANLIB"; then
        !          3464:   echo "$ECHO_T""$RANLIB" 1>&6
        !          3465: else
        !          3466:   echo "$ECHO_T""no" 1>&6
        !          3467: fi
        !          3468:
        !          3469: if test -z "$ac_cv_prog_RANLIB"; then
        !          3470:   if test -n "$ac_tool_prefix"; then
        !          3471:     # Extract the first word of "ranlib", so it can be a program name with args.
        !          3472: set dummy ranlib; ac_word=$2
        !          3473: echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
        !          3474: echo "configure:3475: checking for $ac_word" 1>&5
        !          3475: if test "${ac_cv_prog_RANLIB+set}" = set; then
        !          3476:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          3477: else
        !          3478:   if test -n "$RANLIB"; then
        !          3479:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
        !          3480: else
        !          3481:   for ac_path in `IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !          3482: ac_dummy="$PATH"
        !          3483: for ac_dir in $ac_dummy; do
        !          3484:   test -z "$ac_dir" && ac_dir=.
        !          3485:   if test -f $ac_dir/$ac_word; then
        !          3486:     echo "$ac_dir/$ac_word"
        !          3487:   fi
        !          3488: done
        !          3489: IFS="$ac_save_ifs"
        !          3490: `; do
        !          3491:     ac_cv_prog_RANLIB="ranlib"
        !          3492:     break
        !          3493:   done
        !          3494:   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
        !          3495: fi
        !          3496: fi
        !          3497: RANLIB="$ac_cv_prog_RANLIB"
        !          3498: if test -n "$RANLIB"; then
        !          3499:   echo "$ECHO_T""$RANLIB" 1>&6
        !          3500: else
        !          3501:   echo "$ECHO_T""no" 1>&6
        !          3502: fi
        !          3503:
        !          3504:   else
        !          3505:     RANLIB=":"
        !          3506:   fi
        !          3507: fi
        !          3508:
        !          3509: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
        !          3510: set dummy ${ac_tool_prefix}strip; ac_word=$2
        !          3511: echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
        !          3512: echo "configure:3513: checking for $ac_word" 1>&5
        !          3513: if test "${ac_cv_prog_STRIP+set}" = set; then
        !          3514:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          3515: else
        !          3516:   if test -n "$STRIP"; then
        !          3517:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
        !          3518: else
        !          3519:   for ac_path in `IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !          3520: ac_dummy="$PATH"
        !          3521: for ac_dir in $ac_dummy; do
        !          3522:   test -z "$ac_dir" && ac_dir=.
        !          3523:   if test -f $ac_dir/$ac_word; then
        !          3524:     echo "$ac_dir/$ac_word"
        !          3525:   fi
        !          3526: done
        !          3527: IFS="$ac_save_ifs"
        !          3528: `; do
        !          3529:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
        !          3530:     break
        !          3531:   done
        !          3532: fi
        !          3533: fi
        !          3534: STRIP="$ac_cv_prog_STRIP"
        !          3535: if test -n "$STRIP"; then
        !          3536:   echo "$ECHO_T""$STRIP" 1>&6
        !          3537: else
        !          3538:   echo "$ECHO_T""no" 1>&6
        !          3539: fi
        !          3540:
        !          3541: if test -z "$ac_cv_prog_STRIP"; then
        !          3542:   if test -n "$ac_tool_prefix"; then
        !          3543:     # Extract the first word of "strip", so it can be a program name with args.
        !          3544: set dummy strip; ac_word=$2
        !          3545: echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
        !          3546: echo "configure:3547: checking for $ac_word" 1>&5
        !          3547: if test "${ac_cv_prog_STRIP+set}" = set; then
        !          3548:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          3549: else
        !          3550:   if test -n "$STRIP"; then
        !          3551:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
        !          3552: else
        !          3553:   for ac_path in `IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !          3554: ac_dummy="$PATH"
        !          3555: for ac_dir in $ac_dummy; do
        !          3556:   test -z "$ac_dir" && ac_dir=.
        !          3557:   if test -f $ac_dir/$ac_word; then
        !          3558:     echo "$ac_dir/$ac_word"
        !          3559:   fi
        !          3560: done
        !          3561: IFS="$ac_save_ifs"
        !          3562: `; do
        !          3563:     ac_cv_prog_STRIP="strip"
        !          3564:     break
        !          3565:   done
        !          3566:   test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
        !          3567: fi
        !          3568: fi
        !          3569: STRIP="$ac_cv_prog_STRIP"
        !          3570: if test -n "$STRIP"; then
        !          3571:   echo "$ECHO_T""$STRIP" 1>&6
        !          3572: else
        !          3573:   echo "$ECHO_T""no" 1>&6
        !          3574: fi
        !          3575:
        !          3576:   else
        !          3577:     STRIP=":"
        !          3578:   fi
        !          3579: fi
        !          3580:
        !          3581: # Check for any special flags to pass to ltconfig.
        !          3582: libtool_flags="--cache-file=$cache_file"
        !          3583: test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
        !          3584: test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
        !          3585: test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
        !          3586: test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
        !          3587: test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
        !          3588:
        !          3589: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
        !          3590: if test "${enable_libtool_lock+set}" = set; then
        !          3591:   enableval="$enable_libtool_lock"
        !          3592:
        !          3593: fi
        !          3594: test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
        !          3595: test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
        !          3596:
        !          3597: # Check whether --with-pic or --without-pic was given.
        !          3598: if test "${with_pic+set}" = set; then
        !          3599:   withval="$with_pic"
        !          3600:   pic_mode="$withval"
        !          3601: else
        !          3602:   pic_mode=default
        !          3603: fi
        !          3604: test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
        !          3605: test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
        !          3606:
        !          3607: # Some flags need to be propagated to the compiler or linker for good
        !          3608: # libtool support.
        !          3609: case "$lt_target" in
        !          3610: *-*-irix6*)
        !          3611:   # Find out which ABI we are using.
        !          3612:   echo '#line 3613 "configure"' > conftest.$ac_ext
        !          3613:   if { (eval echo configure:3614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          3614:     case "`/usr/bin/file conftest.o`" in
        !          3615:     *32-bit*)
        !          3616:       LD="${LD-ld} -32"
        !          3617:       ;;
        !          3618:     *N32*)
        !          3619:       LD="${LD-ld} -n32"
        !          3620:       ;;
        !          3621:     *64-bit*)
        !          3622:       LD="${LD-ld} -64"
        !          3623:       ;;
        !          3624:     esac
        !          3625:   fi
        !          3626:   rm -rf conftest*
        !          3627:   ;;
        !          3628:
        !          3629: *-*-sco3.2v5*)
        !          3630:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
        !          3631:   SAVE_CFLAGS="$CFLAGS"
        !          3632:   CFLAGS="$CFLAGS -belf"
        !          3633:   echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" 1>&6
        !          3634: echo "configure:3635: checking whether the C compiler needs -belf" 1>&5
        !          3635: if test "${lt_cv_cc_needs_belf+set}" = set; then
        !          3636:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          3637: else
        !          3638:
        !          3639:      ac_ext=c
        !          3640: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
        !          3641: ac_cpp='$CPP $CPPFLAGS'
        !          3642: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
        !          3643: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
        !          3644: cross_compiling=$ac_cv_prog_cc_cross
        !          3645:
        !          3646:      cat >conftest.$ac_ext <<EOF
        !          3647: #line 3648 "configure"
        !          3648: #include "confdefs.h"
        !          3649:
        !          3650: int
        !          3651: main()
        !          3652: {
        !          3653:
        !          3654:   ;
        !          3655:   return 0;
        !          3656: }
        !          3657: EOF
        !          3658: if { (eval echo configure:3659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          3659:   rm -rf conftest*
        !          3660:   lt_cv_cc_needs_belf=yes
        !          3661: else
        !          3662:   echo "configure: failed program was:" >&5
        !          3663:   cat conftest.$ac_ext >&5
        !          3664:   rm -rf conftest*
        !          3665:   lt_cv_cc_needs_belf=no
        !          3666: fi
        !          3667: rm -f conftest*
        !          3668:
        !          3669:      ac_ext=c
        !          3670: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
        !          3671: ac_cpp='$CPP $CPPFLAGS'
        !          3672: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
        !          3673: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
        !          3674: cross_compiling=$ac_cv_prog_cc_cross
        !          3675:
        !          3676: fi
        !          3677: echo "$ECHO_T""$lt_cv_cc_needs_belf" 1>&6
        !          3678:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
        !          3679:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
        !          3680:     CFLAGS="$SAVE_CFLAGS"
        !          3681:   fi
        !          3682:   ;;
        !          3683:
        !          3684: esac
        !          3685:
        !          3686: # Save cache, so that ltconfig can load it
        !          3687: cat >confcache <<\EOF
        !          3688: # This file is a shell script that caches the results of configure
        !          3689: # tests run on this system so they can be shared between configure
        !          3690: # scripts and configure runs.  It is not useful on other systems.
        !          3691: # If it contains results you don't want to keep, you may remove or edit it.
        !          3692: #
        !          3693: # By default, configure uses ./config.cache as the cache file,
        !          3694: # creating it if it does not exist already.  You can give configure
        !          3695: # the --cache-file=FILE option to use a different cache file; that is
        !          3696: # what configure does when it calls configure scripts in
        !          3697: # subdirectories, so they share the cache.
        !          3698: # Giving --cache-file=/dev/null disables caching, for debugging configure.
        !          3699: # config.status only pays attention to the cache file if you give it the
        !          3700: # --recheck option to rerun configure.
        !          3701: #
        !          3702: EOF
        !          3703: # The following way of writing the cache mishandles newlines in values,
        !          3704: # but we know of no workaround that is simple, portable, and efficient.
        !          3705: # So, don't put newlines in cache variables' values.
        !          3706: # Ultrix sh set writes to stderr and can't be redirected directly,
        !          3707: # and sets the high bit in the cache file unless we assign to the vars.
        !          3708: (set) 2>&1 |
        !          3709:   case `(ac_space=' '; set | grep ac_space) 2>&1` in
        !          3710:   *ac_space=\ *)
        !          3711:     # `set' does not quote correctly, so add quotes (double-quote substitution
        !          3712:     # turns \\\\ into \\, and sed turns \\ into \).
        !          3713:     sed -n \
        !          3714:       -e "s/'/'\\\\''/g" \
        !          3715:       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
        !          3716:     ;;
        !          3717:   *)
        !          3718:     # `set' quotes correctly as required by POSIX, so do not add quotes.
        !          3719:     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
        !          3720:     ;;
        !          3721:   esac >>confcache
        !          3722: if cmp -s $cache_file confcache; then :; else
        !          3723:   if test -w $cache_file; then
        !          3724:     echo "updating cache $cache_file"
        !          3725:     cat confcache >$cache_file
        !          3726:   else
        !          3727:     echo "not updating unwritable cache $cache_file"
        !          3728:   fi
        !          3729: fi
        !          3730: rm -f confcache
        !          3731:
        !          3732: # Actually configure libtool.  ac_aux_dir is where install-sh is found.
        !          3733: AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
        !          3734: MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
        !          3735: LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
        !          3736: AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
        !          3737: objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
        !          3738: deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
        !          3739: ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
        !          3740: $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $lt_target \
        !          3741: || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
        !          3742:
        !          3743: # Reload cache, that may have been modified by ltconfig
        !          3744: if test -r "$cache_file"; then
        !          3745:   echo "loading cache $cache_file"
        !          3746:       test -f "$cache_file" && . $cache_file
        !          3747: else
        !          3748:   echo "creating cache $cache_file"
        !          3749:   >$cache_file
        !          3750: fi
        !          3751:
        !          3752: # This can be used to rebuild libtool when needed
        !          3753: LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
        !          3754:
        !          3755: # Always use our own libtool.
        !          3756: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
        !          3757:
        !          3758: # Redirect the config.log output again, so that the ltconfig log is not
        !          3759: # clobbered by the next message.
        !          3760: exec 5>>./config.log
        !          3761:
        !          3762: echo $ECHO_N "checking whether optarg is declared... $ECHO_C" 1>&6
        !          3763: echo "configure:3764: checking whether optarg is declared" 1>&5
        !          3764: if test "${ac_cv_have_decl_optarg+set}" = set; then
        !          3765:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          3766: else
        !          3767:   cat >conftest.$ac_ext <<EOF
        !          3768: #line 3769 "configure"
        !          3769: #include "confdefs.h"
        !          3770: $ac_includes_default
        !          3771: int
        !          3772: main ()
        !          3773: {
        !          3774: #ifndef optarg
        !          3775:   char *p = (char *) optarg;
        !          3776: #endif
        !          3777:
        !          3778:   ;
        !          3779:   return 0;
        !          3780: }
        !          3781: EOF
        !          3782: if { (eval echo configure:3783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          3783:   rm -rf conftest*
        !          3784:   ac_cv_have_decl_optarg=yes
        !          3785: else
        !          3786:   echo "configure: failed program was:" >&5
        !          3787:   cat conftest.$ac_ext >&5
        !          3788:   rm -rf conftest*
        !          3789:   ac_cv_have_decl_optarg=no
        !          3790: fi
        !          3791: rm -f conftest*
        !          3792: fi
        !          3793: echo "$ECHO_T""$ac_cv_have_decl_optarg" 1>&6
        !          3794: if test $ac_cv_have_decl_optarg = yes; then
        !          3795:   cat >>confdefs.h <<EOF
        !          3796: #define HAVE_DECL_OPTARG 1
        !          3797: EOF
        !          3798:
        !          3799: else
        !          3800:   cat >>confdefs.h <<EOF
        !          3801: #define HAVE_DECL_OPTARG 0
        !          3802: EOF
        !          3803:
        !          3804: fi
        !          3805:
        !          3806: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6
        !          3807: echo "configure:3808: checking for ANSI C header files" 1>&5
        !          3808: if test "${ac_cv_header_stdc+set}" = set; then
        !          3809:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          3810: else
        !          3811:
        !          3812: cat >conftest.$ac_ext <<EOF
        !          3813: #line 3814 "configure"
        !          3814: #include "confdefs.h"
        !          3815: #include <stdlib.h>
        !          3816: #include <stdarg.h>
        !          3817: #include <string.h>
        !          3818: #include <float.h>
        !          3819:
        !          3820: EOF
        !          3821: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          3822: { (eval echo configure:3823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          3823: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          3824: if test -z "$ac_err"; then
        !          3825:   rm -rf conftest*
        !          3826:   ac_cv_header_stdc=yes
        !          3827: else
        !          3828:   echo "$ac_err" >&5
        !          3829:   echo "configure: failed program was:" >&5
        !          3830:   cat conftest.$ac_ext >&5
        !          3831:   rm -rf conftest*
        !          3832:   ac_cv_header_stdc=no
        !          3833: fi
        !          3834: rm -f conftest*
        !          3835:
        !          3836: if test $ac_cv_header_stdc = yes; then
        !          3837:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
        !          3838:
        !          3839: cat >conftest.$ac_ext <<EOF
        !          3840: #line 3841 "configure"
        !          3841: #include "confdefs.h"
        !          3842: #include <string.h>
        !          3843:
        !          3844: EOF
        !          3845: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          3846:   egrep "memchr" >/dev/null 2>&1; then
        !          3847:   :
        !          3848: else
        !          3849:   rm -rf conftest*
        !          3850:   ac_cv_header_stdc=no
        !          3851: fi
        !          3852: rm -f conftest*
        !          3853:
        !          3854: fi
        !          3855:
        !          3856: if test $ac_cv_header_stdc = yes; then
        !          3857:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
        !          3858:
        !          3859: cat >conftest.$ac_ext <<EOF
        !          3860: #line 3861 "configure"
        !          3861: #include "confdefs.h"
        !          3862: #include <stdlib.h>
        !          3863:
        !          3864: EOF
        !          3865: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          3866:   egrep "free" >/dev/null 2>&1; then
        !          3867:   :
        !          3868: else
        !          3869:   rm -rf conftest*
        !          3870:   ac_cv_header_stdc=no
        !          3871: fi
        !          3872: rm -f conftest*
        !          3873:
        !          3874: fi
        !          3875:
        !          3876: if test $ac_cv_header_stdc = yes; then
        !          3877:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
        !          3878: if test "$cross_compiling" = yes; then
        !          3879:   :
        !          3880: else
        !          3881:   cat >conftest.$ac_ext <<EOF
        !          3882: #line 3883 "configure"
        !          3883: #include "confdefs.h"
        !          3884: #include <ctype.h>
        !          3885: #if ((' ' & 0x0FF) == 0x020)
        !          3886: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
        !          3887: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
        !          3888: #else
        !          3889: # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
        !          3890:                      || ('j' <= (c) && (c) <= 'r') \
        !          3891:                      || ('s' <= (c) && (c) <= 'z'))
        !          3892: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
        !          3893: #endif
        !          3894:
        !          3895: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
        !          3896: int
        !          3897: main ()
        !          3898: {
        !          3899:   int i;
        !          3900:   for (i = 0; i < 256; i++)
        !          3901:     if (XOR (islower (i), ISLOWER (i))
        !          3902:         || toupper (i) != TOUPPER (i))
        !          3903:       exit(2);
        !          3904:   exit (0);
        !          3905: }
        !          3906: EOF
        !          3907: if { (eval echo configure:3908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        !          3908: then
        !          3909:   :
        !          3910: else
        !          3911:   echo "configure: failed program was:" >&5
        !          3912:   cat conftest.$ac_ext >&5
        !          3913:   rm -fr conftest*
        !          3914:   ac_cv_header_stdc=no
        !          3915: fi
        !          3916: rm -fr conftest*
        !          3917:
        !          3918: fi
        !          3919:
        !          3920: fi
        !          3921: fi
        !          3922: echo "$ECHO_T""$ac_cv_header_stdc" 1>&6
        !          3923: if test $ac_cv_header_stdc = yes; then
        !          3924:   cat >>confdefs.h <<\EOF
        !          3925: #define STDC_HEADERS 1
        !          3926: EOF
1.1       maekawa  3927:
1.1.1.2 ! maekawa  3928: fi
1.1       maekawa  3929:
1.1.1.2 ! maekawa  3930: for ac_header in getopt.h unistd.h sys/sysctl.h sys/time.h
        !          3931: do
        !          3932: ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
        !          3933: echo $ECHO_N "checking for $ac_header... $ECHO_C" 1>&6
        !          3934: echo "configure:3935: checking for $ac_header" 1>&5
        !          3935: if eval "test \"\${$ac_ac_Header+set}\" = set"; then
        !          3936:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          3937: else
1.1       maekawa  3938:
1.1.1.2 ! maekawa  3939: cat >conftest.$ac_ext <<EOF
        !          3940: #line 3941 "configure"
        !          3941: #include "confdefs.h"
        !          3942: #include <$ac_header>
1.1       maekawa  3943:
1.1.1.2 ! maekawa  3944: EOF
        !          3945: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          3946: { (eval echo configure:3947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          3947: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          3948: if test -z "$ac_err"; then
        !          3949:   rm -rf conftest*
        !          3950:   eval "$ac_ac_Header=yes"
        !          3951: else
        !          3952:   echo "$ac_err" >&5
        !          3953:   echo "configure: failed program was:" >&5
        !          3954:   cat conftest.$ac_ext >&5
        !          3955:   rm -rf conftest*
        !          3956:   eval "$ac_ac_Header=no"
        !          3957: fi
        !          3958: rm -f conftest*
        !          3959: fi
        !          3960: echo "$ECHO_T""`eval echo '${'$ac_ac_Header'}'`" 1>&6
        !          3961: if test `eval echo '${'$ac_ac_Header'}'` = yes; then
        !          3962:   cat >>confdefs.h <<EOF
        !          3963: #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
        !          3964: EOF
1.1       maekawa  3965:
1.1.1.2 ! maekawa  3966: fi
        !          3967: done
1.1       maekawa  3968:
1.1.1.2 ! maekawa  3969: echo $ECHO_N "checking for void... $ECHO_C" 1>&6
        !          3970: echo "configure:3971: checking for void" 1>&5
        !          3971: if test "${ac_cv_type_void+set}" = set; then
        !          3972:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          3973: else
        !          3974:   cat >conftest.$ac_ext <<EOF
        !          3975: #line 3976 "configure"
        !          3976: #include "confdefs.h"
        !          3977: $ac_includes_default
        !          3978: int
        !          3979: main ()
        !          3980: {
        !          3981: if ((void *) 0)
        !          3982:   return 0;
        !          3983: if (sizeof (void))
        !          3984:   return 0;
        !          3985:   ;
        !          3986:   return 0;
        !          3987: }
        !          3988: EOF
        !          3989: if { (eval echo configure:3990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          3990:   rm -rf conftest*
        !          3991:   ac_cv_type_void=yes
        !          3992: else
        !          3993:   echo "configure: failed program was:" >&5
        !          3994:   cat conftest.$ac_ext >&5
        !          3995:   rm -rf conftest*
        !          3996:   ac_cv_type_void=no
        !          3997: fi
        !          3998: rm -f conftest*
        !          3999: fi
        !          4000: echo "$ECHO_T""$ac_cv_type_void" 1>&6
        !          4001: if test $ac_cv_type_void = yes; then
        !          4002:   cat >>confdefs.h <<EOF
        !          4003: #define HAVE_VOID 1
        !          4004: EOF
1.1       maekawa  4005:
1.1.1.2 ! maekawa  4006: fi
1.1       maekawa  4007:
1.1.1.2 ! maekawa  4008: echo $ECHO_N "checking for preprocessor stringizing operator... $ECHO_C" 1>&6
        !          4009: echo "configure:4010: checking for preprocessor stringizing operator" 1>&5
        !          4010: if test "${ac_cv_c_stringize+set}" = set; then
        !          4011:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          4012: else
1.1       maekawa  4013:
1.1.1.2 ! maekawa  4014: cat >conftest.$ac_ext <<EOF
        !          4015: #line 4016 "configure"
        !          4016: #include "confdefs.h"
1.1       maekawa  4017:
1.1.1.2 ! maekawa  4018: #define x(y) #y
1.1       maekawa  4019:
1.1.1.2 ! maekawa  4020: char *s = x(teststring);
1.1       maekawa  4021:
1.1.1.2 ! maekawa  4022: EOF
        !          4023: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          4024:   egrep "#teststring" >/dev/null 2>&1; then
        !          4025:   rm -rf conftest*
        !          4026:   ac_cv_c_stringize=no
        !          4027: else
        !          4028:   rm -rf conftest*
        !          4029:   ac_cv_c_stringize=yes
        !          4030: fi
        !          4031: rm -f conftest*
1.1       maekawa  4032:
1.1.1.2 ! maekawa  4033: fi
1.1       maekawa  4034:
1.1.1.2 ! maekawa  4035: if test "${ac_cv_c_stringize}" = yes; then
        !          4036:   cat >>confdefs.h <<\EOF
        !          4037: #define HAVE_STRINGIZE 1
        !          4038: EOF
1.1       maekawa  4039:
1.1.1.2 ! maekawa  4040: fi
        !          4041: echo "$ECHO_T""${ac_cv_c_stringize}" 1>&6
        !          4042:
        !          4043: for ac_func in getopt_long getpagesize popen processor_info strtoul sysconf sysctlbyname
        !          4044: do
        !          4045: ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
        !          4046: echo $ECHO_N "checking for $ac_func... $ECHO_C" 1>&6
        !          4047: echo "configure:4048: checking for $ac_func" 1>&5
        !          4048: if eval "test \"\${$ac_ac_var+set}\" = set"; then
        !          4049:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          4050: else
        !          4051:   cat >conftest.$ac_ext <<EOF
        !          4052: #line 4053 "configure"
        !          4053: #include "confdefs.h"
        !          4054: /* System header to define __stub macros and hopefully few prototypes,
        !          4055:     which can conflict with char $ac_func(); below.  */
        !          4056: #include <assert.h>
        !          4057: /* Override any gcc2 internal prototype to avoid an error.  */
        !          4058: /* We use char because int might match the return type of a gcc2
        !          4059:     builtin and then its argument prototype would still apply.  */
        !          4060: char $ac_func();
        !          4061: char (*f)();
        !          4062:
        !          4063: int
        !          4064: main()
        !          4065: {
        !          4066:
        !          4067: /* The GNU C library defines this for functions which it implements
        !          4068:     to always fail with ENOSYS.  Some functions are actually named
        !          4069:     something starting with __ and the normal name is an alias.  */
        !          4070: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
        !          4071: choke me
        !          4072: #else
        !          4073: f = $ac_func;
        !          4074: #endif
        !          4075:
        !          4076:   ;
        !          4077:   return 0;
        !          4078: }
        !          4079: EOF
        !          4080: if { (eval echo configure:4081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          4081:   rm -rf conftest*
        !          4082:   eval "$ac_ac_var=yes"
        !          4083: else
        !          4084:   echo "configure: failed program was:" >&5
        !          4085:   cat conftest.$ac_ext >&5
        !          4086:   rm -rf conftest*
        !          4087:   eval "$ac_ac_var=no"
        !          4088: fi
        !          4089: rm -f conftest*
1.1       maekawa  4090:
                   4091: fi
1.1.1.2 ! maekawa  4092: echo "$ECHO_T""`eval echo '${'$ac_ac_var'}'`" 1>&6
        !          4093: if test `eval echo '${'$ac_ac_var'}'` = yes; then
        !          4094:   cat >>confdefs.h <<EOF
        !          4095: #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
        !          4096: EOF
1.1       maekawa  4097:
1.1.1.2 ! maekawa  4098: fi
        !          4099: done
1.1       maekawa  4100:
1.1.1.2 ! maekawa  4101: echo $ECHO_N "checking if ansi2knr should be used... $ECHO_C" 1>&6
        !          4102: echo "configure:4103: checking if ansi2knr should be used" 1>&5
        !          4103: if test "${gmp_cv_c_ansi2knr+set}" = set; then
        !          4104:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          4105: else
        !          4106:   cat >conftest.c <<EOF
        !          4107: int main (int argc, char *argv) { return 0; }
        !          4108: EOF
        !          4109: if { (eval echo configure:4110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          4110:   gmp_cv_c_ansi2knr=no
1.1       maekawa  4111: else
1.1.1.2 ! maekawa  4112:   gmp_cv_c_ansi2knr=yes
        !          4113: fi
        !          4114: rm -f conftest.*
        !          4115:
1.1       maekawa  4116: fi
1.1.1.2 ! maekawa  4117: echo "$ECHO_T""$gmp_cv_c_ansi2knr" 1>&6
        !          4118: if test $gmp_cv_c_ansi2knr = no; then
        !          4119:   U= ANSI2KNR=
        !          4120: else
        !          4121:   U=_ ANSI2KNR=./ansi2knr
        !          4122:   # Ensure some checks needed by ansi2knr itself.
1.1       maekawa  4123:
1.1.1.2 ! maekawa  4124: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6
        !          4125: echo "configure:4126: checking for ANSI C header files" 1>&5
        !          4126: if test "${ac_cv_header_stdc+set}" = set; then
        !          4127:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
1.1       maekawa  4128: else
1.1.1.2 ! maekawa  4129:
        !          4130: cat >conftest.$ac_ext <<EOF
        !          4131: #line 4132 "configure"
        !          4132: #include "confdefs.h"
        !          4133: #include <stdlib.h>
        !          4134: #include <stdarg.h>
        !          4135: #include <string.h>
        !          4136: #include <float.h>
        !          4137:
        !          4138: EOF
        !          4139: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          4140: { (eval echo configure:4141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          4141: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          4142: if test -z "$ac_err"; then
        !          4143:   rm -rf conftest*
        !          4144:   ac_cv_header_stdc=yes
        !          4145: else
        !          4146:   echo "$ac_err" >&5
        !          4147:   echo "configure: failed program was:" >&5
        !          4148:   cat conftest.$ac_ext >&5
        !          4149:   rm -rf conftest*
        !          4150:   ac_cv_header_stdc=no
1.1       maekawa  4151: fi
1.1.1.2 ! maekawa  4152: rm -f conftest*
1.1       maekawa  4153:
1.1.1.2 ! maekawa  4154: if test $ac_cv_header_stdc = yes; then
        !          4155:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.1       maekawa  4156:
1.1.1.2 ! maekawa  4157: cat >conftest.$ac_ext <<EOF
        !          4158: #line 4159 "configure"
        !          4159: #include "confdefs.h"
        !          4160: #include <string.h>
1.1       maekawa  4161:
1.1.1.2 ! maekawa  4162: EOF
        !          4163: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          4164:   egrep "memchr" >/dev/null 2>&1; then
        !          4165:   :
        !          4166: else
        !          4167:   rm -rf conftest*
        !          4168:   ac_cv_header_stdc=no
        !          4169: fi
        !          4170: rm -f conftest*
1.1       maekawa  4171:
1.1.1.2 ! maekawa  4172: fi
1.1       maekawa  4173:
1.1.1.2 ! maekawa  4174: if test $ac_cv_header_stdc = yes; then
        !          4175:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.1       maekawa  4176:
1.1.1.2 ! maekawa  4177: cat >conftest.$ac_ext <<EOF
        !          4178: #line 4179 "configure"
        !          4179: #include "confdefs.h"
        !          4180: #include <stdlib.h>
        !          4181:
        !          4182: EOF
        !          4183: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          4184:   egrep "free" >/dev/null 2>&1; then
        !          4185:   :
        !          4186: else
        !          4187:   rm -rf conftest*
        !          4188:   ac_cv_header_stdc=no
        !          4189: fi
        !          4190: rm -f conftest*
1.1       maekawa  4191:
1.1.1.2 ! maekawa  4192: fi
1.1       maekawa  4193:
1.1.1.2 ! maekawa  4194: if test $ac_cv_header_stdc = yes; then
        !          4195:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
        !          4196: if test "$cross_compiling" = yes; then
        !          4197:   :
        !          4198: else
        !          4199:   cat >conftest.$ac_ext <<EOF
        !          4200: #line 4201 "configure"
        !          4201: #include "confdefs.h"
        !          4202: #include <ctype.h>
        !          4203: #if ((' ' & 0x0FF) == 0x020)
        !          4204: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
        !          4205: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
        !          4206: #else
        !          4207: # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
        !          4208:                      || ('j' <= (c) && (c) <= 'r') \
        !          4209:                      || ('s' <= (c) && (c) <= 'z'))
        !          4210: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
        !          4211: #endif
        !          4212:
        !          4213: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
        !          4214: int
        !          4215: main ()
        !          4216: {
        !          4217:   int i;
        !          4218:   for (i = 0; i < 256; i++)
        !          4219:     if (XOR (islower (i), ISLOWER (i))
        !          4220:         || toupper (i) != TOUPPER (i))
        !          4221:       exit(2);
        !          4222:   exit (0);
        !          4223: }
        !          4224: EOF
        !          4225: if { (eval echo configure:4226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        !          4226: then
        !          4227:   :
1.1       maekawa  4228: else
1.1.1.2 ! maekawa  4229:   echo "configure: failed program was:" >&5
        !          4230:   cat conftest.$ac_ext >&5
        !          4231:   rm -fr conftest*
        !          4232:   ac_cv_header_stdc=no
1.1       maekawa  4233: fi
1.1.1.2 ! maekawa  4234: rm -fr conftest*
1.1       maekawa  4235:
1.1.1.2 ! maekawa  4236: fi
1.1       maekawa  4237:
1.1.1.2 ! maekawa  4238: fi
        !          4239: fi
        !          4240: echo "$ECHO_T""$ac_cv_header_stdc" 1>&6
        !          4241: if test $ac_cv_header_stdc = yes; then
        !          4242:   cat >>confdefs.h <<\EOF
        !          4243: #define STDC_HEADERS 1
        !          4244: EOF
1.1       maekawa  4245:
1.1.1.2 ! maekawa  4246: fi
1.1       maekawa  4247:
1.1.1.2 ! maekawa  4248:   for ac_header in string.h
        !          4249: do
        !          4250: ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
        !          4251: echo $ECHO_N "checking for $ac_header... $ECHO_C" 1>&6
        !          4252: echo "configure:4253: checking for $ac_header" 1>&5
        !          4253: if eval "test \"\${$ac_ac_Header+set}\" = set"; then
        !          4254:   echo $ECHO_N "(cached) $ECHO_C" 1>&6
        !          4255: else
1.1       maekawa  4256:
1.1.1.2 ! maekawa  4257: cat >conftest.$ac_ext <<EOF
        !          4258: #line 4259 "configure"
        !          4259: #include "confdefs.h"
        !          4260: #include <$ac_header>
        !          4261:
        !          4262: EOF
        !          4263: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          4264: { (eval echo configure:4265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          4265: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          4266: if test -z "$ac_err"; then
        !          4267:   rm -rf conftest*
        !          4268:   eval "$ac_ac_Header=yes"
1.1       maekawa  4269: else
1.1.1.2 ! maekawa  4270:   echo "$ac_err" >&5
        !          4271:   echo "configure: failed program was:" >&5
        !          4272:   cat conftest.$ac_ext >&5
        !          4273:   rm -rf conftest*
        !          4274:   eval "$ac_ac_Header=no"
        !          4275: fi
        !          4276: rm -f conftest*
1.1       maekawa  4277: fi
1.1.1.2 ! maekawa  4278: echo "$ECHO_T""`eval echo '${'$ac_ac_Header'}'`" 1>&6
        !          4279: if test `eval echo '${'$ac_ac_Header'}'` = yes; then
        !          4280:   cat >>confdefs.h <<EOF
        !          4281: #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
        !          4282: EOF
1.1       maekawa  4283:
1.1.1.2 ! maekawa  4284: fi
        !          4285: done
1.1       maekawa  4286:
                   4287: fi
                   4288:
1.1.1.2 ! maekawa  4289: syntax=
        !          4290: # For now, we use the old switch for setting syntax.
        !          4291: # FIXME: Remove when conversion to .asm is completed.
        !          4292: case "${target}" in
        !          4293:   m680[234]0*-*-linuxaout* | m68k*-*-linuxaout* | \
        !          4294:   m68k-next-nextstep* | \
        !          4295:   m68000*-*-*)
        !          4296:     syntax=mit
        !          4297:     ;;
        !          4298:   m680[234]0*-*-linux* | m68k*-*-linux*)
        !          4299:     syntax=elf
        !          4300:     ;;
        !          4301:   m680[234]0*-*-* | m68k*-*-*)
        !          4302:     syntax=mit
        !          4303:     ;;
        !          4304: esac
1.1       maekawa  4305:
1.1.1.2 ! maekawa  4306: # Now build an asm-syntax.h file for targets that include that from the
        !          4307: # assembly files.
        !          4308: # FIXME: Remove when conversion to .asm is completed.
        !          4309: case "${family}-${underscore}-${asm_align}-${syntax}" in
        !          4310:   m68k-yes-log-mit)
        !          4311:     echo '#define MIT_SYNTAX' >asm-syntax.h
        !          4312:     cat $srcdir/mpn/underscore.h >>asm-syntax.h
        !          4313:     echo '#include "'$srcdir'/mpn/m68k/syntax.h"' >>asm-syntax.h;;
        !          4314:   m68k-no-nolog-elf)
        !          4315:     echo '#define ELF_SYNTAX' >asm-syntax.h
        !          4316:     echo '#define C_SYMBOL_NAME(name) name' >>asm-syntax.h
        !          4317:     echo '#include "'$srcdir'/mpn/m68k/syntax.h"' >>asm-syntax.h;;
        !          4318: esac
        !          4319:
        !          4320: # The pattern here tests for an absolute path the same way as
        !          4321: # _AC_OUTPUT_FILES in autoconf acgeneral.m4.
        !          4322:
        !          4323: echo "dnl  CONFIG_TOP_SRCDIR is a path from the mpn builddir to the top srcdir" >> $gmp_tmpconfigm4
        !          4324:
        !          4325: case "$srcdir" in
        !          4326: [\\/]* | ?:[\\/]* )
        !          4327:
        !          4328: echo "define(<CONFIG_TOP_SRCDIR>,<\`$srcdir'>)" >> $gmp_tmpconfigm4
        !          4329:     ;;
        !          4330: *)
        !          4331:
        !          4332: echo "define(<CONFIG_TOP_SRCDIR>,<\`../$srcdir'>)" >> $gmp_tmpconfigm4
        !          4333:  ;;
        !          4334: esac
        !          4335:
        !          4336: echo "include(CONFIG_TOP_SRCDIR\`/mpn/asm-defs.m4')" >> $gmp_tmpconfigm4p
        !          4337:
        !          4338: # Must be after asm-defs.m4
        !          4339:
        !          4340: echo "define_not_for_expansion(\`HAVE_TARGET_CPU_$target_cpu')" >> $gmp_tmpconfigm4p
        !          4341:
        !          4342: case "$target" in
        !          4343:   alpha*-cray-unicos*)
        !          4344:     gmp_m4postinc="alpha/unicos.m4"
        !          4345:     ;;
        !          4346:   alpha*-*-*)
        !          4347:     gmp_m4postinc="alpha/default.m4"
        !          4348:     ;;
        !          4349:   power*-*-*)
        !          4350:     case "$target" in
        !          4351:       *-*-mach* | *-*-rhapsody* | *-*-nextstep*)
        !          4352:         ;;     # these use non-conventional assembly syntax.
        !          4353:       powerpc64-*-aix*)
        !          4354:        gmp_m4postinc="powerpc32/regmap.m4 powerpc64/aix.m4"
1.1       maekawa  4355:         ;;
1.1.1.2 ! maekawa  4356:       *-*-aix*)
        !          4357:        gmp_m4postinc="powerpc32/regmap.m4 powerpc32/aix.m4"
        !          4358:         ;;
        !          4359:       *)
        !          4360:        gmp_m4postinc="powerpc32/regmap.m4"
        !          4361:        ;;
        !          4362:     esac
        !          4363:     ;;
1.1       maekawa  4364: esac
                   4365:
1.1.1.2 ! maekawa  4366: for tmp_f in $gmp_m4postinc; do
1.1       maekawa  4367:
1.1.1.2 ! maekawa  4368: echo "include_mpn(\`$tmp_f')" >> $gmp_tmpconfigm4p
1.1       maekawa  4369:
1.1.1.2 ! maekawa  4370: done
1.1       maekawa  4371:
1.1.1.2 ! maekawa  4372: # Set up `gmp_links'.  It's a list of link:file pairs that configure will
        !          4373: # process to create link -> file.
        !          4374: gmp_links=
        !          4375:
        !          4376: # If the user specified `MPN_PATH', use that instead of the path we've
        !          4377: # come up with.
        !          4378: if test -z "$MPN_PATH"; then
        !          4379:   path="$path generic"
        !          4380: else
        !          4381:   path="$MPN_PATH"
1.1       maekawa  4382: fi
                   4383:
1.1.1.2 ! maekawa  4384: # Pick the correct source files in $path and link them to mpn/.
        !          4385: # $gmp_mpn_functions lists all functions we need.
        !          4386: #
        !          4387: # The rule is to find a file with the function name and a .asm, .S,
        !          4388: # .s, or .c extension.  Certain multi-function files with special names
        !          4389: # can provide some functions too.  (mpn/Makefile.am passes
        !          4390: # -DOPERATION_<func> to get them to generate the right code.)
        !          4391:
        !          4392: # FIXME: udiv and umul aren't in $gmp_mpn_functions_optional yet since
        !          4393: # there's some versions of those files which should be checked for bit
        !          4394: # rot first.  Put them in $extra_functions for each target for now,
        !          4395: # change to standard optionals when all are ready.
        !          4396:
        !          4397: # Note: The following lines defining $gmp_mpn_functions_optional
        !          4398: #       and $gmp_mpn_functions are parsed by the "macos/configure"
        !          4399: #       Perl script. So if you change the lines in a major way
        !          4400: #       make sure to run and examine the output from
        !          4401: #
        !          4402: #           % (cd macos; perl configure)
        !          4403:
        !          4404: gmp_mpn_functions_optional="copyi copyd com_n          \
        !          4405:   and_n andn_n nand_n ior_n iorn_n nior_n xor_n xnor_n"
        !          4406:
        !          4407: gmp_mpn_functions="${extra_functions} inlines add_n sub_n mul_1 addmul_1   \
        !          4408:   submul_1 lshift rshift diveby3 divrem divrem_1 divrem_2                  \
        !          4409:   mod_1 mod_1_rs pre_mod_1 dump                                            \
        !          4410:   mul mul_fft mul_n mul_basecase sqr_basecase random                       \
        !          4411:   random2 sqrtrem get_str set_str scan0 scan1 popcount hamdist cmp perfsqr \
        !          4412:   bdivmod gcd_1 gcd gcdext tdiv_qr bz_divrem_n sb_divrem_mn jacbase        \
        !          4413:   $gmp_mpn_functions_optional"
        !          4414:
        !          4415: # the list of all object files used by mpn/Makefile.in and the
        !          4416: # top-level Makefile.in, respectively
        !          4417: mpn_objects=
        !          4418: mpn_objs_in_libgmp="mpn/mp_bases.lo"
        !          4419:
        !          4420: for tmp_fn in ${gmp_mpn_functions} ; do
        !          4421:   rm -f mpn/${tmp_fn}.[Ssc] mpn/${tmp_fn}.asm
        !          4422:
        !          4423:   # functions that can be provided by multi-function files
        !          4424:   tmp_mulfunc=
        !          4425:   case $tmp_fn in
        !          4426:   add_n|sub_n)       tmp_mulfunc="aors_n"    ;;
        !          4427:   addmul_1|submul_1) tmp_mulfunc="aorsmul_1" ;;
        !          4428:   popcount|hamdist)  tmp_mulfunc="popham"    ;;
        !          4429:   and_n|andn_n|nand_n | ior_n|iorn_n|nior_n | xor_n|xnor_n)
        !          4430:                      tmp_mulfunc="logops_n"  ;;
        !          4431:   esac
        !          4432:
        !          4433:   found=no
        !          4434:   for tmp_dir in $path; do
        !          4435:     for tmp_base in $tmp_fn $tmp_mulfunc; do
        !          4436:       for tmp_ext in asm S s c; do
        !          4437:         tmp_file=$srcdir/mpn/$tmp_dir/$tmp_base.$tmp_ext
        !          4438:         if test -f $tmp_file; then
        !          4439:           found=yes
        !          4440:
        !          4441:           mpn_objects="$mpn_objects ${tmp_fn}.lo"
        !          4442:           mpn_objs_in_libgmp="$mpn_objs_in_libgmp mpn/${tmp_fn}.lo"
        !          4443:           gmp_links="$gmp_links mpn/$tmp_fn.$tmp_ext:mpn/$tmp_dir/$tmp_base.$tmp_ext"
        !          4444:
        !          4445:           # duplicate AC_DEFINEs are harmless, so it doesn't matter
        !          4446:           # that multi-function files get grepped here repeatedly
        !          4447:           gmp_ep="`
        !          4448:             sed -n 's/^[       ]*MULFUNC_PROLOGUE(\(.*\))/\1/p' $tmp_file ;
        !          4449:             sed -n 's/^[       ]*PROLOGUE(\(.*\))/\1/p' $tmp_file
        !          4450:           `"
        !          4451:           for gmp_tmp in $gmp_ep; do
        !          4452:             cat >>confdefs.h <<EOF
        !          4453: #define HAVE_NATIVE_${gmp_tmp} 1
        !          4454: EOF
        !          4455:
        !          4456:           done
        !          4457:
        !          4458:           break
        !          4459:         fi
        !          4460:       done
        !          4461:       if test $found = yes; then break ; fi
        !          4462:     done
        !          4463:     if test $found = yes; then break ; fi
1.1       maekawa  4464:   done
                   4465:
1.1.1.2 ! maekawa  4466:   if test $found = no; then
        !          4467:     for tmp_optional in $gmp_mpn_functions_optional; do
        !          4468:       if test $tmp_optional = $tmp_fn; then
        !          4469:         found=yes
1.1       maekawa  4470:       fi
                   4471:     done
1.1.1.2 ! maekawa  4472:     if test $found = no; then
        !          4473:       { echo "configure: error: no version of $tmp_fn found in path: $path" 1>&2; exit 1; }
        !          4474:     fi
1.1       maekawa  4475:   fi
1.1.1.2 ! maekawa  4476: done
1.1       maekawa  4477:
1.1.1.2 ! maekawa  4478: # Create link for gmp-mparam.h.
        !          4479: for tmp_dir in $path ; do
        !          4480:   rm -f gmp-mparam.h
        !          4481:   if test -f $srcdir/mpn/${tmp_dir}/gmp-mparam.h ; then
        !          4482:     gmp_links="$gmp_links gmp-mparam.h:mpn/${tmp_dir}/gmp-mparam.h"
        !          4483:
        !          4484:     # Copy any KARATSUBA_SQR_THRESHOLD in gmp-mparam.h to config.m4.
        !          4485:     # Some versions of sqr_basecase.asm use this.
        !          4486:     tmp_gmp_karatsuba_sqr_threshold="`sed -n 's/^#define KARATSUBA_SQR_THRESHOLD[      ]*\([0-9][0-9]*\).*$/\1/p' $srcdir/mpn/${tmp_dir}/gmp-mparam.h`"
        !          4487:     if test -n "$tmp_gmp_karatsuba_sqr_threshold"; then
        !          4488:
        !          4489: echo "define(<KARATSUBA_SQR_THRESHOLD>,<$tmp_gmp_karatsuba_sqr_threshold>)" >> $gmp_tmpconfigm4
        !          4490:
        !          4491:     fi
        !          4492:
        !          4493:     break
1.1       maekawa  4494:   fi
1.1.1.2 ! maekawa  4495: done
1.1       maekawa  4496:
1.1.1.2 ! maekawa  4497: # Dig out the links from `gmp_links' for inclusion in DISTCLEANFILES.
        !          4498: gmp_srclinks=
        !          4499: for f in $gmp_links; do
        !          4500:   gmp_srclinks="$gmp_srclinks `echo $f | sed 's/\(.*\):.*/\1/'`"
        !          4501: done
        !          4502:
        !          4503: echo "creating $gmp_configm4"
        !          4504: echo "dnl $gmp_configm4.  Generated automatically by configure." > $gmp_configm4
        !          4505: if test -f $gmp_tmpconfigm4; then
        !          4506:   echo "changequote(<,>)dnl" >> $gmp_configm4
        !          4507:   echo "ifdef(<__CONFIG_M4_INCLUDED__>,,<" >> $gmp_configm4
        !          4508:   cat $gmp_tmpconfigm4 >> $gmp_configm4
        !          4509:   echo ">)" >> $gmp_configm4
        !          4510:   echo "changequote(\`,')dnl" >> $gmp_configm4
        !          4511:   rm $gmp_tmpconfigm4
        !          4512: fi
        !          4513: echo "ifdef(\`__CONFIG_M4_INCLUDED__',,\`" >> $gmp_configm4
        !          4514: if test -f $gmp_tmpconfigm4i; then
        !          4515:   cat $gmp_tmpconfigm4i >> $gmp_configm4
        !          4516:   rm $gmp_tmpconfigm4i
        !          4517: fi
        !          4518: if test -f $gmp_tmpconfigm4p; then
        !          4519:   cat $gmp_tmpconfigm4p >> $gmp_configm4
        !          4520:   rm $gmp_tmpconfigm4p
        !          4521: fi
        !          4522: echo "')" >> $gmp_configm4
        !          4523: echo "define(\`__CONFIG_M4_INCLUDED__')" >> $gmp_configm4
        !          4524:
        !          4525: trap '' 1 2 15
        !          4526: cat >confcache <<\EOF
        !          4527: # This file is a shell script that caches the results of configure
        !          4528: # tests run on this system so they can be shared between configure
        !          4529: # scripts and configure runs.  It is not useful on other systems.
        !          4530: # If it contains results you don't want to keep, you may remove or edit it.
        !          4531: #
        !          4532: # By default, configure uses ./config.cache as the cache file,
        !          4533: # creating it if it does not exist already.  You can give configure
        !          4534: # the --cache-file=FILE option to use a different cache file; that is
        !          4535: # what configure does when it calls configure scripts in
        !          4536: # subdirectories, so they share the cache.
        !          4537: # Giving --cache-file=/dev/null disables caching, for debugging configure.
        !          4538: # config.status only pays attention to the cache file if you give it the
        !          4539: # --recheck option to rerun configure.
        !          4540: #
        !          4541: EOF
        !          4542: # The following way of writing the cache mishandles newlines in values,
        !          4543: # but we know of no workaround that is simple, portable, and efficient.
        !          4544: # So, don't put newlines in cache variables' values.
        !          4545: # Ultrix sh set writes to stderr and can't be redirected directly,
        !          4546: # and sets the high bit in the cache file unless we assign to the vars.
        !          4547: (set) 2>&1 |
        !          4548:   case `(ac_space=' '; set | grep ac_space) 2>&1` in
        !          4549:   *ac_space=\ *)
        !          4550:     # `set' does not quote correctly, so add quotes (double-quote substitution
        !          4551:     # turns \\\\ into \\, and sed turns \\ into \).
        !          4552:     sed -n \
        !          4553:       -e "s/'/'\\\\''/g" \
        !          4554:       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
        !          4555:     ;;
        !          4556:   *)
        !          4557:     # `set' quotes correctly as required by POSIX, so do not add quotes.
        !          4558:     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
        !          4559:     ;;
        !          4560:   esac >>confcache
        !          4561: if cmp -s $cache_file confcache; then :; else
        !          4562:   if test -w $cache_file; then
        !          4563:     echo "updating cache $cache_file"
        !          4564:     cat confcache >$cache_file
        !          4565:   else
        !          4566:     echo "not updating unwritable cache $cache_file"
1.1       maekawa  4567:   fi
1.1.1.2 ! maekawa  4568: fi
        !          4569: rm -f confcache
        !          4570:
        !          4571: trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1.1       maekawa  4572:
1.1.1.2 ! maekawa  4573: test "x$prefix" = xNONE && prefix=$ac_default_prefix
        !          4574: # Let make expand exec_prefix.
        !          4575: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
        !          4576:
        !          4577: # Any assignment to VPATH causes Sun make to only execute
        !          4578: # the first set of double-colon rules, so remove it if not needed.
        !          4579: # If there is a colon in the path, we need to keep it.
        !          4580: if test "x$srcdir" = x.; then
        !          4581:   ac_vpsub='/^[        ]*VPATH[        ]*=[^:]*$/d'
1.1       maekawa  4582: fi
                   4583:
1.1.1.2 ! maekawa  4584: DEFS=-DHAVE_CONFIG_H
1.1       maekawa  4585:
1.1.1.2 ! maekawa  4586: : ${CONFIG_STATUS=./config.status}
        !          4587: trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
        !          4588: echo creating $CONFIG_STATUS
        !          4589: cat >$CONFIG_STATUS <<EOF
        !          4590: #! /bin/sh
        !          4591: # Generated automatically by configure.
        !          4592: # Run this file to recreate the current configuration.
        !          4593: # This directory was configured as follows,
        !          4594: # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
        !          4595: #
        !          4596: # $0 $ac_configure_args
        !          4597: #
        !          4598: # Compiler output produced by configure, useful for debugging
        !          4599: # configure, is in ./config.log if it exists.
1.1       maekawa  4600:
1.1.1.2 ! maekawa  4601: # Files that config.status was made for.
        !          4602: config_files="\\
        !          4603:   Makefile mpf/Makefile mpz/Makefile mpn/Makefile mpq/Makefile
        !          4604:   mpf/tests/Makefile mpz/tests/Makefile mpq/tests/Makefile mpn/tests/Makefile
        !          4605:   tests/Makefile tests/rand/Makefile demos/Makefile tune/Makefile
        !          4606:   mpbsd/Makefile mpbsd/tests/Makefile mpfr/Makefile mpfr/tests/Makefile"
        !          4607: config_headers="\\
        !          4608:   config.h:config.in"
        !          4609: config_links="\\
        !          4610:   $gmp_links"
        !          4611: config_commands="\\
        !          4612:   default-1"
        !          4613:
        !          4614: ac_cs_usage="\\
        !          4615: \\\`$CONFIG_STATUS' instantiates files from templates according to the
        !          4616: current configuration.
        !          4617:
        !          4618: Usage: $CONFIG_STATUS [OPTIONS] FILE...
        !          4619:
        !          4620:   --recheck    Update $CONFIG_STATUS by reconfiguring in the same conditions
        !          4621:   --version    Print the version of Autoconf and exit
        !          4622:   --help       Display this help and exit
        !          4623:   --file=FILE[:TEMPLATE]
        !          4624:                Instantiate the configuration file FILE
        !          4625:   --header=FILE[:TEMPLATE]
        !          4626:                Instantiate the configuration header FILE
        !          4627:
        !          4628: Configuration files:
        !          4629: \$config_files
        !          4630:
        !          4631: Configuration headers:
        !          4632: \$config_headers
        !          4633:
        !          4634: Configuration links:
        !          4635: \$config_links
        !          4636:
        !          4637: Configuration commands:
        !          4638: \$config_commands
        !          4639:
        !          4640: Report bugs to <bug-autoconf@gnu.org>."
        !          4641:
        !          4642: ac_cs_version="\\
        !          4643: $CONFIG_STATUS generated by autoconf version 2.14a.
        !          4644: Configured on host `(hostname || uname -n) 2>/dev/null | sed 1q` by
        !          4645:   `echo "$0 $ac_configure_args" | sed 's/[\\"\`\$]/\\\\&/g'`"
        !          4646:
        !          4647: # Root of the tmp file names.  Use pid to allow concurrent executions.
        !          4648: ac_cs_root=cs\$\$
        !          4649: ac_given_srcdir=$srcdir
        !          4650: ac_given_INSTALL="$INSTALL"
        !          4651:
        !          4652: # If no file are specified by the user, then we need to provide default
        !          4653: # value.  By we need to know if files were specified by the user.
        !          4654: ac_need_defaults=:
        !          4655: while test \$# != 0
        !          4656: do
        !          4657:   case "\$1" in
        !          4658:   --*=*)
        !          4659:     ac_option=\`echo "\$1" | sed -e 's/=.*//'\`
        !          4660:     ac_optarg=\`echo "\$1" | sed -e 's/[^=]*=//'\`
        !          4661:     shift
        !          4662:     set dummy "\$ac_option" "\$ac_optarg" \${1+"\$@"}
        !          4663:     shift
        !          4664:     ;;
        !          4665:   -*);;
        !          4666:   *) # This is not an option, so the user has probably given explicit
        !          4667:      # arguments.
        !          4668:      ac_need_defaults=false;;
        !          4669:   esac
        !          4670:
        !          4671:   case "\$1" in
        !          4672:
        !          4673:   # Handling of the options.
        !          4674:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
        !          4675:     echo "running \${CONFIG_SHELL-/bin/sh} $0 `echo "$ac_configure_args" | sed 's/[\\"\`\$]/\\\\&/g'` --no-create --no-recursion"
        !          4676:     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
        !          4677:   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
        !          4678:     echo "\$ac_cs_version"; exit 0 ;;
        !          4679:   --he | --h)
        !          4680:     # Conflict between --help and --header
        !          4681:     echo "$CONFIG_STATUS: ambiguous option: \$ac_option
        !          4682: Try \\\`$CONFIG_STATUS --help' for more information."; exit 1 ;;
        !          4683:   -help | --help | --hel )
        !          4684:     echo "\$ac_cs_usage"; exit 0 ;;
        !          4685:   --file | --fil | --fi | --f )
        !          4686:     shift
        !          4687:     CONFIG_FILES="\$CONFIG_FILES \$1"
        !          4688:     ac_need_defaults=false;;
        !          4689:   --header | --heade | --head | --hea )
        !          4690:     shift
        !          4691:     CONFIG_HEADERS="\$CONFIG_FILES \$1"
        !          4692:     ac_need_defaults=false;;
        !          4693:
        !          4694:   # Handling of arguments.
        !          4695:   'Makefile' ) CONFIG_FILES="\$CONFIG_FILES Makefile" ;;
        !          4696:   'mpf/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpf/Makefile" ;;
        !          4697:   'mpz/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpz/Makefile" ;;
        !          4698:   'mpn/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpn/Makefile" ;;
        !          4699:   'mpq/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpq/Makefile" ;;
        !          4700:   'mpf/tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpf/tests/Makefile" ;;
        !          4701:   'mpz/tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpz/tests/Makefile" ;;
        !          4702:   'mpq/tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpq/tests/Makefile" ;;
        !          4703:   'mpn/tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpn/tests/Makefile" ;;
        !          4704:   'tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES tests/Makefile" ;;
        !          4705:   'tests/rand/Makefile' ) CONFIG_FILES="\$CONFIG_FILES tests/rand/Makefile" ;;
        !          4706:   'demos/Makefile' ) CONFIG_FILES="\$CONFIG_FILES demos/Makefile" ;;
        !          4707:   'tune/Makefile' ) CONFIG_FILES="\$CONFIG_FILES tune/Makefile" ;;
        !          4708:   'mpbsd/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpbsd/Makefile" ;;
        !          4709:   'mpbsd/tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpbsd/tests/Makefile" ;;
        !          4710:   'mpfr/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpfr/Makefile" ;;
        !          4711:   'mpfr/tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpfr/tests/Makefile" ;;
        !          4712:   '$gmp_links' ) CONFIG_LINKS="\$CONFIG_LINKS $gmp_links" ;;
        !          4713:   'default-1' ) CONFIG_COMMANDS="\$CONFIG_COMMANDS default-1" ;;
        !          4714:   'config.h' ) CONFIG_HEADERS="\$CONFIG_HEADERS config.h:config.in" ;;
        !          4715:
        !          4716:   # This is an error.
        !          4717:   -*) echo "$CONFIG_STATUS: unrecognized option: \$1
        !          4718: Try \\\`$CONFIG_STATUS --help' for more information."; exit 1 ;;
        !          4719:   *) echo "$CONFIG_STATUS: invalid argument: \$1"; exit 1 ;;
        !          4720:   esac
        !          4721:   shift
        !          4722: done
        !          4723:
        !          4724: EOF
        !          4725:
        !          4726: cat >>$CONFIG_STATUS <<\EOF
        !          4727: # If the user did not use the arguments to specify the items to instantiate,
        !          4728: # then the envvar interface is used.  Set only those that are not.
        !          4729: if $ac_need_defaults; then
        !          4730:   : ${CONFIG_FILES=$config_files}
        !          4731:   : ${CONFIG_HEADERS=$config_headers}
        !          4732:   : ${CONFIG_LINKS=$config_links}
        !          4733:   : ${CONFIG_COMMANDS=$config_commands}
1.1       maekawa  4734: fi
                   4735:
1.1.1.2 ! maekawa  4736: # Trap to remove the temp files.
        !          4737: trap 'rm -fr $ac_cs_root*; exit 1' 1 2 15
1.1       maekawa  4738:
1.1.1.2 ! maekawa  4739: EOF
1.1       maekawa  4740:
1.1.1.2 ! maekawa  4741: cat >>$CONFIG_STATUS <<EOF
        !          4742: #
        !          4743: # INIT-COMMANDS section.
        !          4744: #
1.1       maekawa  4745:
1.1.1.2 ! maekawa  4746: EOF
1.1       maekawa  4747:
1.1.1.2 ! maekawa  4748: cat >>$CONFIG_STATUS <<EOF
        !          4749:
        !          4750: #
        !          4751: # CONFIG_FILES section.
        !          4752: #
        !          4753:
        !          4754: # No need to generate the scripts if there are no CONFIG_FILES.
        !          4755: # This happens for instance when ./config.status config.h
        !          4756: if test -n "\$CONFIG_FILES"; then
        !          4757:   # Protect against being on the right side of a sed subst in config.status.
        !          4758:   sed 's/%@/@@/; s/@%/@@/; s/%;t t\$/@;t t/; /@;t t\$/s/[\\\\&%]/\\\\&/g;
        !          4759:    s/@@/%@/; s/@@/@%/; s/@;t t\$/%;t t/' >\$ac_cs_root.subs <<\\CEOF
        !          4760: s%@exec_prefix@%$exec_prefix%;t t
        !          4761: s%@prefix@%$prefix%;t t
        !          4762: s%@program_transform_name@%$program_transform_name%;t t
        !          4763: s%@bindir@%$bindir%;t t
        !          4764: s%@sbindir@%$sbindir%;t t
        !          4765: s%@libexecdir@%$libexecdir%;t t
        !          4766: s%@datadir@%$datadir%;t t
        !          4767: s%@sysconfdir@%$sysconfdir%;t t
        !          4768: s%@sharedstatedir@%$sharedstatedir%;t t
        !          4769: s%@localstatedir@%$localstatedir%;t t
        !          4770: s%@libdir@%$libdir%;t t
        !          4771: s%@includedir@%$includedir%;t t
        !          4772: s%@oldincludedir@%$oldincludedir%;t t
        !          4773: s%@infodir@%$infodir%;t t
        !          4774: s%@mandir@%$mandir%;t t
        !          4775: s%@SHELL@%$SHELL%;t t
        !          4776: s%@ECHO_C@%$ECHO_C%;t t
        !          4777: s%@ECHO_N@%$ECHO_N%;t t
        !          4778: s%@ECHO_T@%$ECHO_T%;t t
        !          4779: s%@CFLAGS@%$CFLAGS%;t t
        !          4780: s%@CPPFLAGS@%$CPPFLAGS%;t t
        !          4781: s%@CXXFLAGS@%$CXXFLAGS%;t t
        !          4782: s%@FFLAGS@%$FFLAGS%;t t
        !          4783: s%@DEFS@%$DEFS%;t t
        !          4784: s%@LDFLAGS@%$LDFLAGS%;t t
        !          4785: s%@LIBS@%$LIBS%;t t
        !          4786: s%@host@%$host%;t t
        !          4787: s%@host_alias@%$host_alias%;t t
        !          4788: s%@host_cpu@%$host_cpu%;t t
        !          4789: s%@host_vendor@%$host_vendor%;t t
        !          4790: s%@host_os@%$host_os%;t t
        !          4791: s%@target@%$target%;t t
        !          4792: s%@target_alias@%$target_alias%;t t
        !          4793: s%@target_cpu@%$target_cpu%;t t
        !          4794: s%@target_vendor@%$target_vendor%;t t
        !          4795: s%@target_os@%$target_os%;t t
        !          4796: s%@build@%$build%;t t
        !          4797: s%@build_alias@%$build_alias%;t t
        !          4798: s%@build_cpu@%$build_cpu%;t t
        !          4799: s%@build_vendor@%$build_vendor%;t t
        !          4800: s%@build_os@%$build_os%;t t
        !          4801: s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%;t t
        !          4802: s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%;t t
        !          4803: s%@INSTALL_DATA@%$INSTALL_DATA%;t t
        !          4804: s%@PACKAGE@%$PACKAGE%;t t
        !          4805: s%@VERSION@%$VERSION%;t t
        !          4806: s%@ACLOCAL@%$ACLOCAL%;t t
        !          4807: s%@AUTOCONF@%$AUTOCONF%;t t
        !          4808: s%@AUTOMAKE@%$AUTOMAKE%;t t
        !          4809: s%@AUTOHEADER@%$AUTOHEADER%;t t
        !          4810: s%@MAKEINFO@%$MAKEINFO%;t t
        !          4811: s%@AMTAR@%$AMTAR%;t t
        !          4812: s%@install_sh@%$install_sh%;t t
        !          4813: s%@AWK@%$AWK%;t t
        !          4814: s%@SET_MAKE@%$SET_MAKE%;t t
        !          4815: s%@AMDEP@%$AMDEP%;t t
        !          4816: s%@AMDEPBACKSLASH@%$AMDEPBACKSLASH%;t t
        !          4817: s%@DEPDIR@%$DEPDIR%;t t
        !          4818: s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%;t t
        !          4819: s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%;t t
        !          4820: s%@MAINT@%$MAINT%;t t
        !          4821: s%@WANT_MPBSD_TRUE@%$WANT_MPBSD_TRUE%;t t
        !          4822: s%@WANT_MPBSD_FALSE@%$WANT_MPBSD_FALSE%;t t
        !          4823: s%@WANT_MPFR_TRUE@%$WANT_MPFR_TRUE%;t t
        !          4824: s%@WANT_MPFR_FALSE@%$WANT_MPFR_FALSE%;t t
        !          4825: s%@CC@%$CC%;t t
        !          4826: s%@CCAS@%$CCAS%;t t
        !          4827: s%@CPP@%$CPP%;t t
        !          4828: s%@LN_S@%$LN_S%;t t
        !          4829: s%@M4@%$M4%;t t
        !          4830: s%@AR@%$AR%;t t
        !          4831: s%@CALLING_CONVENTIONS_OBJS@%$CALLING_CONVENTIONS_OBJS%;t t
        !          4832: s%@SPEED_CYCLECOUNTER_OBJS@%$SPEED_CYCLECOUNTER_OBJS%;t t
        !          4833: s%@EXEEXT@%$EXEEXT%;t t
        !          4834: s%@OBJEXT@%$OBJEXT%;t t
        !          4835: s%@RANLIB@%$RANLIB%;t t
        !          4836: s%@STRIP@%$STRIP%;t t
        !          4837: s%@LIBTOOL@%$LIBTOOL%;t t
        !          4838: s%@U@%$U%;t t
        !          4839: s%@ANSI2KNR@%$ANSI2KNR%;t t
        !          4840: s%@mpn_objects@%$mpn_objects%;t t
        !          4841: s%@mpn_objs_in_libgmp@%$mpn_objs_in_libgmp%;t t
        !          4842: s%@gmp_srclinks@%$gmp_srclinks%;t t
        !          4843: CEOF
        !          4844:
        !          4845: EOF
        !          4846:
        !          4847:   cat >>$CONFIG_STATUS <<\EOF
        !          4848:   # Split the substitutions into bite-sized pieces for seds with
        !          4849:   # small command number limits, like on Digital OSF/1 and HP-UX.
        !          4850:   ac_max_sed_lines=48
        !          4851:   ac_sed_frag=1 # Number of current file.
        !          4852:   ac_beg=1 # First line for current file.
        !          4853:   ac_end=$ac_max_sed_lines # Line after last line for current file.
        !          4854:   ac_more_lines=:
        !          4855:   ac_sed_cmds=""
        !          4856:   while $ac_more_lines; do
        !          4857:     if test $ac_beg -gt 1; then
        !          4858:       sed "1,${ac_beg}d; ${ac_end}q" $ac_cs_root.subs >$ac_cs_root.sfrag
        !          4859:     else
        !          4860:       sed "${ac_end}q" $ac_cs_root.subs >$ac_cs_root.sfrag
        !          4861:     fi
        !          4862:     if test ! -s $ac_cs_root.sfrag; then
        !          4863:       ac_more_lines=false
        !          4864:       rm -f $ac_cs_root.sfrag
        !          4865:     else
        !          4866:       # The purpose of the label and of the branching condition is to
        !          4867:       # speed up the sed processing (if there are no `@' at all, there
        !          4868:       # is no need to browse any of the substitutions).
        !          4869:       # These are the two extra sed commands mentioned above.
        !          4870:       (echo ':t
        !          4871:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $ac_cs_root.sfrag) >$ac_cs_root.s$ac_sed_frag
        !          4872:       if test -z "$ac_sed_cmds"; then
        !          4873:        ac_sed_cmds="sed -f $ac_cs_root.s$ac_sed_frag"
        !          4874:       else
        !          4875:        ac_sed_cmds="$ac_sed_cmds | sed -f $ac_cs_root.s$ac_sed_frag"
        !          4876:       fi
        !          4877:       ac_sed_frag=`expr $ac_sed_frag + 1`
        !          4878:       ac_beg=$ac_end
        !          4879:       ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1       maekawa  4880:     fi
1.1.1.2 ! maekawa  4881:   done
        !          4882:   if test -z "$ac_sed_cmds"; then
        !          4883:     ac_sed_cmds=cat
        !          4884:   fi
        !          4885: fi # test -n "$CONFIG_FILES"
1.1       maekawa  4886:
                   4887: EOF
1.1.1.2 ! maekawa  4888: cat >>$CONFIG_STATUS <<\EOF
        !          4889: for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
        !          4890:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
        !          4891:   case "$ac_file" in
        !          4892:   *:*) ac_file_in=`echo "$ac_file" | sed 's%[^:]*:%%'`
        !          4893:        ac_file=`echo "$ac_file" | sed 's%:.*%%'` ;;
        !          4894:   *) ac_file_in="${ac_file}.in" ;;
        !          4895:   esac
        !          4896:
        !          4897:   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
        !          4898:
        !          4899:   # Remove last slash and all that follows it.  Not all systems have dirname.
        !          4900:   ac_dir=`echo "$ac_file" | sed 's%/[^/][^/]*$%%'`
        !          4901:   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
        !          4902:     # The file is in a subdirectory.
        !          4903:     test ! -d "$ac_dir" && mkdir "$ac_dir"
        !          4904:     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
        !          4905:     # A "../" for each directory in $ac_dir_suffix.
        !          4906:     ac_dots=`echo "$ac_dir_suffix" | sed 's%/[^/]*%../%g'`
        !          4907:   else
        !          4908:     ac_dir_suffix= ac_dots=
        !          4909:   fi
1.1       maekawa  4910:
1.1.1.2 ! maekawa  4911:   case "$ac_given_srcdir" in
        !          4912:   .)  srcdir=.
        !          4913:       if test -z "$ac_dots"; then top_srcdir=.
        !          4914:       else top_srcdir=`echo $ac_dots | sed 's%/$%%'`; fi ;;
        !          4915:   [\\/]* | ?:[\\/]* )
        !          4916:       srcdir="$ac_given_srcdir$ac_dir_suffix";
        !          4917:       top_srcdir=$ac_given_srcdir ;;
        !          4918:   *) # Relative path.
        !          4919:     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
        !          4920:     top_srcdir="$ac_dots$ac_given_srcdir" ;;
        !          4921:   esac
        !          4922:
        !          4923:   case "$ac_given_INSTALL" in
        !          4924:   [\\/$]* | ?:[\\/]* ) INSTALL="$ac_given_INSTALL" ;;
        !          4925:   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
        !          4926:   esac
        !          4927:
        !          4928:   echo creating "$ac_file"
        !          4929:   rm -f "$ac_file"
        !          4930:   configure_input="Generated automatically from `echo $ac_file_in |
        !          4931:                                                  sed 's%.*/%%'` by configure."
        !          4932:   case "$ac_file" in
        !          4933:   *[Mm]akefile*) ac_comsub="1i\\
        !          4934: # $configure_input" ;;
        !          4935:   *) ac_comsub= ;;
        !          4936:   esac
        !          4937:
        !          4938:   # Don't redirect the output to AC_FILE directly: use `mv' so that updating
        !          4939:   # is atomic, and doesn't need trapping.
        !          4940:   ac_file_inputs=`echo "$ac_file_in" |
        !          4941:                   sed -e "s%:% $ac_given_srcdir/%g;s%^%$ac_given_srcdir/%"`
        !          4942:   for ac_file_input in $ac_file_inputs;
        !          4943:   do
        !          4944:     test -f "$ac_file_input" ||
        !          4945:         { echo "configure: error: cannot find input file \`$ac_file_input'" 1>&2; exit 1; }
        !          4946:   done
        !          4947: EOF
        !          4948: cat >>$CONFIG_STATUS <<EOF
        !          4949:   sed -e "$ac_comsub
        !          4950: $ac_vpsub
        !          4951: $extrasub
        !          4952: EOF
        !          4953: cat >>$CONFIG_STATUS <<\EOF
        !          4954: :t
        !          4955: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
        !          4956: s%@configure_input@%$configure_input%;t t
        !          4957: s%@srcdir@%$srcdir%;t t
        !          4958: s%@top_srcdir@%$top_srcdir%;t t
        !          4959: s%@INSTALL@%$INSTALL%;t t
        !          4960: " $ac_file_inputs | (eval "$ac_sed_cmds") >$ac_cs_root.out
        !          4961:   mv $ac_cs_root.out $ac_file
        !          4962:
        !          4963: fi; done
        !          4964: rm -f $ac_cs_root.s*
        !          4965: EOF
        !          4966: cat >>$CONFIG_STATUS <<\EOF
1.1       maekawa  4967:
1.1.1.2 ! maekawa  4968: #
        !          4969: # CONFIG_HEADER section.
        !          4970: #
1.1       maekawa  4971:
1.1.1.2 ! maekawa  4972: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
        !          4973: # NAME is the cpp macro being defined and VALUE is the value it is being given.
        !          4974: #
        !          4975: # ac_d sets the value in "#define NAME VALUE" lines.
        !          4976: ac_dA='s%^\([  ]*\)#\([        ]*define[       ][      ]*\)'
        !          4977: ac_dB='[       ].*$%\1#\2'
        !          4978: ac_dC=' '
        !          4979: ac_dD='%;t'
        !          4980: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
        !          4981: ac_uA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
        !          4982: ac_uB='$%\1#\2define\3'
        !          4983: ac_uC=' '
        !          4984: ac_uD='%;t'
        !          4985:
        !          4986: for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
        !          4987:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
        !          4988:   case "$ac_file" in
        !          4989:   *:*) ac_file_in=`echo "$ac_file" | sed 's%[^:]*:%%'`
        !          4990:        ac_file=`echo "$ac_file" | sed 's%:.*%%'` ;;
        !          4991:   *) ac_file_in="${ac_file}.in" ;;
        !          4992:   esac
        !          4993:
        !          4994:   echo creating $ac_file
        !          4995:
        !          4996:   rm -f $ac_cs_root.frag $ac_cs_root.in $ac_cs_root.out
        !          4997:   ac_file_inputs=`echo "$ac_file_in" |
        !          4998:                   sed -e "s%:% $ac_given_srcdir/%g;s%^%$ac_given_srcdir/%"`
        !          4999:     for ac_file_input in $ac_file_inputs;
        !          5000:   do
        !          5001:     test -f "$ac_file_input" ||
        !          5002:         { echo "configure: error: cannot find input file \`$ac_file_input'" 1>&2; exit 1; }
        !          5003:   done
        !          5004:   # Remove the trailing spaces.
        !          5005:   sed -e 's/[  ]*$//' $ac_file_inputs >$ac_cs_root.in
1.1       maekawa  5006:
1.1.1.2 ! maekawa  5007: EOF
1.1       maekawa  5008:
1.1.1.2 ! maekawa  5009: # Transform confdefs.h into two sed scripts, `conftest.defines' and
        !          5010: # `conftest.undefs', that substitutes the proper values into
        !          5011: # config.h.in to produce config.h.  The first handles `#define'
        !          5012: # templates, and the second `#undef' templates.
        !          5013: # And first: Protect against being on the right side of a sed subst in
        !          5014: # config.status.  Protect against being in an unquoted here document
        !          5015: # in config.status.
        !          5016: rm -f conftest.defines conftest.undefs
        !          5017: ac_cs_root=conftest
        !          5018: cat >$ac_cs_root.hdr <<\EOF
        !          5019: s/[\\&%]/\\&/g
        !          5020: s%[\\$`]%\\&%g
        !          5021: t clear
        !          5022: : clear
        !          5023: s%^[   ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$%${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD}%gp
        !          5024: t cleanup
        !          5025: s%^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
        !          5026: : cleanup
        !          5027: EOF
        !          5028: # If some macros were called several times there might be several times
        !          5029: # the same #defines, which is useless.  Nevertheless, we may not want to
        !          5030: # sort them, since we want the *last* AC_DEFINE to be honored.
        !          5031: uniq confdefs.h | sed -n -f $ac_cs_root.hdr >conftest.defines
        !          5032: sed -e 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
        !          5033: rm -f $ac_cs_root.hdr
        !          5034:
        !          5035: # This sed command replaces #undef with comments.  This is necessary, for
        !          5036: # example, in the case of _POSIX_SOURCE, which is predefined and required
        !          5037: # on some systems where configure will not decide to define it.
        !          5038: cat >>conftest.undefs <<\EOF
        !          5039: s%^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
        !          5040: EOF
1.1       maekawa  5041:
1.1.1.2 ! maekawa  5042: # Break up conftest.defines because some shells have a limit on the size
        !          5043: # of here documents, and old seds have small limits too (100 cmds).
        !          5044: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
        !          5045: echo '  if egrep "^[   ]*#[    ]*define" $ac_cs_root.in >/dev/null; then' >>$CONFIG_STATUS
        !          5046: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
        !          5047: echo '  :' >>$CONFIG_STATUS
        !          5048: rm -f conftest.tail
        !          5049: while grep . conftest.defines >/dev/null
        !          5050: do
        !          5051:   # Write a limited-size here document to $ac_cs_root.frag.
        !          5052:   echo '  cat >$ac_cs_root.frag <<CEOF' >>$CONFIG_STATUS
        !          5053:   echo '/^[    ]*#[    ]*define/!b' >>$CONFIG_STATUS
        !          5054:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
        !          5055:   echo 'CEOF
        !          5056:   sed -f $ac_cs_root.frag $ac_cs_root.in >$ac_cs_root.out
        !          5057:   rm -f $ac_cs_root.in
        !          5058:   mv $ac_cs_root.out $ac_cs_root.in
        !          5059: ' >>$CONFIG_STATUS
        !          5060:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
        !          5061:   rm -f conftest.defines
        !          5062:   mv conftest.tail conftest.defines
        !          5063: done
        !          5064: rm -f conftest.defines
        !          5065: echo '  fi # egrep' >>$CONFIG_STATUS
        !          5066: echo >>$CONFIG_STATUS
        !          5067:
        !          5068: # Break up conftest.undefs because some shells have a limit on the size
        !          5069: # of here documents, and old seds have small limits too (100 cmds).
        !          5070: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
        !          5071: rm -f conftest.tail
        !          5072: while grep . conftest.undefs >/dev/null
        !          5073: do
        !          5074:   # Write a limited-size here document to $ac_cs_root.frag.
        !          5075:   echo '  cat >$ac_cs_root.frag <<CEOF' >>$CONFIG_STATUS
        !          5076:   echo '/^[    ]*#[    ]*undef/!b' >>$CONFIG_STATUS
        !          5077:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
        !          5078:   echo 'CEOF
        !          5079:   sed -f $ac_cs_root.frag $ac_cs_root.in >$ac_cs_root.out
        !          5080:   rm -f $ac_cs_root.in
        !          5081:   mv $ac_cs_root.out $ac_cs_root.in
        !          5082: ' >>$CONFIG_STATUS
        !          5083:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
        !          5084:   rm -f conftest.undefs
        !          5085:   mv conftest.tail conftest.undefs
1.1       maekawa  5086: done
1.1.1.2 ! maekawa  5087: rm -f conftest.undefs
1.1       maekawa  5088:
1.1.1.2 ! maekawa  5089: cat >>$CONFIG_STATUS <<\EOF
        !          5090:   rm -f $ac_cs_root.frag $ac_cs_root.h
        !          5091:   echo "/* $ac_file.  Generated automatically by configure.  */" >$ac_cs_root.h
        !          5092:   cat $ac_cs_root.in >>$ac_cs_root.h
        !          5093:   rm -f $ac_cs_root.in
        !          5094:   if cmp -s $ac_file $ac_cs_root.h 2>/dev/null; then
        !          5095:     echo "$ac_file is unchanged"
        !          5096:     rm -f $ac_cs_root.h
        !          5097:   else
        !          5098:     # Remove last slash and all that follows it.  Not all systems have dirname.
        !          5099:     ac_dir=`echo "$ac_file" | sed 's%/[^/][^/]*$%%'`
        !          5100:     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
        !          5101:       # The file is in a subdirectory.
        !          5102:       test ! -d "$ac_dir" && mkdir "$ac_dir"
        !          5103:     fi
        !          5104:     rm -f $ac_file
        !          5105:     mv $ac_cs_root.h $ac_file
        !          5106:   fi
        !          5107: fi; done
        !          5108: EOF
        !          5109: cat >>$CONFIG_STATUS <<\EOF
1.1       maekawa  5110:
1.1.1.2 ! maekawa  5111: #
        !          5112: # CONFIG_LINKS section.
        !          5113: #
        !          5114: srcdir=$ac_given_srcdir
        !          5115:
        !          5116: for ac_file in : $CONFIG_LINKS; do if test "x$ac_file" != x:; then
        !          5117:   ac_dest=`echo "$ac_file" | sed 's%:.*%%'`
        !          5118:   ac_source=`echo "$ac_file" | sed 's%[^:]*:%%'`
        !          5119:
        !          5120:   echo "linking $srcdir/$ac_source to $ac_dest"
        !          5121:
        !          5122:   if test ! -r $srcdir/$ac_source; then
        !          5123:     { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
        !          5124:   fi
        !          5125:   rm -f $ac_dest
        !          5126:
        !          5127:   # Make relative symlinks.
        !          5128:   # Remove last slash and all that follows it.  Not all systems have dirname.
        !          5129:   ac_dest_dir=`echo $ac_dest | sed 's%/[^/][^/]*$%%'`
        !          5130:   if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
        !          5131:     # The dest file is in a subdirectory.
        !          5132:     test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
        !          5133:     ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
        !          5134:     # A "../" for each directory in $ac_dest_dir_suffix.
        !          5135:     ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
        !          5136:   else
        !          5137:     ac_dest_dir_suffix= ac_dots=
        !          5138:   fi
        !          5139:
        !          5140:   case "$srcdir" in
        !          5141:   [\\/$]* | ?:[\\/]* ) ac_rel_source="$srcdir/$ac_source" ;;
        !          5142:       *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
        !          5143:   esac
        !          5144:
        !          5145:   # Make a symlink if possible; otherwise try a hard link.
        !          5146:   if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
        !          5147:      ln $srcdir/$ac_source $ac_dest; then :
        !          5148:   else
        !          5149:     { echo "configure: error: cannot link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
        !          5150:   fi
        !          5151: fi; done
        !          5152: EOF
        !          5153: cat >>$CONFIG_STATUS <<\EOF
1.1       maekawa  5154:
                   5155: #
1.1.1.2 ! maekawa  5156: # CONFIG_COMMANDS section.
1.1       maekawa  5157: #
1.1.1.2 ! maekawa  5158: for ac_file in .. $CONFIG_COMMANDS; do if test "x$ac_file" != x..; then
        !          5159:   ac_dest=`echo "$ac_file" | sed 's%:.*%%'`
        !          5160:   ac_source=`echo "$ac_file" | sed 's%[^:]*:%%'`
        !          5161:
        !          5162:   case "$ac_dest" in
        !          5163:     default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
        !          5164:   esac
        !          5165: fi;done
        !          5166: EOF
        !          5167:
        !          5168: cat >>$CONFIG_STATUS <<\EOF
        !          5169:
        !          5170: exit 0
        !          5171: EOF
        !          5172: chmod +x $CONFIG_STATUS
        !          5173: rm -fr confdefs* $ac_clean_files
        !          5174: trap 'exit 1' 1 2 15
1.1       maekawa  5175:
1.1.1.2 ! maekawa  5176: test "$no_create" = yes || $SHELL $CONFIG_STATUS || exit 1

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>