PageRenderTime 54ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/lib/erlmerge/config/configure

https://github.com/babo/jungerl
Shell | 3927 lines | 3190 code | 362 blank | 375 comment | 360 complexity | 8c6738bb5e8128c268e45ed15a39e4f6 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-3-Clause, AGPL-1.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 by GNU Autoconf 2.59.
  4. #
  5. # Copyright (C) 2003 Free Software Foundation, Inc.
  6. # This configure script is free software; the Free Software Foundation
  7. # gives unlimited permission to copy, distribute and modify it.
  8. ## --------------------- ##
  9. ## M4sh Initialization. ##
  10. ## --------------------- ##
  11. # Be Bourne compatible
  12. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  13. emulate sh
  14. NULLCMD=:
  15. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  16. # is contrary to our usage. Disable this feature.
  17. alias -g '${1+"$@"}'='"$@"'
  18. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  19. set -o posix
  20. fi
  21. DUALCASE=1; export DUALCASE # for MKS sh
  22. # Support unset when possible.
  23. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  24. as_unset=unset
  25. else
  26. as_unset=false
  27. fi
  28. # Work around bugs in pre-3.0 UWIN ksh.
  29. $as_unset ENV MAIL MAILPATH
  30. PS1='$ '
  31. PS2='> '
  32. PS4='+ '
  33. # NLS nuisances.
  34. for as_var in \
  35. LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  36. LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  37. LC_TELEPHONE LC_TIME
  38. do
  39. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  40. eval $as_var=C; export $as_var
  41. else
  42. $as_unset $as_var
  43. fi
  44. done
  45. # Required to use basename.
  46. if expr a : '\(a\)' >/dev/null 2>&1; then
  47. as_expr=expr
  48. else
  49. as_expr=false
  50. fi
  51. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  52. as_basename=basename
  53. else
  54. as_basename=false
  55. fi
  56. # Name of the executable.
  57. as_me=`$as_basename "$0" ||
  58. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  59. X"$0" : 'X\(//\)$' \| \
  60. X"$0" : 'X\(/\)$' \| \
  61. . : '\(.\)' 2>/dev/null ||
  62. echo X/"$0" |
  63. sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  64. /^X\/\(\/\/\)$/{ s//\1/; q; }
  65. /^X\/\(\/\).*/{ s//\1/; q; }
  66. s/.*/./; q'`
  67. # PATH needs CR, and LINENO needs CR and PATH.
  68. # Avoid depending upon Character Ranges.
  69. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  70. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  71. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  72. as_cr_digits='0123456789'
  73. as_cr_alnum=$as_cr_Letters$as_cr_digits
  74. # The user is always right.
  75. if test "${PATH_SEPARATOR+set}" != set; then
  76. echo "#! /bin/sh" >conf$$.sh
  77. echo "exit 0" >>conf$$.sh
  78. chmod +x conf$$.sh
  79. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  80. PATH_SEPARATOR=';'
  81. else
  82. PATH_SEPARATOR=:
  83. fi
  84. rm -f conf$$.sh
  85. fi
  86. as_lineno_1=$LINENO
  87. as_lineno_2=$LINENO
  88. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  89. test "x$as_lineno_1" != "x$as_lineno_2" &&
  90. test "x$as_lineno_3" = "x$as_lineno_2" || {
  91. # Find who we are. Look in the path if we contain no path at all
  92. # relative or not.
  93. case $0 in
  94. *[\\/]* ) as_myself=$0 ;;
  95. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  96. for as_dir in $PATH
  97. do
  98. IFS=$as_save_IFS
  99. test -z "$as_dir" && as_dir=.
  100. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101. done
  102. ;;
  103. esac
  104. # We did not find ourselves, most probably we were run as `sh COMMAND'
  105. # in which case we are not to be found in the path.
  106. if test "x$as_myself" = x; then
  107. as_myself=$0
  108. fi
  109. if test ! -f "$as_myself"; then
  110. { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  111. { (exit 1); exit 1; }; }
  112. fi
  113. case $CONFIG_SHELL in
  114. '')
  115. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  116. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  117. do
  118. IFS=$as_save_IFS
  119. test -z "$as_dir" && as_dir=.
  120. for as_base in sh bash ksh sh5; do
  121. case $as_dir in
  122. /*)
  123. if ("$as_dir/$as_base" -c '
  124. as_lineno_1=$LINENO
  125. as_lineno_2=$LINENO
  126. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  127. test "x$as_lineno_1" != "x$as_lineno_2" &&
  128. test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  129. $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  130. $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  131. CONFIG_SHELL=$as_dir/$as_base
  132. export CONFIG_SHELL
  133. exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  134. fi;;
  135. esac
  136. done
  137. done
  138. ;;
  139. esac
  140. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  141. # uniformly replaced by the line number. The first 'sed' inserts a
  142. # line-number line before each line; the second 'sed' does the real
  143. # work. The second script uses 'N' to pair each line-number line
  144. # with the numbered line, and appends trailing '-' during
  145. # substitution so that $LINENO is not a special case at line end.
  146. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  147. # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  148. sed '=' <$as_myself |
  149. sed '
  150. N
  151. s,$,-,
  152. : loop
  153. s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  154. t loop
  155. s,-$,,
  156. s,^['$as_cr_digits']*\n,,
  157. ' >$as_me.lineno &&
  158. chmod +x $as_me.lineno ||
  159. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  160. { (exit 1); exit 1; }; }
  161. # Don't try to exec as it changes $[0], causing all sort of problems
  162. # (the dirname of $[0] is not the place where we might find the
  163. # original and so on. Autoconf is especially sensible to this).
  164. . ./$as_me.lineno
  165. # Exit status is that of the last command.
  166. exit
  167. }
  168. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  169. *c*,-n*) ECHO_N= ECHO_C='
  170. ' ECHO_T=' ' ;;
  171. *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  172. *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  173. esac
  174. if expr a : '\(a\)' >/dev/null 2>&1; then
  175. as_expr=expr
  176. else
  177. as_expr=false
  178. fi
  179. rm -f conf$$ conf$$.exe conf$$.file
  180. echo >conf$$.file
  181. if ln -s conf$$.file conf$$ 2>/dev/null; then
  182. # We could just check for DJGPP; but this test a) works b) is more generic
  183. # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  184. if test -f conf$$.exe; then
  185. # Don't use ln at all; we don't have any links
  186. as_ln_s='cp -p'
  187. else
  188. as_ln_s='ln -s'
  189. fi
  190. elif ln conf$$.file conf$$ 2>/dev/null; then
  191. as_ln_s=ln
  192. else
  193. as_ln_s='cp -p'
  194. fi
  195. rm -f conf$$ conf$$.exe conf$$.file
  196. if mkdir -p . 2>/dev/null; then
  197. as_mkdir_p=:
  198. else
  199. test -d ./-p && rmdir ./-p
  200. as_mkdir_p=false
  201. fi
  202. as_executable_p="test -f"
  203. # Sed expression to map a string onto a valid CPP name.
  204. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  205. # Sed expression to map a string onto a valid variable name.
  206. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  207. # IFS
  208. # We need space, tab and new line, in precisely that order.
  209. as_nl='
  210. '
  211. IFS=" $as_nl"
  212. # CDPATH.
  213. $as_unset CDPATH
  214. # Name of the host.
  215. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  216. # so uname gets run too.
  217. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  218. exec 6>&1
  219. #
  220. # Initializations.
  221. #
  222. ac_default_prefix=/usr/local
  223. ac_config_libobj_dir=.
  224. cross_compiling=no
  225. subdirs=
  226. MFLAGS=
  227. MAKEFLAGS=
  228. SHELL=${CONFIG_SHELL-/bin/sh}
  229. # Maximum number of lines to put in a shell here document.
  230. # This variable seems obsolete. It should probably be removed, and
  231. # only ac_max_sed_lines should be used.
  232. : ${ac_max_here_lines=38}
  233. # Identity of this package.
  234. PACKAGE_NAME=
  235. PACKAGE_TARNAME=
  236. PACKAGE_VERSION=
  237. PACKAGE_STRING=
  238. PACKAGE_BUGREPORT=
  239. ac_unique_file="Makefile"
  240. ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os ERL ERLC ERL_DLL_LIB ERLDIR ERL_INTERFACE_LIB ERL_INTERFACE_LIBS ERL_INTERFACE_INCLUDE WIN32 STRIP OUT MATHLIB EXE DLL OBJ CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LINKER FPIC SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LD_SHARED BSDI LIBOBJS LTLIBOBJS'
  241. ac_subst_files=''
  242. # Initialize some variables set by options.
  243. ac_init_help=
  244. ac_init_version=false
  245. # The variables have the same names as the options, with
  246. # dashes changed to underlines.
  247. cache_file=/dev/null
  248. exec_prefix=NONE
  249. no_create=
  250. no_recursion=
  251. prefix=NONE
  252. program_prefix=NONE
  253. program_suffix=NONE
  254. program_transform_name=s,x,x,
  255. silent=
  256. site=
  257. srcdir=
  258. verbose=
  259. x_includes=NONE
  260. x_libraries=NONE
  261. # Installation directory options.
  262. # These are left unexpanded so users can "make install exec_prefix=/foo"
  263. # and all the variables that are supposed to be based on exec_prefix
  264. # by default will actually change.
  265. # Use braces instead of parens because sh, perl, etc. also accept them.
  266. bindir='${exec_prefix}/bin'
  267. sbindir='${exec_prefix}/sbin'
  268. libexecdir='${exec_prefix}/libexec'
  269. datadir='${prefix}/share'
  270. sysconfdir='${prefix}/etc'
  271. sharedstatedir='${prefix}/com'
  272. localstatedir='${prefix}/var'
  273. libdir='${exec_prefix}/lib'
  274. includedir='${prefix}/include'
  275. oldincludedir='/usr/include'
  276. infodir='${prefix}/info'
  277. mandir='${prefix}/man'
  278. ac_prev=
  279. for ac_option
  280. do
  281. # If the previous option needs an argument, assign it.
  282. if test -n "$ac_prev"; then
  283. eval "$ac_prev=\$ac_option"
  284. ac_prev=
  285. continue
  286. fi
  287. ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  288. # Accept the important Cygnus configure options, so we can diagnose typos.
  289. case $ac_option in
  290. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  291. ac_prev=bindir ;;
  292. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  293. bindir=$ac_optarg ;;
  294. -build | --build | --buil | --bui | --bu)
  295. ac_prev=build_alias ;;
  296. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  297. build_alias=$ac_optarg ;;
  298. -cache-file | --cache-file | --cache-fil | --cache-fi \
  299. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  300. ac_prev=cache_file ;;
  301. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  302. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  303. cache_file=$ac_optarg ;;
  304. --config-cache | -C)
  305. cache_file=config.cache ;;
  306. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  307. ac_prev=datadir ;;
  308. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  309. | --da=*)
  310. datadir=$ac_optarg ;;
  311. -disable-* | --disable-*)
  312. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  313. # Reject names that are not valid shell variable names.
  314. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  315. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  316. { (exit 1); exit 1; }; }
  317. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  318. eval "enable_$ac_feature=no" ;;
  319. -enable-* | --enable-*)
  320. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  321. # Reject names that are not valid shell variable names.
  322. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  323. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  324. { (exit 1); exit 1; }; }
  325. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  326. case $ac_option in
  327. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  328. *) ac_optarg=yes ;;
  329. esac
  330. eval "enable_$ac_feature='$ac_optarg'" ;;
  331. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  332. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  333. | --exec | --exe | --ex)
  334. ac_prev=exec_prefix ;;
  335. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  336. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  337. | --exec=* | --exe=* | --ex=*)
  338. exec_prefix=$ac_optarg ;;
  339. -gas | --gas | --ga | --g)
  340. # Obsolete; use --with-gas.
  341. with_gas=yes ;;
  342. -help | --help | --hel | --he | -h)
  343. ac_init_help=long ;;
  344. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  345. ac_init_help=recursive ;;
  346. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  347. ac_init_help=short ;;
  348. -host | --host | --hos | --ho)
  349. ac_prev=host_alias ;;
  350. -host=* | --host=* | --hos=* | --ho=*)
  351. host_alias=$ac_optarg ;;
  352. -includedir | --includedir | --includedi | --included | --include \
  353. | --includ | --inclu | --incl | --inc)
  354. ac_prev=includedir ;;
  355. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  356. | --includ=* | --inclu=* | --incl=* | --inc=*)
  357. includedir=$ac_optarg ;;
  358. -infodir | --infodir | --infodi | --infod | --info | --inf)
  359. ac_prev=infodir ;;
  360. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  361. infodir=$ac_optarg ;;
  362. -libdir | --libdir | --libdi | --libd)
  363. ac_prev=libdir ;;
  364. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  365. libdir=$ac_optarg ;;
  366. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  367. | --libexe | --libex | --libe)
  368. ac_prev=libexecdir ;;
  369. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  370. | --libexe=* | --libex=* | --libe=*)
  371. libexecdir=$ac_optarg ;;
  372. -localstatedir | --localstatedir | --localstatedi | --localstated \
  373. | --localstate | --localstat | --localsta | --localst \
  374. | --locals | --local | --loca | --loc | --lo)
  375. ac_prev=localstatedir ;;
  376. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  377. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  378. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  379. localstatedir=$ac_optarg ;;
  380. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  381. ac_prev=mandir ;;
  382. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  383. mandir=$ac_optarg ;;
  384. -nfp | --nfp | --nf)
  385. # Obsolete; use --without-fp.
  386. with_fp=no ;;
  387. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  388. | --no-cr | --no-c | -n)
  389. no_create=yes ;;
  390. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  391. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  392. no_recursion=yes ;;
  393. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  394. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  395. | --oldin | --oldi | --old | --ol | --o)
  396. ac_prev=oldincludedir ;;
  397. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  398. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  399. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  400. oldincludedir=$ac_optarg ;;
  401. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  402. ac_prev=prefix ;;
  403. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  404. prefix=$ac_optarg ;;
  405. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  406. | --program-pre | --program-pr | --program-p)
  407. ac_prev=program_prefix ;;
  408. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  409. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  410. program_prefix=$ac_optarg ;;
  411. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  412. | --program-suf | --program-su | --program-s)
  413. ac_prev=program_suffix ;;
  414. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  415. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  416. program_suffix=$ac_optarg ;;
  417. -program-transform-name | --program-transform-name \
  418. | --program-transform-nam | --program-transform-na \
  419. | --program-transform-n | --program-transform- \
  420. | --program-transform | --program-transfor \
  421. | --program-transfo | --program-transf \
  422. | --program-trans | --program-tran \
  423. | --progr-tra | --program-tr | --program-t)
  424. ac_prev=program_transform_name ;;
  425. -program-transform-name=* | --program-transform-name=* \
  426. | --program-transform-nam=* | --program-transform-na=* \
  427. | --program-transform-n=* | --program-transform-=* \
  428. | --program-transform=* | --program-transfor=* \
  429. | --program-transfo=* | --program-transf=* \
  430. | --program-trans=* | --program-tran=* \
  431. | --progr-tra=* | --program-tr=* | --program-t=*)
  432. program_transform_name=$ac_optarg ;;
  433. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  434. | -silent | --silent | --silen | --sile | --sil)
  435. silent=yes ;;
  436. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  437. ac_prev=sbindir ;;
  438. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  439. | --sbi=* | --sb=*)
  440. sbindir=$ac_optarg ;;
  441. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  442. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  443. | --sharedst | --shareds | --shared | --share | --shar \
  444. | --sha | --sh)
  445. ac_prev=sharedstatedir ;;
  446. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  447. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  448. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  449. | --sha=* | --sh=*)
  450. sharedstatedir=$ac_optarg ;;
  451. -site | --site | --sit)
  452. ac_prev=site ;;
  453. -site=* | --site=* | --sit=*)
  454. site=$ac_optarg ;;
  455. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  456. ac_prev=srcdir ;;
  457. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  458. srcdir=$ac_optarg ;;
  459. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  460. | --syscon | --sysco | --sysc | --sys | --sy)
  461. ac_prev=sysconfdir ;;
  462. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  463. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  464. sysconfdir=$ac_optarg ;;
  465. -target | --target | --targe | --targ | --tar | --ta | --t)
  466. ac_prev=target_alias ;;
  467. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  468. target_alias=$ac_optarg ;;
  469. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  470. verbose=yes ;;
  471. -version | --version | --versio | --versi | --vers | -V)
  472. ac_init_version=: ;;
  473. -with-* | --with-*)
  474. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  475. # Reject names that are not valid shell variable names.
  476. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  477. { echo "$as_me: error: invalid package name: $ac_package" >&2
  478. { (exit 1); exit 1; }; }
  479. ac_package=`echo $ac_package| sed 's/-/_/g'`
  480. case $ac_option in
  481. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  482. *) ac_optarg=yes ;;
  483. esac
  484. eval "with_$ac_package='$ac_optarg'" ;;
  485. -without-* | --without-*)
  486. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  487. # Reject names that are not valid shell variable names.
  488. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  489. { echo "$as_me: error: invalid package name: $ac_package" >&2
  490. { (exit 1); exit 1; }; }
  491. ac_package=`echo $ac_package | sed 's/-/_/g'`
  492. eval "with_$ac_package=no" ;;
  493. --x)
  494. # Obsolete; use --with-x.
  495. with_x=yes ;;
  496. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  497. | --x-incl | --x-inc | --x-in | --x-i)
  498. ac_prev=x_includes ;;
  499. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  500. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  501. x_includes=$ac_optarg ;;
  502. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  503. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  504. ac_prev=x_libraries ;;
  505. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  506. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  507. x_libraries=$ac_optarg ;;
  508. -*) { echo "$as_me: error: unrecognized option: $ac_option
  509. Try \`$0 --help' for more information." >&2
  510. { (exit 1); exit 1; }; }
  511. ;;
  512. *=*)
  513. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  514. # Reject names that are not valid shell variable names.
  515. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  516. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  517. { (exit 1); exit 1; }; }
  518. ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  519. eval "$ac_envvar='$ac_optarg'"
  520. export $ac_envvar ;;
  521. *)
  522. # FIXME: should be removed in autoconf 3.0.
  523. echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  524. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  525. echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  526. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  527. ;;
  528. esac
  529. done
  530. if test -n "$ac_prev"; then
  531. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  532. { echo "$as_me: error: missing argument to $ac_option" >&2
  533. { (exit 1); exit 1; }; }
  534. fi
  535. # Be sure to have absolute paths.
  536. for ac_var in exec_prefix prefix
  537. do
  538. eval ac_val=$`echo $ac_var`
  539. case $ac_val in
  540. [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  541. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  542. { (exit 1); exit 1; }; };;
  543. esac
  544. done
  545. # Be sure to have absolute paths.
  546. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  547. localstatedir libdir includedir oldincludedir infodir mandir
  548. do
  549. eval ac_val=$`echo $ac_var`
  550. case $ac_val in
  551. [\\/$]* | ?:[\\/]* ) ;;
  552. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  553. { (exit 1); exit 1; }; };;
  554. esac
  555. done
  556. # There might be people who depend on the old broken behavior: `$host'
  557. # used to hold the argument of --host etc.
  558. # FIXME: To remove some day.
  559. build=$build_alias
  560. host=$host_alias
  561. target=$target_alias
  562. # FIXME: To remove some day.
  563. if test "x$host_alias" != x; then
  564. if test "x$build_alias" = x; then
  565. cross_compiling=maybe
  566. echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  567. If a cross compiler is detected then cross compile mode will be used." >&2
  568. elif test "x$build_alias" != "x$host_alias"; then
  569. cross_compiling=yes
  570. fi
  571. fi
  572. ac_tool_prefix=
  573. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  574. test "$silent" = yes && exec 6>/dev/null
  575. # Find the source files, if location was not specified.
  576. if test -z "$srcdir"; then
  577. ac_srcdir_defaulted=yes
  578. # Try the directory containing this script, then its parent.
  579. ac_confdir=`(dirname "$0") 2>/dev/null ||
  580. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  581. X"$0" : 'X\(//\)[^/]' \| \
  582. X"$0" : 'X\(//\)$' \| \
  583. X"$0" : 'X\(/\)' \| \
  584. . : '\(.\)' 2>/dev/null ||
  585. echo X"$0" |
  586. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  587. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  588. /^X\(\/\/\)$/{ s//\1/; q; }
  589. /^X\(\/\).*/{ s//\1/; q; }
  590. s/.*/./; q'`
  591. srcdir=$ac_confdir
  592. if test ! -r $srcdir/$ac_unique_file; then
  593. srcdir=..
  594. fi
  595. else
  596. ac_srcdir_defaulted=no
  597. fi
  598. if test ! -r $srcdir/$ac_unique_file; then
  599. if test "$ac_srcdir_defaulted" = yes; then
  600. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  601. { (exit 1); exit 1; }; }
  602. else
  603. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  604. { (exit 1); exit 1; }; }
  605. fi
  606. fi
  607. (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  608. { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  609. { (exit 1); exit 1; }; }
  610. srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  611. ac_env_build_alias_set=${build_alias+set}
  612. ac_env_build_alias_value=$build_alias
  613. ac_cv_env_build_alias_set=${build_alias+set}
  614. ac_cv_env_build_alias_value=$build_alias
  615. ac_env_host_alias_set=${host_alias+set}
  616. ac_env_host_alias_value=$host_alias
  617. ac_cv_env_host_alias_set=${host_alias+set}
  618. ac_cv_env_host_alias_value=$host_alias
  619. ac_env_target_alias_set=${target_alias+set}
  620. ac_env_target_alias_value=$target_alias
  621. ac_cv_env_target_alias_set=${target_alias+set}
  622. ac_cv_env_target_alias_value=$target_alias
  623. ac_env_CC_set=${CC+set}
  624. ac_env_CC_value=$CC
  625. ac_cv_env_CC_set=${CC+set}
  626. ac_cv_env_CC_value=$CC
  627. ac_env_CFLAGS_set=${CFLAGS+set}
  628. ac_env_CFLAGS_value=$CFLAGS
  629. ac_cv_env_CFLAGS_set=${CFLAGS+set}
  630. ac_cv_env_CFLAGS_value=$CFLAGS
  631. ac_env_LDFLAGS_set=${LDFLAGS+set}
  632. ac_env_LDFLAGS_value=$LDFLAGS
  633. ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  634. ac_cv_env_LDFLAGS_value=$LDFLAGS
  635. ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  636. ac_env_CPPFLAGS_value=$CPPFLAGS
  637. ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  638. ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  639. ac_env_CPP_set=${CPP+set}
  640. ac_env_CPP_value=$CPP
  641. ac_cv_env_CPP_set=${CPP+set}
  642. ac_cv_env_CPP_value=$CPP
  643. #
  644. # Report the --help message.
  645. #
  646. if test "$ac_init_help" = "long"; then
  647. # Omit some internal or obsolete options to make the list less imposing.
  648. # This message is too long to be a string in the A/UX 3.1 sh.
  649. cat <<_ACEOF
  650. \`configure' configures this package to adapt to many kinds of systems.
  651. Usage: $0 [OPTION]... [VAR=VALUE]...
  652. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  653. VAR=VALUE. See below for descriptions of some of the useful variables.
  654. Defaults for the options are specified in brackets.
  655. Configuration:
  656. -h, --help display this help and exit
  657. --help=short display options specific to this package
  658. --help=recursive display the short help of all the included packages
  659. -V, --version display version information and exit
  660. -q, --quiet, --silent do not print \`checking...' messages
  661. --cache-file=FILE cache test results in FILE [disabled]
  662. -C, --config-cache alias for \`--cache-file=config.cache'
  663. -n, --no-create do not create output files
  664. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  665. _ACEOF
  666. cat <<_ACEOF
  667. Installation directories:
  668. --prefix=PREFIX install architecture-independent files in PREFIX
  669. [$ac_default_prefix]
  670. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  671. [PREFIX]
  672. By default, \`make install' will install all the files in
  673. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  674. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  675. for instance \`--prefix=\$HOME'.
  676. For better control, use the options below.
  677. Fine tuning of the installation directories:
  678. --bindir=DIR user executables [EPREFIX/bin]
  679. --sbindir=DIR system admin executables [EPREFIX/sbin]
  680. --libexecdir=DIR program executables [EPREFIX/libexec]
  681. --datadir=DIR read-only architecture-independent data [PREFIX/share]
  682. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  683. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  684. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  685. --libdir=DIR object code libraries [EPREFIX/lib]
  686. --includedir=DIR C header files [PREFIX/include]
  687. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  688. --infodir=DIR info documentation [PREFIX/info]
  689. --mandir=DIR man documentation [PREFIX/man]
  690. _ACEOF
  691. cat <<\_ACEOF
  692. System types:
  693. --build=BUILD configure for building on BUILD [guessed]
  694. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  695. --target=TARGET configure for building compilers for TARGET [HOST]
  696. _ACEOF
  697. fi
  698. if test -n "$ac_init_help"; then
  699. cat <<\_ACEOF
  700. Some influential environment variables:
  701. CC C compiler command
  702. CFLAGS C compiler flags
  703. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  704. nonstandard directory <lib dir>
  705. CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
  706. headers in a nonstandard directory <include dir>
  707. CPP C preprocessor
  708. Use these variables to override the choices made by `configure' or to help
  709. it to find libraries and programs with nonstandard names/locations.
  710. _ACEOF
  711. fi
  712. if test "$ac_init_help" = "recursive"; then
  713. # If there are subdirs, report their specific --help.
  714. ac_popdir=`pwd`
  715. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  716. test -d $ac_dir || continue
  717. ac_builddir=.
  718. if test "$ac_dir" != .; then
  719. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  720. # A "../" for each directory in $ac_dir_suffix.
  721. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  722. else
  723. ac_dir_suffix= ac_top_builddir=
  724. fi
  725. case $srcdir in
  726. .) # No --srcdir option. We are building in place.
  727. ac_srcdir=.
  728. if test -z "$ac_top_builddir"; then
  729. ac_top_srcdir=.
  730. else
  731. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  732. fi ;;
  733. [\\/]* | ?:[\\/]* ) # Absolute path.
  734. ac_srcdir=$srcdir$ac_dir_suffix;
  735. ac_top_srcdir=$srcdir ;;
  736. *) # Relative path.
  737. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  738. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  739. esac
  740. # Do not use `cd foo && pwd` to compute absolute paths, because
  741. # the directories may not exist.
  742. case `pwd` in
  743. .) ac_abs_builddir="$ac_dir";;
  744. *)
  745. case "$ac_dir" in
  746. .) ac_abs_builddir=`pwd`;;
  747. [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  748. *) ac_abs_builddir=`pwd`/"$ac_dir";;
  749. esac;;
  750. esac
  751. case $ac_abs_builddir in
  752. .) ac_abs_top_builddir=${ac_top_builddir}.;;
  753. *)
  754. case ${ac_top_builddir}. in
  755. .) ac_abs_top_builddir=$ac_abs_builddir;;
  756. [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  757. *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  758. esac;;
  759. esac
  760. case $ac_abs_builddir in
  761. .) ac_abs_srcdir=$ac_srcdir;;
  762. *)
  763. case $ac_srcdir in
  764. .) ac_abs_srcdir=$ac_abs_builddir;;
  765. [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  766. *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  767. esac;;
  768. esac
  769. case $ac_abs_builddir in
  770. .) ac_abs_top_srcdir=$ac_top_srcdir;;
  771. *)
  772. case $ac_top_srcdir in
  773. .) ac_abs_top_srcdir=$ac_abs_builddir;;
  774. [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  775. *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  776. esac;;
  777. esac
  778. cd $ac_dir
  779. # Check for guested configure; otherwise get Cygnus style configure.
  780. if test -f $ac_srcdir/configure.gnu; then
  781. echo
  782. $SHELL $ac_srcdir/configure.gnu --help=recursive
  783. elif test -f $ac_srcdir/configure; then
  784. echo
  785. $SHELL $ac_srcdir/configure --help=recursive
  786. elif test -f $ac_srcdir/configure.ac ||
  787. test -f $ac_srcdir/configure.in; then
  788. echo
  789. $ac_configure --help
  790. else
  791. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  792. fi
  793. cd $ac_popdir
  794. done
  795. fi
  796. test -n "$ac_init_help" && exit 0
  797. if $ac_init_version; then
  798. cat <<\_ACEOF
  799. Copyright (C) 2003 Free Software Foundation, Inc.
  800. This configure script is free software; the Free Software Foundation
  801. gives unlimited permission to copy, distribute and modify it.
  802. _ACEOF
  803. exit 0
  804. fi
  805. exec 5>config.log
  806. cat >&5 <<_ACEOF
  807. This file contains any messages produced by compilers while
  808. running configure, to aid debugging if configure makes a mistake.
  809. It was created by $as_me, which was
  810. generated by GNU Autoconf 2.59. Invocation command line was
  811. $ $0 $@
  812. _ACEOF
  813. {
  814. cat <<_ASUNAME
  815. ## --------- ##
  816. ## Platform. ##
  817. ## --------- ##
  818. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  819. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  820. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  821. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  822. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  823. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  824. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  825. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  826. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  827. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  828. hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  829. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  830. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  831. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  832. _ASUNAME
  833. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  834. for as_dir in $PATH
  835. do
  836. IFS=$as_save_IFS
  837. test -z "$as_dir" && as_dir=.
  838. echo "PATH: $as_dir"
  839. done
  840. } >&5
  841. cat >&5 <<_ACEOF
  842. ## ----------- ##
  843. ## Core tests. ##
  844. ## ----------- ##
  845. _ACEOF
  846. # Keep a trace of the command line.
  847. # Strip out --no-create and --no-recursion so they do not pile up.
  848. # Strip out --silent because we don't want to record it for future runs.
  849. # Also quote any args containing shell meta-characters.
  850. # Make two passes to allow for proper duplicate-argument suppression.
  851. ac_configure_args=
  852. ac_configure_args0=
  853. ac_configure_args1=
  854. ac_sep=
  855. ac_must_keep_next=false
  856. for ac_pass in 1 2
  857. do
  858. for ac_arg
  859. do
  860. case $ac_arg in
  861. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  862. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  863. | -silent | --silent | --silen | --sile | --sil)
  864. continue ;;
  865. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  866. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  867. esac
  868. case $ac_pass in
  869. 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  870. 2)
  871. ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  872. if test $ac_must_keep_next = true; then
  873. ac_must_keep_next=false # Got value, back to normal.
  874. else
  875. case $ac_arg in
  876. *=* | --config-cache | -C | -disable-* | --disable-* \
  877. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  878. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  879. | -with-* | --with-* | -without-* | --without-* | --x)
  880. case "$ac_configure_args0 " in
  881. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  882. esac
  883. ;;
  884. -* ) ac_must_keep_next=true ;;
  885. esac
  886. fi
  887. ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  888. # Get rid of the leading space.
  889. ac_sep=" "
  890. ;;
  891. esac
  892. done
  893. done
  894. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  895. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  896. # When interrupted or exit'd, cleanup temporary files, and complete
  897. # config.log. We remove comments because anyway the quotes in there
  898. # would cause problems or look ugly.
  899. # WARNING: Be sure not to use single quotes in there, as some shells,
  900. # such as our DU 5.0 friend, will then `close' the trap.
  901. trap 'exit_status=$?
  902. # Save into config.log some information that might help in debugging.
  903. {
  904. echo
  905. cat <<\_ASBOX
  906. ## ---------------- ##
  907. ## Cache variables. ##
  908. ## ---------------- ##
  909. _ASBOX
  910. echo
  911. # The following way of writing the cache mishandles newlines in values,
  912. {
  913. (set) 2>&1 |
  914. case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  915. *ac_space=\ *)
  916. sed -n \
  917. "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  918. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  919. ;;
  920. *)
  921. sed -n \
  922. "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  923. ;;
  924. esac;
  925. }
  926. echo
  927. cat <<\_ASBOX
  928. ## ----------------- ##
  929. ## Output variables. ##
  930. ## ----------------- ##
  931. _ASBOX
  932. echo
  933. for ac_var in $ac_subst_vars
  934. do
  935. eval ac_val=$`echo $ac_var`
  936. echo "$ac_var='"'"'$ac_val'"'"'"
  937. done | sort
  938. echo
  939. if test -n "$ac_subst_files"; then
  940. cat <<\_ASBOX
  941. ## ------------- ##
  942. ## Output files. ##
  943. ## ------------- ##
  944. _ASBOX
  945. echo
  946. for ac_var in $ac_subst_files
  947. do
  948. eval ac_val=$`echo $ac_var`
  949. echo "$ac_var='"'"'$ac_val'"'"'"
  950. done | sort
  951. echo
  952. fi
  953. if test -s confdefs.h; then
  954. cat <<\_ASBOX
  955. ## ----------- ##
  956. ## confdefs.h. ##
  957. ## ----------- ##
  958. _ASBOX
  959. echo
  960. sed "/^$/d" confdefs.h | sort
  961. echo
  962. fi
  963. test "$ac_signal" != 0 &&
  964. echo "$as_me: caught signal $ac_signal"
  965. echo "$as_me: exit $exit_status"
  966. } >&5
  967. rm -f core *.core &&
  968. rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  969. exit $exit_status
  970. ' 0
  971. for ac_signal in 1 2 13 15; do
  972. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  973. done
  974. ac_signal=0
  975. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  976. rm -rf conftest* confdefs.h
  977. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  978. echo >confdefs.h
  979. # Predefined preprocessor variables.
  980. cat >>confdefs.h <<_ACEOF
  981. #define PACKAGE_NAME "$PACKAGE_NAME"
  982. _ACEOF
  983. cat >>confdefs.h <<_ACEOF
  984. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  985. _ACEOF
  986. cat >>confdefs.h <<_ACEOF
  987. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  988. _ACEOF
  989. cat >>confdefs.h <<_ACEOF
  990. #define PACKAGE_STRING "$PACKAGE_STRING"
  991. _ACEOF
  992. cat >>confdefs.h <<_ACEOF
  993. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  994. _ACEOF
  995. # Let the site file select an alternate cache file if it wants to.
  996. # Prefer explicitly selected file to automatically selected ones.
  997. if test -z "$CONFIG_SITE"; then
  998. if test "x$prefix" != xNONE; then
  999. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1000. else
  1001. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1002. fi
  1003. fi
  1004. for ac_site_file in $CONFIG_SITE; do
  1005. if test -r "$ac_site_file"; then
  1006. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1007. echo "$as_me: loading site script $ac_site_file" >&6;}
  1008. sed 's/^/| /' "$ac_site_file" >&5
  1009. . "$ac_site_file"
  1010. fi
  1011. done
  1012. if test -r "$cache_file"; then
  1013. # Some versions of bash will fail to source /dev/null (special
  1014. # files actually), so we avoid doing that.
  1015. if test -f "$cache_file"; then
  1016. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1017. echo "$as_me: loading cache $cache_file" >&6;}
  1018. case $cache_file in
  1019. [\\/]* | ?:[\\/]* ) . $cache_file;;
  1020. *) . ./$cache_file;;
  1021. esac
  1022. fi
  1023. else
  1024. { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1025. echo "$as_me: creating cache $cache_file" >&6;}
  1026. >$cache_file
  1027. fi
  1028. # Check that the precious variables saved in the cache have kept the same
  1029. # value.
  1030. ac_cache_corrupted=false
  1031. for ac_var in `(set) 2>&1 |
  1032. sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1033. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1034. eval ac_new_set=\$ac_env_${ac_var}_set
  1035. eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1036. eval ac_new_val="\$ac_env_${ac_var}_value"
  1037. case $ac_old_set,$ac_new_set in
  1038. set,)
  1039. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1040. echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1041. ac_cache_corrupted=: ;;
  1042. ,set)
  1043. { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1044. echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1045. ac_cache_corrupted=: ;;
  1046. ,);;
  1047. *)
  1048. if test "x$ac_old_val" != "x$ac_new_val"; then
  1049. { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1050. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1051. { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  1052. echo "$as_me: former value: $ac_old_val" >&2;}
  1053. { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  1054. echo "$as_me: current value: $ac_new_val" >&2;}
  1055. ac_cache_corrupted=:
  1056. fi;;
  1057. esac
  1058. # Pass precious variables to config.status.
  1059. if test "$ac_new_set" = set; then
  1060. case $ac_new_val in
  1061. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1062. ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1063. *) ac_arg=$ac_var=$ac_new_val ;;
  1064. esac
  1065. case " $ac_configure_args " in
  1066. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1067. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1068. esac
  1069. fi
  1070. done
  1071. if $ac_cache_corrupted; then
  1072. { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1073. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1074. { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1075. echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1076. { (exit 1); exit 1; }; }
  1077. fi
  1078. ac_ext=c
  1079. ac_cpp='$CPP $CPPFLAGS'
  1080. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1081. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1082. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1083. ac_aux_dir=
  1084. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1085. if test -f $ac_dir/install-sh; then
  1086. ac_aux_dir=$ac_dir
  1087. ac_install_sh="$ac_aux_dir/install-sh -c"
  1088. break
  1089. elif test -f $ac_dir/install.sh; then
  1090. ac_aux_dir=$ac_dir
  1091. ac_install_sh="$ac_aux_dir/install.sh -c"
  1092. break
  1093. elif test -f $ac_dir/shtool; then
  1094. ac_aux_dir=$ac_dir
  1095. ac_install_sh="$ac_aux_dir/shtool install -c"
  1096. break
  1097. fi
  1098. done
  1099. if test -z "$ac_aux_dir"; then
  1100. { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  1101. echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  1102. { (exit 1); exit 1; }; }
  1103. fi
  1104. ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1105. ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1106. ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1107. # Make sure we can run config.sub.
  1108. $ac_config_sub sun4 >/dev/null 2>&1 ||
  1109. { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
  1110. echo "$as_me: error: cannot run $ac_config_sub" >&2;}
  1111. { (exit 1); exit 1; }; }
  1112. echo "$as_me:$LINENO: checking build system type" >&5
  1113. echo $ECHO_N "checking build system type... $ECHO_C" >&6
  1114. if test "${ac_cv_build+set}" = set; then
  1115. echo $ECHO_N "(cached) $ECHO_C" >&6
  1116. else
  1117. ac_cv_build_alias=$build_alias
  1118. test -z "$ac_cv_build_alias" &&
  1119. ac_cv_build_alias=`$ac_config_guess`
  1120. test -z "$ac_cv_build_alias" &&
  1121. { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  1122. echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  1123. { (exit 1); exit 1; }; }
  1124. ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
  1125. { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
  1126. echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
  1127. { (exit 1); exit 1; }; }
  1128. fi
  1129. echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1130. echo "${ECHO_T}$ac_cv_build" >&6
  1131. build=$ac_cv_build
  1132. build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1133. build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1134. build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1135. echo "$as_me:$LINENO: checking host system type" >&5
  1136. echo $ECHO_N "checking host system type... $ECHO_C" >&6
  1137. if test "${ac_cv_host+set}" = set; then
  1138. echo $ECHO_N "(cached) $ECHO_C" >&6
  1139. else
  1140. ac_cv_host_alias=$host_alias
  1141. test -z "$ac_cv_host_alias" &&
  1142. ac_cv_host_alias=$ac_cv_build_alias
  1143. ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
  1144. { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
  1145. echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
  1146. { (exit 1); exit 1; }; }
  1147. fi
  1148. echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  1149. echo "${ECHO_T}$ac_cv_host" >&6
  1150. host=$ac_cv_host
  1151. host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1152. host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1153. host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1154. echo "$as_me:$LINENO: checking target system type" >&5
  1155. echo $ECHO_N "checking target system type... $ECHO_C" >&6
  1156. if test "${ac_cv_target+set}" = set; then
  1157. echo $ECHO_N "(cached) $ECHO_C" >&6
  1158. else
  1159. ac_cv_target_alias=$target_alias
  1160. test "x$ac_cv_target_alias" = "x" &&
  1161. ac_cv_target_alias=$ac_cv_host_alias
  1162. ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
  1163. { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
  1164. echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
  1165. { (exit 1); exit 1; }; }
  1166. fi
  1167. echo "$as_me:$LINENO: result: $ac_cv_target" >&5
  1168. echo "${ECHO_T}$ac_cv_target" >&6
  1169. target=$ac_cv_target
  1170. target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1171. target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1172. target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1173. # The aliases save the names the user supplied, while $host etc.
  1174. # will get canonicalized.
  1175. test -n "$target_alias" &&
  1176. test "$program_prefix$program_suffix$program_transform_name" = \
  1177. NONENONEs,x,x, &&
  1178. program_prefix=${target_alias}-
  1179. cat >>confdefs.h <<_ACEOF
  1180. #define CPU_VENDOR_OS "$target"
  1181. _ACEOF
  1182. # Extract the first word of "erl", so it can be a program name with args.
  1183. set dummy erl; ac_word=$2
  1184. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1185. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1186. if test "${ac_cv_path_ERL+set}" = set; then
  1187. echo $ECHO_N "(cached) $ECHO_C" >&6
  1188. else
  1189. case $ERL in
  1190. [\\/]* | ?:[\\/]*)
  1191. ac_cv_path_ERL="$ERL" # Let the user override the test with a path.
  1192. ;;
  1193. *)
  1194. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1195. for as_dir in $PATH
  1196. do
  1197. IFS=$as_save_IFS
  1198. test -z "$as_dir" && as_dir=.
  1199. for ac_exec_ext in '' $ac_executable_extensions; do
  1200. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1201. ac_cv_path_ERL="$as_dir/$ac_word$ac_exec_ext"
  1202. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1203. break 2
  1204. fi
  1205. done
  1206. done
  1207. test -z "$ac_cv_path_ERL" && ac_cv_path_ERL="no"
  1208. ;;
  1209. esac
  1210. fi
  1211. ERL=$ac_cv_path_ERL
  1212. if test -n "$ERL"; then
  1213. echo "$as_me:$LINENO: result: $ERL" >&5
  1214. echo "${ECHO_T}$ERL" >&6
  1215. else
  1216. echo "$as_me:$LINENO: result: no" >&5
  1217. echo "${ECHO_T}no" >&6
  1218. fi
  1219. case $ERL in
  1220. /*)
  1221. # Ok
  1222. ;;
  1223. no)
  1224. # Not found
  1225. { { echo "$as_me:$LINENO: error: \"ERL not found in path!\"" >&5
  1226. echo "$as_me: error: \"ERL not found in path!\"" >&2;}
  1227. { (exit 1); exit 1; }; }
  1228. ;;
  1229. *)
  1230. # Not an absoluet path
  1231. { { echo "$as_me:$LINENO: error: \"Could not find absolute path to ERL\"" >&5
  1232. echo "$as_me: error: \"Could not find absolute path to ERL\"" >&2;}
  1233. { (exit 1); exit 1; }; }
  1234. ;;
  1235. esac
  1236. # Extract the first word of "erlc", so it can be a program name with args.
  1237. set dummy erlc; ac_word=$2
  1238. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1239. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1240. if test "${ac_cv_path_ERLC+set}" = set; then
  1241. echo $ECHO_N "(cached) $ECHO_C" >&6
  1242. else
  1243. case $ERLC in
  1244. [\\/]* | ?:[\\/]*)
  1245. ac_cv_path_ERLC="$ERLC" # Let the user override the test with a path.
  1246. ;;
  1247. *)
  1248. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1249. for as_dir in $PATH
  1250. do
  1251. IFS=$as_save_IFS
  1252. test -z "$as_dir" && as_dir=.
  1253. for ac_exec_ext in '' $ac_executable_extensions; do
  1254. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1255. ac_cv_path_ERLC="$as_dir/$ac_word$ac_exec_ext"
  1256. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1257. break 2
  1258. fi
  1259. done
  1260. done
  1261. test -z "$ac_cv_path_ERLC" && ac_cv_path_ERLC="no"
  1262. ;;
  1263. esac
  1264. fi
  1265. ERLC=$ac_cv_path_ERLC
  1266. if test -n "$ERLC"; then
  1267. echo "$as_me:$LINENO: result: $ERLC" >&5
  1268. echo "${ECHO_T}$ERLC" >&6
  1269. else
  1270. echo "$as_me:$LINENO: result: no" >&5
  1271. echo "${ECHO_T}no" >&6
  1272. fi
  1273. case $ERLC in
  1274. /*)
  1275. # Ok
  1276. ;;
  1277. no)
  1278. # Not found
  1279. { { echo "$as_me:$LINENO: error: \"ERLC not found in path!\"" >&5
  1280. echo "$as_me: error: \"ERLC not found in path!\"" >&2;}
  1281. { (exit 1); exit 1; }; }
  1282. ;;
  1283. *)
  1284. # Not an absoluet path
  1285. { { echo "$as_me:$LINENO: error: \"Could not find absolute path to ERLC\"" >&5
  1286. echo "$as_me: error: \"Could not find absolute path to ERLC\"" >&2;}
  1287. { (exit 1); exit 1; }; }
  1288. ;;
  1289. esac
  1290. case "$target_os" in
  1291. *cygwin*)
  1292. ERLDIR=`echo ${ERL} | sed 's/\/erts.*//'`
  1293. ERL_DLL_LIB=`ntpath.sh ${ERLDIR}/usr/lib/erl_dll.lib`
  1294. ;;
  1295. *)
  1296. ERLDIR=`awk -F= '/ROOTDIR=/ { print $2; exit; }' $ERL`;;
  1297. esac
  1298. if test ! -d $ERLDIR ; then
  1299. { { echo "$as_me:$LINENO: error: Broken Erlang installation, $ERLDIR does not exist!" >&5
  1300. echo "$as_me: error: Broken Erlang installation, $ERLDIR does not exist!" >&2;}
  1301. { (exit 1); exit 1; }; }
  1302. fi
  1303. ERL_INTERFACE_DIR=`echo ${ERLDIR}/lib/erl_interface-* | sort -r | sed 1q`
  1304. ERL_INTERFACE_LIB=${ERL_INTERFACE_DIR}/lib
  1305. case $target_os in
  1306. *cygwin*)
  1307. ERL_INTERFACE_LIBS=`./ntpath.sh "$ERL_INTERFACE_LIB/erl_interface.lib $ERL_INTERFACE_LIB/ei.lib"`;;
  1308. *)
  1309. ERL_INTERFACE_LIBS="-lerl_interface -lei ";;
  1310. esac
  1311. ERL_INTERFACE_INCLUDE=${ERL_INTERFACE_DIR}/include
  1312. case "$target_os" in
  1313. *cygwin*)
  1314. WIN32=win32
  1315. cat >>confdefs.h <<\_ACEOF
  1316. #define WIN32 1
  1317. _ACEOF
  1318. STRIP=echo
  1319. OUT="/out:"
  1320. EXE=.exe
  1321. DLL=dll
  1322. OBJ=obj
  1323. ;;
  1324. *)
  1325. ac_ext=c
  1326. ac_cpp='$CPP $CPPFLAGS'
  1327. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1328. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1329. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1330. if test -n "$ac_tool_prefix"; then
  1331. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1332. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1333. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1334. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1335. if test "${ac_cv_prog_CC+set}" = set; then
  1336. echo $ECHO_N "(cached) $ECHO_C" >&6
  1337. else
  1338. if test -n "$CC"; then
  1339. ac_cv_prog_CC="$CC" # Let the user override the test.
  1340. else
  1341. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1342. for as_dir in $PATH
  1343. do
  1344. IFS=$as_save_IFS
  1345. test -z "$as_dir" && as_dir=.
  1346. for ac_exec_ext in '' $ac_executable_extensions; do
  1347. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1348. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1349. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1350. break 2
  1351. fi
  1352. done
  1353. done
  1354. fi
  1355. fi
  1356. CC=$ac_cv_prog_CC
  1357. if test -n "$CC"; then
  1358. echo "$as_me:$LINENO: result: $CC" >&5
  1359. echo "${ECHO_T}$CC" >&6
  1360. else
  1361. echo "$as_me:$LINENO: result: no" >&5
  1362. echo "${ECHO_T}no" >&6
  1363. fi
  1364. fi
  1365. if test -z "$ac_cv_prog_CC"; then
  1366. ac_ct_CC=$CC
  1367. # Extract the first word of "gcc", so it can be a program name with args.
  1368. set dummy gcc; ac_word=$2
  1369. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1370. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1371. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1372. echo $ECHO_N "(cached) $ECHO_C" >&6
  1373. else
  1374. if test -n "$ac_ct_CC"; then
  1375. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1376. else
  1377. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1378. for as_dir in $PATH
  1379. do
  1380. IFS=$as_save_I

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