eggmod.sh 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  1. # This is the original `configure' script modified for eggdrop use. All
  2. # changes are marked with `EGG-CHANGE-POINT'.
  3. #
  4. #
  5. # Guess values for system-dependent variables and create Makefiles.
  6. # Generated automatically using autoconf version 2.13
  7. # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  8. #
  9. # This configure script is free software; the Free Software Foundation
  10. # gives unlimited permission to copy, distribute and modify it.
  11. # Defaults:
  12. ac_help=
  13. ac_default_prefix=/usr/local
  14. # Any additions from configure.in:
  15. # Initialize some variables set by options.
  16. # The variables have the same names as the options, with
  17. # dashes changed to underlines.
  18. build=NONE
  19. cache_file=./config.cache
  20. exec_prefix=NONE
  21. host=NONE
  22. no_create=
  23. nonopt=NONE
  24. no_recursion=
  25. prefix=NONE
  26. program_prefix=NONE
  27. program_suffix=NONE
  28. program_transform_name=s,x,x,
  29. silent=
  30. site=
  31. srcdir=
  32. target=NONE
  33. verbose=
  34. x_includes=NONE
  35. x_libraries=NONE
  36. bindir='${exec_prefix}/bin'
  37. sbindir='${exec_prefix}/sbin'
  38. libexecdir='${exec_prefix}/libexec'
  39. datadir='${prefix}/share'
  40. sysconfdir='${prefix}/etc'
  41. sharedstatedir='${prefix}/com'
  42. localstatedir='${prefix}/var'
  43. libdir='${exec_prefix}/lib'
  44. includedir='${prefix}/include'
  45. oldincludedir='/usr/include'
  46. infodir='${prefix}/info'
  47. mandir='${prefix}/man'
  48. # Initialize some other variables.
  49. subdirs=
  50. MFLAGS= MAKEFLAGS=
  51. SHELL=${CONFIG_SHELL-/bin/sh}
  52. # Maximum number of lines to put in a shell here document.
  53. ac_max_here_lines=12
  54. ac_prev=
  55. for ac_option
  56. do
  57. # If the previous option needs an argument, assign it.
  58. if test -n "$ac_prev"; then
  59. eval "$ac_prev=\$ac_option"
  60. ac_prev=
  61. continue
  62. fi
  63. case "$ac_option" in
  64. -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  65. *) ac_optarg= ;;
  66. esac
  67. # Accept the important Cygnus configure options, so we can diagnose typos.
  68. case "$ac_option" in
  69. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  70. ac_prev=bindir ;;
  71. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  72. bindir="$ac_optarg" ;;
  73. -build | --build | --buil | --bui | --bu)
  74. ac_prev=build ;;
  75. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  76. build="$ac_optarg" ;;
  77. -cache-file | --cache-file | --cache-fil | --cache-fi \
  78. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  79. ac_prev=cache_file ;;
  80. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  81. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  82. cache_file="$ac_optarg" ;;
  83. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  84. ac_prev=datadir ;;
  85. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  86. | --da=*)
  87. datadir="$ac_optarg" ;;
  88. -disable-* | --disable-*)
  89. ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  90. # Reject names that are not valid shell variable names.
  91. if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  92. { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  93. fi
  94. ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  95. eval "enable_${ac_feature}=no" ;;
  96. -enable-* | --enable-*)
  97. ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  98. # Reject names that are not valid shell variable names.
  99. if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  100. { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  101. fi
  102. ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  103. case "$ac_option" in
  104. *=*) ;;
  105. *) ac_optarg=yes ;;
  106. esac
  107. eval "enable_${ac_feature}='$ac_optarg'" ;;
  108. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  109. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  110. | --exec | --exe | --ex)
  111. ac_prev=exec_prefix ;;
  112. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  113. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  114. | --exec=* | --exe=* | --ex=*)
  115. exec_prefix="$ac_optarg" ;;
  116. -gas | --gas | --ga | --g)
  117. # Obsolete; use --with-gas.
  118. with_gas=yes ;;
  119. -help | --help | --hel | --he)
  120. # Omit some internal or obsolete options to make the list less imposing.
  121. # This message is too long to be a string in the A/UX 3.1 sh.
  122. cat << EOF
  123. Usage: configure [options] [host]
  124. Options: [defaults in brackets after descriptions]
  125. Configuration:
  126. --cache-file=FILE cache test results in FILE
  127. --help print this message
  128. --no-create do not create output files
  129. --quiet, --silent do not print \`checking...' messages
  130. --version print the version of autoconf that created configure
  131. Directory and file names:
  132. --prefix=PREFIX install architecture-independent files in PREFIX
  133. [$ac_default_prefix]
  134. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  135. [same as prefix]
  136. --bindir=DIR user executables in DIR [EPREFIX/bin]
  137. --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
  138. --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
  139. --datadir=DIR read-only architecture-independent data in DIR
  140. [PREFIX/share]
  141. --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
  142. --sharedstatedir=DIR modifiable architecture-independent data in DIR
  143. [PREFIX/com]
  144. --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
  145. --libdir=DIR object code libraries in DIR [EPREFIX/lib]
  146. --includedir=DIR C header files in DIR [PREFIX/include]
  147. --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
  148. --infodir=DIR info documentation in DIR [PREFIX/info]
  149. --mandir=DIR man documentation in DIR [PREFIX/man]
  150. --srcdir=DIR find the sources in DIR [configure dir or ..]
  151. --program-prefix=PREFIX prepend PREFIX to installed program names
  152. --program-suffix=SUFFIX append SUFFIX to installed program names
  153. --program-transform-name=PROGRAM
  154. run sed PROGRAM on installed program names
  155. EOF
  156. cat << EOF
  157. Host type:
  158. --build=BUILD configure for building on BUILD [BUILD=HOST]
  159. --host=HOST configure for HOST [guessed]
  160. --target=TARGET configure for TARGET [TARGET=HOST]
  161. Features and packages:
  162. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  163. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  164. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  165. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  166. --x-includes=DIR X include files are in DIR
  167. --x-libraries=DIR X library files are in DIR
  168. EOF
  169. if test -n "$ac_help"; then
  170. echo "--enable and --with options recognized:$ac_help"
  171. fi
  172. exit 0 ;;
  173. -host | --host | --hos | --ho)
  174. ac_prev=host ;;
  175. -host=* | --host=* | --hos=* | --ho=*)
  176. host="$ac_optarg" ;;
  177. -includedir | --includedir | --includedi | --included | --include \
  178. | --includ | --inclu | --incl | --inc)
  179. ac_prev=includedir ;;
  180. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  181. | --includ=* | --inclu=* | --incl=* | --inc=*)
  182. includedir="$ac_optarg" ;;
  183. -infodir | --infodir | --infodi | --infod | --info | --inf)
  184. ac_prev=infodir ;;
  185. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  186. infodir="$ac_optarg" ;;
  187. -libdir | --libdir | --libdi | --libd)
  188. ac_prev=libdir ;;
  189. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  190. libdir="$ac_optarg" ;;
  191. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  192. | --libexe | --libex | --libe)
  193. ac_prev=libexecdir ;;
  194. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  195. | --libexe=* | --libex=* | --libe=*)
  196. libexecdir="$ac_optarg" ;;
  197. -localstatedir | --localstatedir | --localstatedi | --localstated \
  198. | --localstate | --localstat | --localsta | --localst \
  199. | --locals | --local | --loca | --loc | --lo)
  200. ac_prev=localstatedir ;;
  201. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  202. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  203. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  204. localstatedir="$ac_optarg" ;;
  205. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  206. ac_prev=mandir ;;
  207. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  208. mandir="$ac_optarg" ;;
  209. -nfp | --nfp | --nf)
  210. # Obsolete; use --without-fp.
  211. with_fp=no ;;
  212. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  213. | --no-cr | --no-c)
  214. no_create=yes ;;
  215. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  216. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  217. no_recursion=yes ;;
  218. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  219. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  220. | --oldin | --oldi | --old | --ol | --o)
  221. ac_prev=oldincludedir ;;
  222. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  223. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  224. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  225. oldincludedir="$ac_optarg" ;;
  226. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  227. ac_prev=prefix ;;
  228. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  229. prefix="$ac_optarg" ;;
  230. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  231. | --program-pre | --program-pr | --program-p)
  232. ac_prev=program_prefix ;;
  233. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  234. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  235. program_prefix="$ac_optarg" ;;
  236. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  237. | --program-suf | --program-su | --program-s)
  238. ac_prev=program_suffix ;;
  239. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  240. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  241. program_suffix="$ac_optarg" ;;
  242. -program-transform-name | --program-transform-name \
  243. | --program-transform-nam | --program-transform-na \
  244. | --program-transform-n | --program-transform- \
  245. | --program-transform | --program-transfor \
  246. | --program-transfo | --program-transf \
  247. | --program-trans | --program-tran \
  248. | --progr-tra | --program-tr | --program-t)
  249. ac_prev=program_transform_name ;;
  250. -program-transform-name=* | --program-transform-name=* \
  251. | --program-transform-nam=* | --program-transform-na=* \
  252. | --program-transform-n=* | --program-transform-=* \
  253. | --program-transform=* | --program-transfor=* \
  254. | --program-transfo=* | --program-transf=* \
  255. | --program-trans=* | --program-tran=* \
  256. | --progr-tra=* | --program-tr=* | --program-t=*)
  257. program_transform_name="$ac_optarg" ;;
  258. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  259. | -silent | --silent | --silen | --sile | --sil)
  260. silent=yes ;;
  261. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  262. ac_prev=sbindir ;;
  263. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  264. | --sbi=* | --sb=*)
  265. sbindir="$ac_optarg" ;;
  266. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  267. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  268. | --sharedst | --shareds | --shared | --share | --shar \
  269. | --sha | --sh)
  270. ac_prev=sharedstatedir ;;
  271. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  272. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  273. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  274. | --sha=* | --sh=*)
  275. sharedstatedir="$ac_optarg" ;;
  276. -site | --site | --sit)
  277. ac_prev=site ;;
  278. -site=* | --site=* | --sit=*)
  279. site="$ac_optarg" ;;
  280. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  281. ac_prev=srcdir ;;
  282. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  283. srcdir="$ac_optarg" ;;
  284. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  285. | --syscon | --sysco | --sysc | --sys | --sy)
  286. ac_prev=sysconfdir ;;
  287. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  288. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  289. sysconfdir="$ac_optarg" ;;
  290. -target | --target | --targe | --targ | --tar | --ta | --t)
  291. ac_prev=target ;;
  292. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  293. target="$ac_optarg" ;;
  294. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  295. verbose=yes ;;
  296. -version | --version | --versio | --versi | --vers)
  297. echo "configure generated by autoconf version 2.13"
  298. exit 0 ;;
  299. -with-* | --with-*)
  300. ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  301. # Reject names that are not valid shell variable names.
  302. if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  303. { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  304. fi
  305. ac_package=`echo $ac_package| sed 's/-/_/g'`
  306. case "$ac_option" in
  307. *=*) ;;
  308. *) ac_optarg=yes ;;
  309. esac
  310. eval "with_${ac_package}='$ac_optarg'" ;;
  311. -without-* | --without-*)
  312. ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  313. # Reject names that are not valid shell variable names.
  314. if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  315. { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  316. fi
  317. ac_package=`echo $ac_package| sed 's/-/_/g'`
  318. eval "with_${ac_package}=no" ;;
  319. --x)
  320. # Obsolete; use --with-x.
  321. with_x=yes ;;
  322. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  323. | --x-incl | --x-inc | --x-in | --x-i)
  324. ac_prev=x_includes ;;
  325. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  326. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  327. x_includes="$ac_optarg" ;;
  328. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  329. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  330. ac_prev=x_libraries ;;
  331. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  332. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  333. x_libraries="$ac_optarg" ;;
  334. -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  335. ;;
  336. *)
  337. if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  338. echo "configure: warning: $ac_option: invalid host type" 1>&2
  339. fi
  340. if test "x$nonopt" != xNONE; then
  341. { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  342. fi
  343. nonopt="$ac_option"
  344. ;;
  345. esac
  346. done
  347. if test -n "$ac_prev"; then
  348. { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  349. fi
  350. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  351. # File descriptor usage:
  352. # 0 standard input
  353. # 1 file creation
  354. # 2 errors and warnings
  355. # 3 some systems may open it to /dev/tty
  356. # 4 used on the Kubota Titan
  357. # 6 checking for... messages and results
  358. # 5 compiler messages saved in config.log
  359. if test "$silent" = yes; then
  360. exec 6>/dev/null
  361. else
  362. exec 6>&1
  363. fi
  364. exec 5>./config.log
  365. echo "\
  366. This file contains any messages produced by compilers while
  367. running configure, to aid debugging if configure makes a mistake.
  368. " 1>&5
  369. # Strip out --no-create and --no-recursion so they do not pile up.
  370. # Also quote any args containing shell metacharacters.
  371. ac_configure_args=
  372. for ac_arg
  373. do
  374. case "$ac_arg" in
  375. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  376. | --no-cr | --no-c) ;;
  377. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  378. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  379. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  380. ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  381. *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  382. esac
  383. done
  384. # NLS nuisances.
  385. # Only set these to C if already set. These must not be set unconditionally
  386. # because not all systems understand e.g. LANG=C (notably SCO).
  387. # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
  388. # Non-C LC_CTYPE values break the ctype check.
  389. if test "${LANG+set}" = set; then LANG=C; export LANG; fi
  390. if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  391. if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
  392. if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
  393. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  394. rm -rf conftest* confdefs.h
  395. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  396. echo > confdefs.h
  397. # A filename unique to this package, relative to the directory that
  398. # configure is in, which we can look for to find out if srcdir is correct.
  399. ## EGG-CHANGE-POINT
  400. ## Instead of a static filename, the variable $ac_egg_uniquefile specifies
  401. ## the unique file.
  402. ac_unique_file=${ac_egg_uniquefile}
  403. # Find the source files, if location was not specified.
  404. if test -z "$srcdir"; then
  405. ac_srcdir_defaulted=yes
  406. # Try the directory containing this script, then its parent.
  407. ac_prog=$0
  408. ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  409. test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  410. srcdir=$ac_confdir
  411. if test ! -r $srcdir/$ac_unique_file; then
  412. srcdir=..
  413. fi
  414. else
  415. ac_srcdir_defaulted=no
  416. fi
  417. if test ! -r $srcdir/$ac_unique_file; then
  418. if test "$ac_srcdir_defaulted" = yes; then
  419. { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  420. else
  421. { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  422. fi
  423. fi
  424. srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  425. # Prefer explicitly selected file to automatically selected ones.
  426. if test -z "$CONFIG_SITE"; then
  427. if test "x$prefix" != xNONE; then
  428. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  429. else
  430. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  431. fi
  432. fi
  433. for ac_site_file in $CONFIG_SITE; do
  434. if test -r "$ac_site_file"; then
  435. echo "loading site script $ac_site_file"
  436. . "$ac_site_file"
  437. fi
  438. done
  439. if test -r "$cache_file"; then
  440. echo "loading cache $cache_file"
  441. . $cache_file
  442. else
  443. echo "creating cache $cache_file"
  444. > $cache_file
  445. fi
  446. ac_ext=c
  447. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  448. ac_cpp='$CPP $CPPFLAGS'
  449. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  450. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  451. cross_compiling=$ac_cv_prog_cc_cross
  452. ac_exeext=
  453. ac_objext=o
  454. if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  455. # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  456. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  457. ac_n= ac_c='
  458. ' ac_t=' '
  459. else
  460. ac_n=-n ac_c= ac_t=
  461. fi
  462. else
  463. ac_n= ac_c='\c' ac_t=
  464. fi
  465. ## EGG-CHANGE-POINT
  466. ## The original configure script would now normally execute the
  467. ## normal tests.