PageRenderTime 64ms CodeModel.GetById 29ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/release-1-2-0-rc1/noffle/configure

#
Shell | 2124 lines | 1707 code | 177 blank | 240 comment | 268 complexity | c23745d03cac0afd67e04f896c45a9fc MD5 | raw file
Possible License(s): GPL-2.0

Large files files are truncated, but you can click here to view the full file

  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated automatically using autoconf version 2.13
  4. # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  5. #
  6. # This configure script is free software; the Free Software Foundation
  7. # gives unlimited permission to copy, distribute and modify it.
  8. # Defaults:
  9. ac_help=
  10. ac_default_prefix=/usr/local
  11. # Any additions from configure.in:
  12. ac_help="$ac_help
  13. --with-gdbm-include=DIR GDBM header files are in DIR"
  14. ac_help="$ac_help
  15. --with-gdbm-libdir=DIR GDBM library files are in DIR"
  16. ac_help="$ac_help
  17. --enable-auth=[no/file/pam] enable authentication [default=no]"
  18. ac_help="$ac_help
  19. --with-usersfile=FILE users file [/etc/noffle.users]"
  20. ac_help="$ac_help
  21. --enable-debug=[no/yes] build with debugging [default=no]"
  22. ac_help="$ac_help
  23. --with-docdir=DIR other documentation [PREFIX/share/doc/noffle]"
  24. ac_help="$ac_help
  25. --with-spooldir=DIR news spool directory [/var/spool/noffle]"
  26. ac_help="$ac_help
  27. --with-configfile=FILE configuration file [/etc/noffle.conf]"
  28. # Initialize some variables set by options.
  29. # The variables have the same names as the options, with
  30. # dashes changed to underlines.
  31. build=NONE
  32. cache_file=./config.cache
  33. exec_prefix=NONE
  34. host=NONE
  35. no_create=
  36. nonopt=NONE
  37. no_recursion=
  38. prefix=NONE
  39. program_prefix=NONE
  40. program_suffix=NONE
  41. program_transform_name=s,x,x,
  42. silent=
  43. site=
  44. srcdir=
  45. target=NONE
  46. verbose=
  47. x_includes=NONE
  48. x_libraries=NONE
  49. bindir='${exec_prefix}/bin'
  50. sbindir='${exec_prefix}/sbin'
  51. libexecdir='${exec_prefix}/libexec'
  52. datadir='${prefix}/share'
  53. sysconfdir='${prefix}/etc'
  54. sharedstatedir='${prefix}/com'
  55. localstatedir='${prefix}/var'
  56. libdir='${exec_prefix}/lib'
  57. includedir='${prefix}/include'
  58. oldincludedir='/usr/include'
  59. infodir='${prefix}/info'
  60. mandir='${prefix}/man'
  61. # Initialize some other variables.
  62. subdirs=
  63. MFLAGS= MAKEFLAGS=
  64. SHELL=${CONFIG_SHELL-/bin/sh}
  65. # Maximum number of lines to put in a shell here document.
  66. ac_max_here_lines=12
  67. ac_prev=
  68. for ac_option
  69. do
  70. # If the previous option needs an argument, assign it.
  71. if test -n "$ac_prev"; then
  72. eval "$ac_prev=\$ac_option"
  73. ac_prev=
  74. continue
  75. fi
  76. case "$ac_option" in
  77. -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  78. *) ac_optarg= ;;
  79. esac
  80. # Accept the important Cygnus configure options, so we can diagnose typos.
  81. case "$ac_option" in
  82. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  83. ac_prev=bindir ;;
  84. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  85. bindir="$ac_optarg" ;;
  86. -build | --build | --buil | --bui | --bu)
  87. ac_prev=build ;;
  88. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  89. build="$ac_optarg" ;;
  90. -cache-file | --cache-file | --cache-fil | --cache-fi \
  91. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  92. ac_prev=cache_file ;;
  93. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  94. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  95. cache_file="$ac_optarg" ;;
  96. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  97. ac_prev=datadir ;;
  98. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  99. | --da=*)
  100. datadir="$ac_optarg" ;;
  101. -disable-* | --disable-*)
  102. ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  103. # Reject names that are not valid shell variable names.
  104. if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  105. { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  106. fi
  107. ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  108. eval "enable_${ac_feature}=no" ;;
  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 test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  113. { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  114. fi
  115. ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  116. case "$ac_option" in
  117. *=*) ;;
  118. *) ac_optarg=yes ;;
  119. esac
  120. eval "enable_${ac_feature}='$ac_optarg'" ;;
  121. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  122. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  123. | --exec | --exe | --ex)
  124. ac_prev=exec_prefix ;;
  125. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  126. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  127. | --exec=* | --exe=* | --ex=*)
  128. exec_prefix="$ac_optarg" ;;
  129. -gas | --gas | --ga | --g)
  130. # Obsolete; use --with-gas.
  131. with_gas=yes ;;
  132. -help | --help | --hel | --he)
  133. # Omit some internal or obsolete options to make the list less imposing.
  134. # This message is too long to be a string in the A/UX 3.1 sh.
  135. cat << EOF
  136. Usage: configure [options] [host]
  137. Options: [defaults in brackets after descriptions]
  138. Configuration:
  139. --cache-file=FILE cache test results in FILE
  140. --help print this message
  141. --no-create do not create output files
  142. --quiet, --silent do not print \`checking...' messages
  143. --version print the version of autoconf that created configure
  144. Directory and file names:
  145. --prefix=PREFIX install architecture-independent files in PREFIX
  146. [$ac_default_prefix]
  147. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  148. [same as prefix]
  149. --bindir=DIR user executables in DIR [EPREFIX/bin]
  150. --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
  151. --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
  152. --datadir=DIR read-only architecture-independent data in DIR
  153. [PREFIX/share]
  154. --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
  155. --sharedstatedir=DIR modifiable architecture-independent data in DIR
  156. [PREFIX/com]
  157. --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
  158. --libdir=DIR object code libraries in DIR [EPREFIX/lib]
  159. --includedir=DIR C header files in DIR [PREFIX/include]
  160. --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
  161. --infodir=DIR info documentation in DIR [PREFIX/info]
  162. --mandir=DIR man documentation in DIR [PREFIX/man]
  163. --srcdir=DIR find the sources in DIR [configure dir or ..]
  164. --program-prefix=PREFIX prepend PREFIX to installed program names
  165. --program-suffix=SUFFIX append SUFFIX to installed program names
  166. --program-transform-name=PROGRAM
  167. run sed PROGRAM on installed program names
  168. EOF
  169. cat << EOF
  170. Host type:
  171. --build=BUILD configure for building on BUILD [BUILD=HOST]
  172. --host=HOST configure for HOST [guessed]
  173. --target=TARGET configure for TARGET [TARGET=HOST]
  174. Features and packages:
  175. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  176. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  177. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  178. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  179. --x-includes=DIR X include files are in DIR
  180. --x-libraries=DIR X library files are in DIR
  181. EOF
  182. if test -n "$ac_help"; then
  183. echo "--enable and --with options recognized:$ac_help"
  184. fi
  185. exit 0 ;;
  186. -host | --host | --hos | --ho)
  187. ac_prev=host ;;
  188. -host=* | --host=* | --hos=* | --ho=*)
  189. host="$ac_optarg" ;;
  190. -includedir | --includedir | --includedi | --included | --include \
  191. | --includ | --inclu | --incl | --inc)
  192. ac_prev=includedir ;;
  193. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  194. | --includ=* | --inclu=* | --incl=* | --inc=*)
  195. includedir="$ac_optarg" ;;
  196. -infodir | --infodir | --infodi | --infod | --info | --inf)
  197. ac_prev=infodir ;;
  198. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  199. infodir="$ac_optarg" ;;
  200. -libdir | --libdir | --libdi | --libd)
  201. ac_prev=libdir ;;
  202. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  203. libdir="$ac_optarg" ;;
  204. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  205. | --libexe | --libex | --libe)
  206. ac_prev=libexecdir ;;
  207. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  208. | --libexe=* | --libex=* | --libe=*)
  209. libexecdir="$ac_optarg" ;;
  210. -localstatedir | --localstatedir | --localstatedi | --localstated \
  211. | --localstate | --localstat | --localsta | --localst \
  212. | --locals | --local | --loca | --loc | --lo)
  213. ac_prev=localstatedir ;;
  214. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  215. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  216. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  217. localstatedir="$ac_optarg" ;;
  218. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  219. ac_prev=mandir ;;
  220. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  221. mandir="$ac_optarg" ;;
  222. -nfp | --nfp | --nf)
  223. # Obsolete; use --without-fp.
  224. with_fp=no ;;
  225. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  226. | --no-cr | --no-c)
  227. no_create=yes ;;
  228. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  229. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  230. no_recursion=yes ;;
  231. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  232. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  233. | --oldin | --oldi | --old | --ol | --o)
  234. ac_prev=oldincludedir ;;
  235. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  236. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  237. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  238. oldincludedir="$ac_optarg" ;;
  239. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  240. ac_prev=prefix ;;
  241. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  242. prefix="$ac_optarg" ;;
  243. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  244. | --program-pre | --program-pr | --program-p)
  245. ac_prev=program_prefix ;;
  246. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  247. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  248. program_prefix="$ac_optarg" ;;
  249. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  250. | --program-suf | --program-su | --program-s)
  251. ac_prev=program_suffix ;;
  252. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  253. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  254. program_suffix="$ac_optarg" ;;
  255. -program-transform-name | --program-transform-name \
  256. | --program-transform-nam | --program-transform-na \
  257. | --program-transform-n | --program-transform- \
  258. | --program-transform | --program-transfor \
  259. | --program-transfo | --program-transf \
  260. | --program-trans | --program-tran \
  261. | --progr-tra | --program-tr | --program-t)
  262. ac_prev=program_transform_name ;;
  263. -program-transform-name=* | --program-transform-name=* \
  264. | --program-transform-nam=* | --program-transform-na=* \
  265. | --program-transform-n=* | --program-transform-=* \
  266. | --program-transform=* | --program-transfor=* \
  267. | --program-transfo=* | --program-transf=* \
  268. | --program-trans=* | --program-tran=* \
  269. | --progr-tra=* | --program-tr=* | --program-t=*)
  270. program_transform_name="$ac_optarg" ;;
  271. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  272. | -silent | --silent | --silen | --sile | --sil)
  273. silent=yes ;;
  274. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  275. ac_prev=sbindir ;;
  276. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  277. | --sbi=* | --sb=*)
  278. sbindir="$ac_optarg" ;;
  279. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  280. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  281. | --sharedst | --shareds | --shared | --share | --shar \
  282. | --sha | --sh)
  283. ac_prev=sharedstatedir ;;
  284. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  285. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  286. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  287. | --sha=* | --sh=*)
  288. sharedstatedir="$ac_optarg" ;;
  289. -site | --site | --sit)
  290. ac_prev=site ;;
  291. -site=* | --site=* | --sit=*)
  292. site="$ac_optarg" ;;
  293. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  294. ac_prev=srcdir ;;
  295. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  296. srcdir="$ac_optarg" ;;
  297. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  298. | --syscon | --sysco | --sysc | --sys | --sy)
  299. ac_prev=sysconfdir ;;
  300. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  301. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  302. sysconfdir="$ac_optarg" ;;
  303. -target | --target | --targe | --targ | --tar | --ta | --t)
  304. ac_prev=target ;;
  305. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  306. target="$ac_optarg" ;;
  307. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  308. verbose=yes ;;
  309. -version | --version | --versio | --versi | --vers)
  310. echo "configure generated by autoconf version 2.13"
  311. exit 0 ;;
  312. -with-* | --with-*)
  313. ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  314. # Reject names that are not valid shell variable names.
  315. if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  316. { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  317. fi
  318. ac_package=`echo $ac_package| sed 's/-/_/g'`
  319. case "$ac_option" in
  320. *=*) ;;
  321. *) ac_optarg=yes ;;
  322. esac
  323. eval "with_${ac_package}='$ac_optarg'" ;;
  324. -without-* | --without-*)
  325. ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  326. # Reject names that are not valid shell variable names.
  327. if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  328. { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  329. fi
  330. ac_package=`echo $ac_package| sed 's/-/_/g'`
  331. eval "with_${ac_package}=no" ;;
  332. --x)
  333. # Obsolete; use --with-x.
  334. with_x=yes ;;
  335. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  336. | --x-incl | --x-inc | --x-in | --x-i)
  337. ac_prev=x_includes ;;
  338. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  339. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  340. x_includes="$ac_optarg" ;;
  341. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  342. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  343. ac_prev=x_libraries ;;
  344. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  345. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  346. x_libraries="$ac_optarg" ;;
  347. -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  348. ;;
  349. *)
  350. if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  351. echo "configure: warning: $ac_option: invalid host type" 1>&2
  352. fi
  353. if test "x$nonopt" != xNONE; then
  354. { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  355. fi
  356. nonopt="$ac_option"
  357. ;;
  358. esac
  359. done
  360. if test -n "$ac_prev"; then
  361. { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  362. fi
  363. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  364. # File descriptor usage:
  365. # 0 standard input
  366. # 1 file creation
  367. # 2 errors and warnings
  368. # 3 some systems may open it to /dev/tty
  369. # 4 used on the Kubota Titan
  370. # 6 checking for... messages and results
  371. # 5 compiler messages saved in config.log
  372. if test "$silent" = yes; then
  373. exec 6>/dev/null
  374. else
  375. exec 6>&1
  376. fi
  377. exec 5>./config.log
  378. echo "\
  379. This file contains any messages produced by compilers while
  380. running configure, to aid debugging if configure makes a mistake.
  381. " 1>&5
  382. # Strip out --no-create and --no-recursion so they do not pile up.
  383. # Also quote any args containing shell metacharacters.
  384. ac_configure_args=
  385. for ac_arg
  386. do
  387. case "$ac_arg" in
  388. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  389. | --no-cr | --no-c) ;;
  390. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  391. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  392. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  393. ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  394. *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  395. esac
  396. done
  397. # NLS nuisances.
  398. # Only set these to C if already set. These must not be set unconditionally
  399. # because not all systems understand e.g. LANG=C (notably SCO).
  400. # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
  401. # Non-C LC_CTYPE values break the ctype check.
  402. if test "${LANG+set}" = set; then LANG=C; export LANG; fi
  403. if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  404. if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
  405. if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
  406. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  407. rm -rf conftest* confdefs.h
  408. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  409. echo > confdefs.h
  410. # A filename unique to this package, relative to the directory that
  411. # configure is in, which we can look for to find out if srcdir is correct.
  412. ac_unique_file=src/noffle.c
  413. # Find the source files, if location was not specified.
  414. if test -z "$srcdir"; then
  415. ac_srcdir_defaulted=yes
  416. # Try the directory containing this script, then its parent.
  417. ac_prog=$0
  418. ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  419. test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  420. srcdir=$ac_confdir
  421. if test ! -r $srcdir/$ac_unique_file; then
  422. srcdir=..
  423. fi
  424. else
  425. ac_srcdir_defaulted=no
  426. fi
  427. if test ! -r $srcdir/$ac_unique_file; then
  428. if test "$ac_srcdir_defaulted" = yes; then
  429. { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  430. else
  431. { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  432. fi
  433. fi
  434. srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  435. # Prefer explicitly selected file to automatically selected ones.
  436. if test -z "$CONFIG_SITE"; then
  437. if test "x$prefix" != xNONE; then
  438. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  439. else
  440. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  441. fi
  442. fi
  443. for ac_site_file in $CONFIG_SITE; do
  444. if test -r "$ac_site_file"; then
  445. echo "loading site script $ac_site_file"
  446. . "$ac_site_file"
  447. fi
  448. done
  449. if test -r "$cache_file"; then
  450. echo "loading cache $cache_file"
  451. . $cache_file
  452. else
  453. echo "creating cache $cache_file"
  454. > $cache_file
  455. fi
  456. ac_ext=c
  457. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  458. ac_cpp='$CPP $CPPFLAGS'
  459. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  460. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  461. cross_compiling=$ac_cv_prog_cc_cross
  462. ac_exeext=
  463. ac_objext=o
  464. if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  465. # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  466. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  467. ac_n= ac_c='
  468. ' ac_t=' '
  469. else
  470. ac_n=-n ac_c= ac_t=
  471. fi
  472. else
  473. ac_n= ac_c='\c' ac_t=
  474. fi
  475. PACKAGE=noffle
  476. VERSION=1.2.0rc1
  477. ac_aux_dir=
  478. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  479. if test -f $ac_dir/install-sh; then
  480. ac_aux_dir=$ac_dir
  481. ac_install_sh="$ac_aux_dir/install-sh -c"
  482. break
  483. elif test -f $ac_dir/install.sh; then
  484. ac_aux_dir=$ac_dir
  485. ac_install_sh="$ac_aux_dir/install.sh -c"
  486. break
  487. fi
  488. done
  489. if test -z "$ac_aux_dir"; then
  490. { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  491. fi
  492. ac_config_guess=$ac_aux_dir/config.guess
  493. ac_config_sub=$ac_aux_dir/config.sub
  494. ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  495. am__api_version="1.4"
  496. # Find a good install program. We prefer a C program (faster),
  497. # so one script is as good as another. But avoid the broken or
  498. # incompatible versions:
  499. # SysV /etc/install, /usr/sbin/install
  500. # SunOS /usr/etc/install
  501. # IRIX /sbin/install
  502. # AIX /bin/install
  503. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  504. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  505. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  506. # ./install, which can be erroneously created by make from ./install.sh.
  507. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  508. echo "configure:581: checking for a BSD compatible install" >&5
  509. if test -z "$INSTALL"; then
  510. if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  511. echo $ac_n "(cached) $ac_c" 1>&6
  512. else
  513. IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
  514. for ac_dir in $PATH; do
  515. # Account for people who put trailing slashes in PATH elements.
  516. case "$ac_dir/" in
  517. /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  518. *)
  519. # OSF1 and SCO ODT 3.0 have their own names for install.
  520. # Don't use installbsd from OSF since it installs stuff as root
  521. # by default.
  522. for ac_prog in ginstall scoinst install; do
  523. if test -f $ac_dir/$ac_prog; then
  524. if test $ac_prog = install &&
  525. grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  526. # AIX install. It has an incompatible calling convention.
  527. :
  528. else
  529. ac_cv_path_install="$ac_dir/$ac_prog -c"
  530. break 2
  531. fi
  532. fi
  533. done
  534. ;;
  535. esac
  536. done
  537. IFS="$ac_save_IFS"
  538. fi
  539. if test "${ac_cv_path_install+set}" = set; then
  540. INSTALL="$ac_cv_path_install"
  541. else
  542. # As a last resort, use the slow shell script. We don't cache a
  543. # path for INSTALL within a source directory, because that will
  544. # break other packages using the cache if that directory is
  545. # removed, or if the path is relative.
  546. INSTALL="$ac_install_sh"
  547. fi
  548. fi
  549. echo "$ac_t""$INSTALL" 1>&6
  550. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  551. # It thinks the first close brace ends the variable substitution.
  552. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  553. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
  554. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  555. echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
  556. echo "configure:634: checking whether build environment is sane" >&5
  557. # Just in case
  558. sleep 1
  559. echo timestamp > conftestfile
  560. # Do `set' in a subshell so we don't clobber the current shell's
  561. # arguments. Must try -L first in case configure is actually a
  562. # symlink; some systems play weird games with the mod time of symlinks
  563. # (eg FreeBSD returns the mod time of the symlink's containing
  564. # directory).
  565. if (
  566. set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
  567. if test "$*" = "X"; then
  568. # -L didn't work.
  569. set X `ls -t $srcdir/configure conftestfile`
  570. fi
  571. if test "$*" != "X $srcdir/configure conftestfile" \
  572. && test "$*" != "X conftestfile $srcdir/configure"; then
  573. # If neither matched, then we have a broken ls. This can happen
  574. # if, for instance, CONFIG_SHELL is bash and it inherits a
  575. # broken ls alias from the environment. This has actually
  576. # happened. Such a system could not be considered "sane".
  577. { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
  578. alias in your environment" 1>&2; exit 1; }
  579. fi
  580. test "$2" = conftestfile
  581. )
  582. then
  583. # Ok.
  584. :
  585. else
  586. { echo "configure: error: newly created file is older than distributed files!
  587. Check your system clock" 1>&2; exit 1; }
  588. fi
  589. rm -f conftest*
  590. echo "$ac_t""yes" 1>&6
  591. if test "$program_transform_name" = s,x,x,; then
  592. program_transform_name=
  593. else
  594. # Double any \ or $. echo might interpret backslashes.
  595. cat <<\EOF_SED > conftestsed
  596. s,\\,\\\\,g; s,\$,$$,g
  597. EOF_SED
  598. program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
  599. rm -f conftestsed
  600. fi
  601. test "$program_prefix" != NONE &&
  602. program_transform_name="s,^,${program_prefix},; $program_transform_name"
  603. # Use a double $ so make ignores it.
  604. test "$program_suffix" != NONE &&
  605. program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
  606. # sed with no file args requires a program.
  607. test "$program_transform_name" = "" && program_transform_name="s,x,x,"
  608. echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
  609. echo "configure:691: checking whether ${MAKE-make} sets \${MAKE}" >&5
  610. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
  611. if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  612. echo $ac_n "(cached) $ac_c" 1>&6
  613. else
  614. cat > conftestmake <<\EOF
  615. all:
  616. @echo 'ac_maketemp="${MAKE}"'
  617. EOF
  618. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  619. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  620. if test -n "$ac_maketemp"; then
  621. eval ac_cv_prog_make_${ac_make}_set=yes
  622. else
  623. eval ac_cv_prog_make_${ac_make}_set=no
  624. fi
  625. rm -f conftestmake
  626. fi
  627. if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  628. echo "$ac_t""yes" 1>&6
  629. SET_MAKE=
  630. else
  631. echo "$ac_t""no" 1>&6
  632. SET_MAKE="MAKE=${MAKE-make}"
  633. fi
  634. PACKAGE=$PACKAGE
  635. VERSION=$VERSION
  636. if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
  637. { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
  638. fi
  639. cat >> confdefs.h <<EOF
  640. #define PACKAGE "$PACKAGE"
  641. EOF
  642. cat >> confdefs.h <<EOF
  643. #define VERSION "$VERSION"
  644. EOF
  645. missing_dir=`cd $ac_aux_dir && pwd`
  646. echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
  647. echo "configure:737: checking for working aclocal-${am__api_version}" >&5
  648. # Run test in a subshell; some versions of sh will print an error if
  649. # an executable is not found, even if stderr is redirected.
  650. # Redirect stdin to placate older versions of autoconf. Sigh.
  651. if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
  652. ACLOCAL=aclocal-${am__api_version}
  653. echo "$ac_t""found" 1>&6
  654. else
  655. ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
  656. echo "$ac_t""missing" 1>&6
  657. fi
  658. echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
  659. echo "configure:750: checking for working autoconf" >&5
  660. # Run test in a subshell; some versions of sh will print an error if
  661. # an executable is not found, even if stderr is redirected.
  662. # Redirect stdin to placate older versions of autoconf. Sigh.
  663. if (autoconf --version) < /dev/null > /dev/null 2>&1; then
  664. AUTOCONF=autoconf
  665. echo "$ac_t""found" 1>&6
  666. else
  667. AUTOCONF="$missing_dir/missing autoconf"
  668. echo "$ac_t""missing" 1>&6
  669. fi
  670. echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
  671. echo "configure:763: checking for working automake-${am__api_version}" >&5
  672. # Run test in a subshell; some versions of sh will print an error if
  673. # an executable is not found, even if stderr is redirected.
  674. # Redirect stdin to placate older versions of autoconf. Sigh.
  675. if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
  676. AUTOMAKE=automake-${am__api_version}
  677. echo "$ac_t""found" 1>&6
  678. else
  679. AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
  680. echo "$ac_t""missing" 1>&6
  681. fi
  682. echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
  683. echo "configure:776: checking for working autoheader" >&5
  684. # Run test in a subshell; some versions of sh will print an error if
  685. # an executable is not found, even if stderr is redirected.
  686. # Redirect stdin to placate older versions of autoconf. Sigh.
  687. if (autoheader --version) < /dev/null > /dev/null 2>&1; then
  688. AUTOHEADER=autoheader
  689. echo "$ac_t""found" 1>&6
  690. else
  691. AUTOHEADER="$missing_dir/missing autoheader"
  692. echo "$ac_t""missing" 1>&6
  693. fi
  694. echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
  695. echo "configure:789: checking for working makeinfo" >&5
  696. # Run test in a subshell; some versions of sh will print an error if
  697. # an executable is not found, even if stderr is redirected.
  698. # Redirect stdin to placate older versions of autoconf. Sigh.
  699. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
  700. MAKEINFO=makeinfo
  701. echo "$ac_t""found" 1>&6
  702. else
  703. MAKEINFO="$missing_dir/missing makeinfo"
  704. echo "$ac_t""missing" 1>&6
  705. fi
  706. cat >> confdefs.h <<\EOF
  707. #define _GNU_SOURCE 1
  708. EOF
  709. ac_ext=c
  710. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  711. ac_cpp='$CPP $CPPFLAGS'
  712. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  713. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  714. cross_compiling=$ac_cv_prog_cc_cross
  715. # Extract the first word of "gcc", so it can be a program name with args.
  716. set dummy gcc; ac_word=$2
  717. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  718. echo "configure:822: checking for $ac_word" >&5
  719. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  720. echo $ac_n "(cached) $ac_c" 1>&6
  721. else
  722. if test -n "$CC"; then
  723. ac_cv_prog_CC="$CC" # Let the user override the test.
  724. else
  725. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  726. ac_dummy="$PATH"
  727. for ac_dir in $ac_dummy; do
  728. test -z "$ac_dir" && ac_dir=.
  729. if test -f $ac_dir/$ac_word; then
  730. ac_cv_prog_CC="gcc"
  731. break
  732. fi
  733. done
  734. IFS="$ac_save_ifs"
  735. fi
  736. fi
  737. CC="$ac_cv_prog_CC"
  738. if test -n "$CC"; then
  739. echo "$ac_t""$CC" 1>&6
  740. else
  741. echo "$ac_t""no" 1>&6
  742. fi
  743. if test -z "$CC"; then
  744. # Extract the first word of "cc", so it can be a program name with args.
  745. set dummy cc; ac_word=$2
  746. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  747. echo "configure:852: checking for $ac_word" >&5
  748. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  749. echo $ac_n "(cached) $ac_c" 1>&6
  750. else
  751. if test -n "$CC"; then
  752. ac_cv_prog_CC="$CC" # Let the user override the test.
  753. else
  754. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  755. ac_prog_rejected=no
  756. ac_dummy="$PATH"
  757. for ac_dir in $ac_dummy; do
  758. test -z "$ac_dir" && ac_dir=.
  759. if test -f $ac_dir/$ac_word; then
  760. if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  761. ac_prog_rejected=yes
  762. continue
  763. fi
  764. ac_cv_prog_CC="cc"
  765. break
  766. fi
  767. done
  768. IFS="$ac_save_ifs"
  769. if test $ac_prog_rejected = yes; then
  770. # We found a bogon in the path, so make sure we never use it.
  771. set dummy $ac_cv_prog_CC
  772. shift
  773. if test $# -gt 0; then
  774. # We chose a different compiler from the bogus one.
  775. # However, it has the same basename, so the bogon will be chosen
  776. # first if we set CC to just the basename; use the full file name.
  777. shift
  778. set dummy "$ac_dir/$ac_word" "$@"
  779. shift
  780. ac_cv_prog_CC="$@"
  781. fi
  782. fi
  783. fi
  784. fi
  785. CC="$ac_cv_prog_CC"
  786. if test -n "$CC"; then
  787. echo "$ac_t""$CC" 1>&6
  788. else
  789. echo "$ac_t""no" 1>&6
  790. fi
  791. if test -z "$CC"; then
  792. case "`uname -s`" in
  793. *win32* | *WIN32*)
  794. # Extract the first word of "cl", so it can be a program name with args.
  795. set dummy cl; ac_word=$2
  796. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  797. echo "configure:903: checking for $ac_word" >&5
  798. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  799. echo $ac_n "(cached) $ac_c" 1>&6
  800. else
  801. if test -n "$CC"; then
  802. ac_cv_prog_CC="$CC" # Let the user override the test.
  803. else
  804. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  805. ac_dummy="$PATH"
  806. for ac_dir in $ac_dummy; do
  807. test -z "$ac_dir" && ac_dir=.
  808. if test -f $ac_dir/$ac_word; then
  809. ac_cv_prog_CC="cl"
  810. break
  811. fi
  812. done
  813. IFS="$ac_save_ifs"
  814. fi
  815. fi
  816. CC="$ac_cv_prog_CC"
  817. if test -n "$CC"; then
  818. echo "$ac_t""$CC" 1>&6
  819. else
  820. echo "$ac_t""no" 1>&6
  821. fi
  822. ;;
  823. esac
  824. fi
  825. test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  826. fi
  827. echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
  828. echo "configure:935: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  829. ac_ext=c
  830. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  831. ac_cpp='$CPP $CPPFLAGS'
  832. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  833. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  834. cross_compiling=$ac_cv_prog_cc_cross
  835. cat > conftest.$ac_ext << EOF
  836. #line 946 "configure"
  837. #include "confdefs.h"
  838. main(){return(0);}
  839. EOF
  840. if { (eval echo configure:951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  841. ac_cv_prog_cc_works=yes
  842. # If we can't run a trivial program, we are probably using a cross compiler.
  843. if (./conftest; exit) 2>/dev/null; then
  844. ac_cv_prog_cc_cross=no
  845. else
  846. ac_cv_prog_cc_cross=yes
  847. fi
  848. else
  849. echo "configure: failed program was:" >&5
  850. cat conftest.$ac_ext >&5
  851. ac_cv_prog_cc_works=no
  852. fi
  853. rm -fr conftest*
  854. ac_ext=c
  855. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  856. ac_cpp='$CPP $CPPFLAGS'
  857. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  858. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  859. cross_compiling=$ac_cv_prog_cc_cross
  860. echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
  861. if test $ac_cv_prog_cc_works = no; then
  862. { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
  863. fi
  864. echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
  865. echo "configure:977: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  866. echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
  867. cross_compiling=$ac_cv_prog_cc_cross
  868. echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  869. echo "configure:982: checking whether we are using GNU C" >&5
  870. if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  871. echo $ac_n "(cached) $ac_c" 1>&6
  872. else
  873. cat > conftest.c <<EOF
  874. #ifdef __GNUC__
  875. yes;
  876. #endif
  877. EOF
  878. if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  879. ac_cv_prog_gcc=yes
  880. else
  881. ac_cv_prog_gcc=no
  882. fi
  883. fi
  884. echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  885. if test $ac_cv_prog_gcc = yes; then
  886. GCC=yes
  887. else
  888. GCC=
  889. fi
  890. ac_test_CFLAGS="${CFLAGS+set}"
  891. ac_save_CFLAGS="$CFLAGS"
  892. CFLAGS=
  893. echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  894. echo "configure:1010: checking whether ${CC-cc} accepts -g" >&5
  895. if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  896. echo $ac_n "(cached) $ac_c" 1>&6
  897. else
  898. echo 'void f(){}' > conftest.c
  899. if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  900. ac_cv_prog_cc_g=yes
  901. else
  902. ac_cv_prog_cc_g=no
  903. fi
  904. rm -f conftest*
  905. fi
  906. echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
  907. if test "$ac_test_CFLAGS" = set; then
  908. CFLAGS="$ac_save_CFLAGS"
  909. elif test $ac_cv_prog_cc_g = yes; then
  910. if test "$GCC" = yes; then
  911. CFLAGS="-g -O2"
  912. else
  913. CFLAGS="-g"
  914. fi
  915. else
  916. if test "$GCC" = yes; then
  917. CFLAGS="-O2"
  918. else
  919. CFLAGS=
  920. fi
  921. fi
  922. echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  923. echo "configure:1042: checking how to run the C preprocessor" >&5
  924. # On Suns, sometimes $CPP names a directory.
  925. if test -n "$CPP" && test -d "$CPP"; then
  926. CPP=
  927. fi
  928. if test -z "$CPP"; then
  929. if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  930. echo $ac_n "(cached) $ac_c" 1>&6
  931. else
  932. # This must be in double quotes, not single quotes, because CPP may get
  933. # substituted into the Makefile and "${CC-cc}" will confuse make.
  934. CPP="${CC-cc} -E"
  935. # On the NeXT, cc -E runs the code through the compiler's parser,
  936. # not just through cpp.
  937. cat > conftest.$ac_ext <<EOF
  938. #line 1057 "configure"
  939. #include "confdefs.h"
  940. #include <assert.h>
  941. Syntax Error
  942. EOF
  943. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  944. { (eval echo configure:1063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  945. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  946. if test -z "$ac_err"; then
  947. :
  948. else
  949. echo "$ac_err" >&5
  950. echo "configure: failed program was:" >&5
  951. cat conftest.$ac_ext >&5
  952. rm -rf conftest*
  953. CPP="${CC-cc} -E -traditional-cpp"
  954. cat > conftest.$ac_ext <<EOF
  955. #line 1074 "configure"
  956. #include "confdefs.h"
  957. #include <assert.h>
  958. Syntax Error
  959. EOF
  960. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  961. { (eval echo configure:1080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  962. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  963. if test -z "$ac_err"; then
  964. :
  965. else
  966. echo "$ac_err" >&5
  967. echo "configure: failed program was:" >&5
  968. cat conftest.$ac_ext >&5
  969. rm -rf conftest*
  970. CPP="${CC-cc} -nologo -E"
  971. cat > conftest.$ac_ext <<EOF
  972. #line 1091 "configure"
  973. #include "confdefs.h"
  974. #include <assert.h>
  975. Syntax Error
  976. EOF
  977. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  978. { (eval echo configure:1097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  979. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  980. if test -z "$ac_err"; then
  981. :
  982. else
  983. echo "$ac_err" >&5
  984. echo "configure: failed program was:" >&5
  985. cat conftest.$ac_ext >&5
  986. rm -rf conftest*
  987. CPP=/lib/cpp
  988. fi
  989. rm -f conftest*
  990. fi
  991. rm -f conftest*
  992. fi
  993. rm -f conftest*
  994. ac_cv_prog_CPP="$CPP"
  995. fi
  996. CPP="$ac_cv_prog_CPP"
  997. else
  998. ac_cv_prog_CPP="$CPP"
  999. fi
  1000. echo "$ac_t""$CPP" 1>&6
  1001. if test $ac_cv_prog_gcc = yes; then
  1002. echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
  1003. echo "configure:1123: checking whether ${CC-cc} needs -traditional" >&5
  1004. if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
  1005. echo $ac_n "(cached) $ac_c" 1>&6
  1006. else
  1007. ac_pattern="Autoconf.*'x'"
  1008. cat > conftest.$ac_ext <<EOF
  1009. #line 1129 "configure"
  1010. #include "confdefs.h"
  1011. #include <sgtty.h>
  1012. Autoconf TIOCGETP
  1013. EOF
  1014. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1015. egrep "$ac_pattern" >/dev/null 2>&1; then
  1016. rm -rf conftest*
  1017. ac_cv_prog_gcc_traditional=yes
  1018. else
  1019. rm -rf conftest*
  1020. ac_cv_prog_gcc_traditional=no
  1021. fi
  1022. rm -f conftest*
  1023. if test $ac_cv_prog_gcc_traditional = no; then
  1024. cat > conftest.$ac_ext <<EOF
  1025. #line 1147 "configure"
  1026. #include "confdefs.h"
  1027. #include <termio.h>
  1028. Autoconf TCGETA
  1029. EOF
  1030. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1031. egrep "$ac_pattern" >/dev/null 2>&1; then
  1032. rm -rf conftest*
  1033. ac_cv_prog_gcc_traditional=yes
  1034. fi
  1035. rm -f conftest*
  1036. fi
  1037. fi
  1038. echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
  1039. if test $ac_cv_prog_gcc_traditional = yes; then
  1040. CC="$CC -traditional"
  1041. fi
  1042. fi
  1043. # Find a good install program. We prefer a C program (faster),
  1044. # so one script is as good as another. But avoid the broken or
  1045. # incompatible versions:
  1046. # SysV /etc/install, /usr/sbin/install
  1047. # SunOS /usr/etc/install
  1048. # IRIX /sbin/install
  1049. # AIX /bin/install
  1050. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1051. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1052. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1053. # ./install, which can be erroneously created by make from ./install.sh.
  1054. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  1055. echo "configure:1180: checking for a BSD compatible install" >&5
  1056. if test -z "$INSTALL"; then
  1057. if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  1058. echo $ac_n "(cached) $ac_c" 1>&6
  1059. else
  1060. IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
  1061. for ac_dir in $PATH; do
  1062. # Account for people who put trailing slashes in PATH elements.
  1063. case "$ac_dir/" in
  1064. /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  1065. *)
  1066. # OSF1 and SCO ODT 3.0 have their own names for install.
  1067. # Don't use installbsd from OSF since it installs stuff as root
  1068. # by default.
  1069. for ac_prog in ginstall scoinst install; do
  1070. if test -f $ac_dir/$ac_prog; then
  1071. if test $ac_prog = install &&
  1072. grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  1073. # AIX install. It has an incompatible calling convention.
  1074. :
  1075. else
  1076. ac_cv_path_install="$ac_dir/$ac_prog -c"
  1077. break 2
  1078. fi
  1079. fi
  1080. done
  1081. ;;
  1082. esac
  1083. done
  1084. IFS="$ac_save_IFS"
  1085. fi
  1086. if test "${ac_cv_path_install+set}" = set; then
  1087. INSTALL="$ac_cv_path_install"
  1088. else
  1089. # As a last resort, use the slow shell script. We don't cache a
  1090. # path for INSTALL within a source directory, because that will
  1091. # break other packages using the cache if that directory is
  1092. # removed, or if the path is relative.
  1093. INSTALL="$ac_install_sh"
  1094. fi
  1095. fi
  1096. echo "$ac_t""$INSTALL" 1>&6
  1097. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1098. # It thinks the first close brace ends the variable substitution.
  1099. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1100. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
  1101. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1102. echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
  1103. echo "configure:1233: checking whether ${MAKE-make} sets \${MAKE}" >&5
  1104. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
  1105. if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  1106. echo $ac_n "(cached) $ac_c" 1>&6
  1107. else
  1108. cat > conftestmake <<\EOF
  1109. all:
  1110. @echo 'ac_maketemp="${MAKE}"'
  1111. EOF
  1112. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1113. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  1114. if test -n "$ac_maketemp"; then
  1115. eval ac_cv_prog_make_${ac_make}_set=yes
  1116. else
  1117. eval ac_cv_prog_make_${ac_make}_set=no
  1118. fi
  1119. rm -f conftestmake
  1120. fi
  1121. if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  1122. echo "$ac_t""yes" 1>&6
  1123. SET_MAKE=
  1124. else
  1125. echo "$ac_t""no" 1>&6
  1126. SET_MAKE="MAKE=${MAKE-make}"
  1127. fi
  1128. # Extract the first word of "sendmail", so it can be a program name with args.
  1129. set dummy sendmail; ac_word=$2
  1130. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1131. echo "configure:1263: checking for $ac_word" >&5
  1132. if eval "test \"`echo '$''{'ac_cv_path_SENDMAILPROG'+set}'`\" = set"; then
  1133. echo $ac_n "(cached) $ac_c" 1>&6
  1134. else
  1135. case "$SENDMAILPROG" in
  1136. /*)
  1137. ac_cv_path_SENDMAILPROG="$SENDMAILPROG" # Let the user override the test with a path.
  1138. ;;
  1139. ?:/*)
  1140. ac_cv_path_SENDMAILPROG="$SENDMAILPROG" # Let the user override the test with a dos path.
  1141. ;;
  1142. *)
  1143. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  1144. ac_dummy="/usr/sbin:/usr/lib:$PATH"
  1145. for ac_dir in $ac_dummy; do
  1146. test -z "$ac_dir" && ac_dir=.
  1147. if test -f $ac_dir/$ac_word; then
  1148. ac_cv_path_SENDMAILPROG="$ac_dir/$ac_word"
  1149. break
  1150. fi
  1151. done
  1152. IFS="$ac_save_ifs"
  1153. test -z "$ac_cv_path_SENDMAILPROG" && ac_cv_path_SENDMAILPROG="'notfound'"
  1154. ;;
  1155. esac
  1156. fi
  1157. SENDMAILPROG="$ac_cv_path_SENDMAILPROG"
  1158. if test -n "$SENDMAILPROG"; then
  1159. echo "$ac_t""$SENDMAILPROG" 1>&6
  1160. else
  1161. echo "$ac_t""no" 1>&6
  1162. fi
  1163. if test "x$SENDMAILPROG" = "xnotfound"; then
  1164. { echo "configure: error: sendmail program not found in /usr/lib:/usr/sbin:$PATH ." 1>&2; exit 1; }
  1165. fi
  1166. echo $ac_n "checking for AIX""... $ac_c" 1>&6
  1167. echo "configure:1302: checking for AIX" >&5
  1168. cat > conftest.$ac_ext <<EOF
  1169. #line 1304 "configure"
  1170. #include "confdefs.h"
  1171. #ifdef _AIX
  1172. yes
  1173. #endif
  1174. EOF
  1175. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1176. egrep "yes" >/dev/null 2>&1; then
  1177. rm -rf conftest*
  1178. echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
  1179. #define _ALL_SOURCE 1
  1180. EOF
  1181. else
  1182. rm -rf conftest*
  1183. echo "$ac_t""no" 1>&6
  1184. fi
  1185. rm -f conftest*
  1186. echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
  1187. echo "configure:1327: checking for strerror in -lcposix" >&5
  1188. ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
  1189. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1190. echo $ac_n "(cached) $ac_c" 1>&6
  1191. else
  1192. ac_save_LIBS="$LIBS"
  1193. LIBS="-lcposix $LIBS"
  1194. cat > conftest.$ac_ext <<EOF
  1195. #line 1335 "configure"
  1196. #include "confdefs.h"
  1197. /* Override any gcc2 internal prototype to avoid an error. */
  1198. /* We use char because int might match the return type of a gcc2
  1199. builtin and then its argument prototype would still apply. */
  1200. char strerror();
  1201. int main() {
  1202. strerror()
  1203. ; return 0; }
  1204. EOF
  1205. if { (eval echo configure:1346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1206. rm -rf conftest*
  1207. eval "ac_cv_lib_$ac_lib_var=yes"
  1208. else
  1209. echo "configure: failed program was:" >&5
  1210. cat conftest.$ac_ext >&5
  1211. rm -rf conftest*
  1212. eval "ac_cv_lib_$ac_lib_var=no"
  1213. fi
  1214. rm -f conftest*
  1215. LIBS="$ac_save_LIBS"
  1216. fi
  1217. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  1218. echo "$ac_t""yes" 1>&6
  1219. LIBS="$LIBS -lcposix"
  1220. else
  1221. echo "$ac_t""no" 1>&6
  1222. fi
  1223. ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
  1224. echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
  1225. echo "configure:1370: checking for minix/config.h" >&5
  1226. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1227. echo $ac_n "(cached) $ac_c" 1>&6
  1228. else
  1229. cat > conftest.$ac_ext <<EOF
  1230. #line 1375 "configure"
  1231. #include "confdefs.h"
  1232. #include <minix/config.h>
  1233. EOF
  1234. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1235. { (eval echo configure:1380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1236. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  1237. if test -z "$ac_err"; then
  1238. rm -rf conftest*
  1239. eval "ac_cv_header_$ac_safe=yes"
  1240. else
  1241. echo "$ac_err" >&5
  1242. echo "configure: failed program was:" >&5
  1243. cat conftest.$ac_ext >&5
  1244. rm -rf conftest*
  1245. eval "ac_cv_header_$ac_safe=no"
  1246. fi
  1247. rm -f conftest*
  1248. fi
  1249. if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1250. echo "$ac_t""yes" 1>&6
  1251. MINIX=yes
  1252. else
  1253. echo "$ac_t""no" 1>&6
  1254. MINIX=
  1255. fi
  1256. if test "$MINIX" = yes; then
  1257. cat >> confdefs.h <<\EOF
  1258. #define _POSIX_SOURCE 1
  1259. EOF
  1260. cat >> confdefs.h <<\EOF
  1261. #define _POSIX_1_SOURCE 2
  1262. EOF
  1263. cat >> confdefs.h <<\EOF
  1264. #define _MINIX 1
  1265. EOF
  1266. fi
  1267. # Whenever both -lsocket and -lnsl are needed, it seems to be always the
  1268. # case that gethostbyname requires -lnsl. So, check -lnsl first, for it
  1269. # to be in LIBS before the setsockopt checks are performed. *However*,
  1270. # on SINIX-N 5.43, this is false, and gethostent seems to be a better
  1271. # candidate. So, let's use it below instead of gethostbyname, and see.
  1272. # [ This is ripped from GNU tar. ]
  1273. echo $ac_n "checking for gethostent""... $ac_c" 1>&6
  1274. echo "configure:1429: checking for gethostent" >&5
  1275. if eval "test \"`echo '$''{'ac_cv_func_gethostent'+set}'`\" = set"; then
  1276. echo $ac_n "(cached) $ac_c" 1>&6
  1277. else
  1278. cat > conftest.$ac_ext <<EOF
  1279. #line 1434 "configure"
  1280. #include "confdefs.h"
  1281. /* System header to define __stub macros and hopefully few prototypes,
  1282. which can conflict with char gethostent(); below. */
  1283. #include <assert.h>
  1284. /* Override any gcc2 internal prototype to avoid an error. */
  1285. /* We use char because int might match the return type of a gcc2
  1286. builtin and then its argument prototype would still apply. */
  1287. char gethostent();
  1288. int main() {
  1289. /* The GNU C library defines this for functions which it implements
  1290. to always fail with ENOSYS. Some functions are actually named
  1291. something starting with __ and the normal name is an alias. */
  1292. #if defined (__stub_gethostent) || defined (__stub___gethostent)
  1293. choke me
  1294. #else
  1295. gethostent();
  1296. #endif
  1297. ; return 0; }
  1298. EOF
  1299. if { (eval echo configure:1457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1300. rm -rf conftest*
  1301. eval "ac_cv_func_gethostent=yes"
  1302. else
  1303. echo "configure: failed program was:" >&5
  1304. cat conftest.$ac_ext >&5
  1305. rm -rf conftest*
  1306. eval "ac_cv_func_gethostent=no"
  1307. fi
  1308. rm -f conftest*
  1309. fi
  1310. if eval "test \"`echo '$ac_cv_func_'gethostent`\" = yes"; then
  1311. echo "$ac_t""yes" 1>&6
  1312. :
  1313. else
  1314. echo "$ac_t""no" 1>&6
  1315. fi
  1316. if test $ac_cv_func_gethostent = no; then
  1317. echo $ac_n "checking for gethostent in -lnsl""... $ac_c" 1>&6
  1318. echo "configure:1478: checking for gethostent in -lnsl" >&5
  1319. ac_lib_var=`echo nsl'_'gethostent | sed 'y%./+-%__p_%'`
  1320. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1321. echo $ac_n "(cached) $ac_c" 1>&6
  1322. else
  1323. ac_save_LIBS="$LIBS"
  1324. LIBS="-lnsl $LIBS"
  1325. cat > conftest.$ac_ext <<EOF
  1326. #line 1486 "configure"
  1327. #include "confdefs.h"
  1328. /* Override any gcc2 internal prototype to avoid an error. */
  1329. /* We use char because int might match the return type of a gcc2
  1330. builtin and then its argument prototype would still apply. */
  1331. char gethostent();
  1332. int main() {
  1333. gethostent()
  1334. ; return 0; }
  1335. EOF
  1336. if { (eval echo configure:1497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1337. rm -rf conftest*
  1338. eval "ac_cv_lib_$ac_lib_var=yes"
  1339. else
  1340. echo "configure: failed program was:" >&5
  1341. cat conftest.$ac_ext >&5
  1342. rm -rf conftest*
  1343. eval "ac_cv_lib_$ac_lib_var=no"
  1344. fi
  1345. rm -f conftest*
  1346. LIBS="$ac_save_LIBS"
  1347. fi
  1348. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  1349. echo "$ac_t""yes" 1>&6
  1350. ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
  1351. -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  1352. cat >> confdefs.h <<EOF
  1353. #define $ac_tr_lib 1
  1354. EOF
  1355. LIBS="-lnsl $LIBS"
  1356. else
  1357. echo "$ac_t""no" 1>&6
  1358. fi
  1359. fi
  1360. echo $ac_n "checking for setsockopt""... $ac_c" 1>&6
  1361. echo "configure:1526: checking for setsockopt" >&5
  1362. if eval "test \"`echo '$''{'ac_cv_func_setsockopt'+set}'`\" = set"; then
  1363. echo $ac_n "(cached) $ac_c" 1>&6
  1364. else
  1365. cat > conftest.$ac_ext <<EOF
  1366. #line 1531 "configure"
  1367. #include "confdefs.h"
  1368. /* System header to define __stub macros and hopefully few prototypes,
  1369. which can conflict with char setsockopt(); below. */
  1370. #include <assert.h>
  1371. /* Override any gcc2 internal prototype to avoid an error. */
  1372. /* We use char because int might match the return type of a gcc2
  1373. builtin and then its argument prototype would still apply. */
  1374. char setsockopt();
  1375. int main() {
  1376. /* The GNU C library defines this for functions which it implements
  1377. to always fail with ENOSYS. Some functions are actually named
  1378. something starting with __ and the normal name is an alias. */
  1379. #if defined (__stub_setsockopt) || defined (__stub___setsockopt)
  1380. choke me
  1381. #else
  1382. setsockopt();
  1383. #endif
  1384. ; return 0; }
  1385. EOF
  1386. if { (eval echo configure:1554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1387. rm -rf conftest*
  1388. eval "ac_cv_func_setsockopt=yes"
  1389. else
  1390. echo "configure: failed pro…

Large files files are truncated, but you can click here to view the full file