PageRenderTime 59ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 2ms

/lib/antlr-2.7.5/configure

http://github.com/bamboo/boo
Shell | 7844 lines | 6031 code | 1063 blank | 750 comment | 808 complexity | de136eb0f94fedafe22b7d01ee372e65 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 by GNU Autoconf 2.59 for antlr 2.7.5.
  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='antlr'
  235. PACKAGE_TARNAME='antlr'
  236. PACKAGE_VERSION='2.7.5'
  237. PACKAGE_STRING='antlr 2.7.5'
  238. PACKAGE_BUGREPORT=''
  239. ac_unique_file="LICENSE.txt"
  240. # Factoring default headers for most tests.
  241. ac_includes_default="\
  242. #include <stdio.h>
  243. #if HAVE_SYS_TYPES_H
  244. # include <sys/types.h>
  245. #endif
  246. #if HAVE_SYS_STAT_H
  247. # include <sys/stat.h>
  248. #endif
  249. #if STDC_HEADERS
  250. # include <stdlib.h>
  251. # include <stddef.h>
  252. #else
  253. # if HAVE_STDLIB_H
  254. # include <stdlib.h>
  255. # endif
  256. #endif
  257. #if HAVE_STRING_H
  258. # if !STDC_HEADERS && HAVE_MEMORY_H
  259. # include <memory.h>
  260. # endif
  261. # include <string.h>
  262. #endif
  263. #if HAVE_STRINGS_H
  264. # include <strings.h>
  265. #endif
  266. #if HAVE_INTTYPES_H
  267. # include <inttypes.h>
  268. #else
  269. # if HAVE_STDINT_H
  270. # include <stdint.h>
  271. # endif
  272. #endif
  273. #if HAVE_UNISTD_H
  274. # include <unistd.h>
  275. #endif"
  276. 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 ANTLR_JAR ANTLR_LIB ANTLR_NET ANTLR_PY ASTFRAME_NET antlr_jar antlr_lib antlr_net antlr_py astframe_net ANTLRFLAGS ANTLR ANTLR_ACTION_FILES ANTLR_ANTLR_FILES ANTLR_COMPILE_CMD ANTLR_CYGWIN ANTLR_MINGW ANTLR_TOKDEF_FILES ANTLR_WIN32 ANTLR_WITH_ANTLR_CMD ANTLR_WITH_ANTLR_JAR ARFLAGS AR AS BOOTCLASSPATH CSHARPCFLAGS CSHARPC CSHARP_COMPILE_CMD CLR CXX_COMPILE_CMD CXX_LIB_CMD CXX_LINK_CMD CYGPATH C_COMPILE_CMD DEBUG EXEEXT JARFLAGS JAR JAR_CMD JAVACFLAGS JAVAC JAVAFLAGS JAVA JAVA_CMD JAVA_COMPILE_CMD LIBEXT MAKE OBJEXT PATCHLEVEL PYTHONFLAGS PYTHON SUBVERSION TIMESTAMP TOUCH VERBOSE VERSION WITH_EXAMPLES abs_this_builddir cxx jar java javac TAR build build_cpu build_vendor build_os host host_cpu host_vendor host_os CYGPATH_M CYGPATH_W just_make CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX CC CFLAGS ac_ct_CC CPP EGREP LIBOBJS DOXYGEN INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB MKDIR RM CHMOD SED CAT GREP LTLIBOBJS'
  277. ac_subst_files='stdvars stddeps stdmake'
  278. # Initialize some variables set by options.
  279. ac_init_help=
  280. ac_init_version=false
  281. # The variables have the same names as the options, with
  282. # dashes changed to underlines.
  283. cache_file=/dev/null
  284. exec_prefix=NONE
  285. no_create=
  286. no_recursion=
  287. prefix=NONE
  288. program_prefix=NONE
  289. program_suffix=NONE
  290. program_transform_name=s,x,x,
  291. silent=
  292. site=
  293. srcdir=
  294. verbose=
  295. x_includes=NONE
  296. x_libraries=NONE
  297. # Installation directory options.
  298. # These are left unexpanded so users can "make install exec_prefix=/foo"
  299. # and all the variables that are supposed to be based on exec_prefix
  300. # by default will actually change.
  301. # Use braces instead of parens because sh, perl, etc. also accept them.
  302. bindir='${exec_prefix}/bin'
  303. sbindir='${exec_prefix}/sbin'
  304. libexecdir='${exec_prefix}/libexec'
  305. datadir='${prefix}/share'
  306. sysconfdir='${prefix}/etc'
  307. sharedstatedir='${prefix}/com'
  308. localstatedir='${prefix}/var'
  309. libdir='${exec_prefix}/lib'
  310. includedir='${prefix}/include'
  311. oldincludedir='/usr/include'
  312. infodir='${prefix}/info'
  313. mandir='${prefix}/man'
  314. ac_prev=
  315. for ac_option
  316. do
  317. # If the previous option needs an argument, assign it.
  318. if test -n "$ac_prev"; then
  319. eval "$ac_prev=\$ac_option"
  320. ac_prev=
  321. continue
  322. fi
  323. ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  324. # Accept the important Cygnus configure options, so we can diagnose typos.
  325. case $ac_option in
  326. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  327. ac_prev=bindir ;;
  328. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  329. bindir=$ac_optarg ;;
  330. -build | --build | --buil | --bui | --bu)
  331. ac_prev=build_alias ;;
  332. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  333. build_alias=$ac_optarg ;;
  334. -cache-file | --cache-file | --cache-fil | --cache-fi \
  335. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  336. ac_prev=cache_file ;;
  337. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  338. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  339. cache_file=$ac_optarg ;;
  340. --config-cache | -C)
  341. cache_file=config.cache ;;
  342. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  343. ac_prev=datadir ;;
  344. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  345. | --da=*)
  346. datadir=$ac_optarg ;;
  347. -disable-* | --disable-*)
  348. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  349. # Reject names that are not valid shell variable names.
  350. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  351. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  352. { (exit 1); exit 1; }; }
  353. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  354. eval "enable_$ac_feature=no" ;;
  355. -enable-* | --enable-*)
  356. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  357. # Reject names that are not valid shell variable names.
  358. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  359. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  360. { (exit 1); exit 1; }; }
  361. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  362. case $ac_option in
  363. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  364. *) ac_optarg=yes ;;
  365. esac
  366. eval "enable_$ac_feature='$ac_optarg'" ;;
  367. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  368. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  369. | --exec | --exe | --ex)
  370. ac_prev=exec_prefix ;;
  371. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  372. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  373. | --exec=* | --exe=* | --ex=*)
  374. exec_prefix=$ac_optarg ;;
  375. -gas | --gas | --ga | --g)
  376. # Obsolete; use --with-gas.
  377. with_gas=yes ;;
  378. -help | --help | --hel | --he | -h)
  379. ac_init_help=long ;;
  380. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  381. ac_init_help=recursive ;;
  382. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  383. ac_init_help=short ;;
  384. -host | --host | --hos | --ho)
  385. ac_prev=host_alias ;;
  386. -host=* | --host=* | --hos=* | --ho=*)
  387. host_alias=$ac_optarg ;;
  388. -includedir | --includedir | --includedi | --included | --include \
  389. | --includ | --inclu | --incl | --inc)
  390. ac_prev=includedir ;;
  391. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  392. | --includ=* | --inclu=* | --incl=* | --inc=*)
  393. includedir=$ac_optarg ;;
  394. -infodir | --infodir | --infodi | --infod | --info | --inf)
  395. ac_prev=infodir ;;
  396. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  397. infodir=$ac_optarg ;;
  398. -libdir | --libdir | --libdi | --libd)
  399. ac_prev=libdir ;;
  400. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  401. libdir=$ac_optarg ;;
  402. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  403. | --libexe | --libex | --libe)
  404. ac_prev=libexecdir ;;
  405. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  406. | --libexe=* | --libex=* | --libe=*)
  407. libexecdir=$ac_optarg ;;
  408. -localstatedir | --localstatedir | --localstatedi | --localstated \
  409. | --localstate | --localstat | --localsta | --localst \
  410. | --locals | --local | --loca | --loc | --lo)
  411. ac_prev=localstatedir ;;
  412. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  413. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  414. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  415. localstatedir=$ac_optarg ;;
  416. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  417. ac_prev=mandir ;;
  418. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  419. mandir=$ac_optarg ;;
  420. -nfp | --nfp | --nf)
  421. # Obsolete; use --without-fp.
  422. with_fp=no ;;
  423. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  424. | --no-cr | --no-c | -n)
  425. no_create=yes ;;
  426. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  427. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  428. no_recursion=yes ;;
  429. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  430. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  431. | --oldin | --oldi | --old | --ol | --o)
  432. ac_prev=oldincludedir ;;
  433. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  434. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  435. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  436. oldincludedir=$ac_optarg ;;
  437. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  438. ac_prev=prefix ;;
  439. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  440. prefix=$ac_optarg ;;
  441. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  442. | --program-pre | --program-pr | --program-p)
  443. ac_prev=program_prefix ;;
  444. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  445. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  446. program_prefix=$ac_optarg ;;
  447. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  448. | --program-suf | --program-su | --program-s)
  449. ac_prev=program_suffix ;;
  450. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  451. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  452. program_suffix=$ac_optarg ;;
  453. -program-transform-name | --program-transform-name \
  454. | --program-transform-nam | --program-transform-na \
  455. | --program-transform-n | --program-transform- \
  456. | --program-transform | --program-transfor \
  457. | --program-transfo | --program-transf \
  458. | --program-trans | --program-tran \
  459. | --progr-tra | --program-tr | --program-t)
  460. ac_prev=program_transform_name ;;
  461. -program-transform-name=* | --program-transform-name=* \
  462. | --program-transform-nam=* | --program-transform-na=* \
  463. | --program-transform-n=* | --program-transform-=* \
  464. | --program-transform=* | --program-transfor=* \
  465. | --program-transfo=* | --program-transf=* \
  466. | --program-trans=* | --program-tran=* \
  467. | --progr-tra=* | --program-tr=* | --program-t=*)
  468. program_transform_name=$ac_optarg ;;
  469. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  470. | -silent | --silent | --silen | --sile | --sil)
  471. silent=yes ;;
  472. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  473. ac_prev=sbindir ;;
  474. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  475. | --sbi=* | --sb=*)
  476. sbindir=$ac_optarg ;;
  477. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  478. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  479. | --sharedst | --shareds | --shared | --share | --shar \
  480. | --sha | --sh)
  481. ac_prev=sharedstatedir ;;
  482. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  483. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  484. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  485. | --sha=* | --sh=*)
  486. sharedstatedir=$ac_optarg ;;
  487. -site | --site | --sit)
  488. ac_prev=site ;;
  489. -site=* | --site=* | --sit=*)
  490. site=$ac_optarg ;;
  491. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  492. ac_prev=srcdir ;;
  493. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  494. srcdir=$ac_optarg ;;
  495. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  496. | --syscon | --sysco | --sysc | --sys | --sy)
  497. ac_prev=sysconfdir ;;
  498. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  499. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  500. sysconfdir=$ac_optarg ;;
  501. -target | --target | --targe | --targ | --tar | --ta | --t)
  502. ac_prev=target_alias ;;
  503. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  504. target_alias=$ac_optarg ;;
  505. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  506. verbose=yes ;;
  507. -version | --version | --versio | --versi | --vers | -V)
  508. ac_init_version=: ;;
  509. -with-* | --with-*)
  510. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  511. # Reject names that are not valid shell variable names.
  512. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  513. { echo "$as_me: error: invalid package name: $ac_package" >&2
  514. { (exit 1); exit 1; }; }
  515. ac_package=`echo $ac_package| sed 's/-/_/g'`
  516. case $ac_option in
  517. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  518. *) ac_optarg=yes ;;
  519. esac
  520. eval "with_$ac_package='$ac_optarg'" ;;
  521. -without-* | --without-*)
  522. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  523. # Reject names that are not valid shell variable names.
  524. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  525. { echo "$as_me: error: invalid package name: $ac_package" >&2
  526. { (exit 1); exit 1; }; }
  527. ac_package=`echo $ac_package | sed 's/-/_/g'`
  528. eval "with_$ac_package=no" ;;
  529. --x)
  530. # Obsolete; use --with-x.
  531. with_x=yes ;;
  532. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  533. | --x-incl | --x-inc | --x-in | --x-i)
  534. ac_prev=x_includes ;;
  535. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  536. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  537. x_includes=$ac_optarg ;;
  538. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  539. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  540. ac_prev=x_libraries ;;
  541. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  542. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  543. x_libraries=$ac_optarg ;;
  544. -*) { echo "$as_me: error: unrecognized option: $ac_option
  545. Try \`$0 --help' for more information." >&2
  546. { (exit 1); exit 1; }; }
  547. ;;
  548. *=*)
  549. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  550. # Reject names that are not valid shell variable names.
  551. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  552. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  553. { (exit 1); exit 1; }; }
  554. ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  555. eval "$ac_envvar='$ac_optarg'"
  556. export $ac_envvar ;;
  557. *)
  558. # FIXME: should be removed in autoconf 3.0.
  559. echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  560. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  561. echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  562. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  563. ;;
  564. esac
  565. done
  566. if test -n "$ac_prev"; then
  567. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  568. { echo "$as_me: error: missing argument to $ac_option" >&2
  569. { (exit 1); exit 1; }; }
  570. fi
  571. # Be sure to have absolute paths.
  572. for ac_var in exec_prefix prefix
  573. do
  574. eval ac_val=$`echo $ac_var`
  575. case $ac_val in
  576. [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  577. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  578. { (exit 1); exit 1; }; };;
  579. esac
  580. done
  581. # Be sure to have absolute paths.
  582. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  583. localstatedir libdir includedir oldincludedir infodir mandir
  584. do
  585. eval ac_val=$`echo $ac_var`
  586. case $ac_val in
  587. [\\/$]* | ?:[\\/]* ) ;;
  588. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  589. { (exit 1); exit 1; }; };;
  590. esac
  591. done
  592. # There might be people who depend on the old broken behavior: `$host'
  593. # used to hold the argument of --host etc.
  594. # FIXME: To remove some day.
  595. build=$build_alias
  596. host=$host_alias
  597. target=$target_alias
  598. # FIXME: To remove some day.
  599. if test "x$host_alias" != x; then
  600. if test "x$build_alias" = x; then
  601. cross_compiling=maybe
  602. echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  603. If a cross compiler is detected then cross compile mode will be used." >&2
  604. elif test "x$build_alias" != "x$host_alias"; then
  605. cross_compiling=yes
  606. fi
  607. fi
  608. ac_tool_prefix=
  609. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  610. test "$silent" = yes && exec 6>/dev/null
  611. # Find the source files, if location was not specified.
  612. if test -z "$srcdir"; then
  613. ac_srcdir_defaulted=yes
  614. # Try the directory containing this script, then its parent.
  615. ac_confdir=`(dirname "$0") 2>/dev/null ||
  616. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  617. X"$0" : 'X\(//\)[^/]' \| \
  618. X"$0" : 'X\(//\)$' \| \
  619. X"$0" : 'X\(/\)' \| \
  620. . : '\(.\)' 2>/dev/null ||
  621. echo X"$0" |
  622. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  623. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  624. /^X\(\/\/\)$/{ s//\1/; q; }
  625. /^X\(\/\).*/{ s//\1/; q; }
  626. s/.*/./; q'`
  627. srcdir=$ac_confdir
  628. if test ! -r $srcdir/$ac_unique_file; then
  629. srcdir=..
  630. fi
  631. else
  632. ac_srcdir_defaulted=no
  633. fi
  634. if test ! -r $srcdir/$ac_unique_file; then
  635. if test "$ac_srcdir_defaulted" = yes; then
  636. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  637. { (exit 1); exit 1; }; }
  638. else
  639. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  640. { (exit 1); exit 1; }; }
  641. fi
  642. fi
  643. (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  644. { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  645. { (exit 1); exit 1; }; }
  646. srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  647. ac_env_build_alias_set=${build_alias+set}
  648. ac_env_build_alias_value=$build_alias
  649. ac_cv_env_build_alias_set=${build_alias+set}
  650. ac_cv_env_build_alias_value=$build_alias
  651. ac_env_host_alias_set=${host_alias+set}
  652. ac_env_host_alias_value=$host_alias
  653. ac_cv_env_host_alias_set=${host_alias+set}
  654. ac_cv_env_host_alias_value=$host_alias
  655. ac_env_target_alias_set=${target_alias+set}
  656. ac_env_target_alias_value=$target_alias
  657. ac_cv_env_target_alias_set=${target_alias+set}
  658. ac_cv_env_target_alias_value=$target_alias
  659. ac_env_ANTLRFLAGS_set=${ANTLRFLAGS+set}
  660. ac_env_ANTLRFLAGS_value=$ANTLRFLAGS
  661. ac_cv_env_ANTLRFLAGS_set=${ANTLRFLAGS+set}
  662. ac_cv_env_ANTLRFLAGS_value=$ANTLRFLAGS
  663. ac_env_MAKE_set=${MAKE+set}
  664. ac_env_MAKE_value=$MAKE
  665. ac_cv_env_MAKE_set=${MAKE+set}
  666. ac_cv_env_MAKE_value=$MAKE
  667. ac_env_JAVAC_set=${JAVAC+set}
  668. ac_env_JAVAC_value=$JAVAC
  669. ac_cv_env_JAVAC_set=${JAVAC+set}
  670. ac_cv_env_JAVAC_value=$JAVAC
  671. ac_env_JAVACFLAGS_set=${JAVACFLAGS+set}
  672. ac_env_JAVACFLAGS_value=$JAVACFLAGS
  673. ac_cv_env_JAVACFLAGS_set=${JAVACFLAGS+set}
  674. ac_cv_env_JAVACFLAGS_value=$JAVACFLAGS
  675. ac_env_JAVA_set=${JAVA+set}
  676. ac_env_JAVA_value=$JAVA
  677. ac_cv_env_JAVA_set=${JAVA+set}
  678. ac_cv_env_JAVA_value=$JAVA
  679. ac_env_JAVAFLAGS_set=${JAVAFLAGS+set}
  680. ac_env_JAVAFLAGS_value=$JAVAFLAGS
  681. ac_cv_env_JAVAFLAGS_set=${JAVAFLAGS+set}
  682. ac_cv_env_JAVAFLAGS_value=$JAVAFLAGS
  683. ac_env_CXX_set=${CXX+set}
  684. ac_env_CXX_value=$CXX
  685. ac_cv_env_CXX_set=${CXX+set}
  686. ac_cv_env_CXX_value=$CXX
  687. ac_env_CXXFLAGS_set=${CXXFLAGS+set}
  688. ac_env_CXXFLAGS_value=$CXXFLAGS
  689. ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
  690. ac_cv_env_CXXFLAGS_value=$CXXFLAGS
  691. ac_env_LDFLAGS_set=${LDFLAGS+set}
  692. ac_env_LDFLAGS_value=$LDFLAGS
  693. ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  694. ac_cv_env_LDFLAGS_value=$LDFLAGS
  695. ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  696. ac_env_CPPFLAGS_value=$CPPFLAGS
  697. ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  698. ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  699. ac_env_CC_set=${CC+set}
  700. ac_env_CC_value=$CC
  701. ac_cv_env_CC_set=${CC+set}
  702. ac_cv_env_CC_value=$CC
  703. ac_env_CFLAGS_set=${CFLAGS+set}
  704. ac_env_CFLAGS_value=$CFLAGS
  705. ac_cv_env_CFLAGS_set=${CFLAGS+set}
  706. ac_cv_env_CFLAGS_value=$CFLAGS
  707. ac_env_CPP_set=${CPP+set}
  708. ac_env_CPP_value=$CPP
  709. ac_cv_env_CPP_set=${CPP+set}
  710. ac_cv_env_CPP_value=$CPP
  711. ac_env_PYTHON_set=${PYTHON+set}
  712. ac_env_PYTHON_value=$PYTHON
  713. ac_cv_env_PYTHON_set=${PYTHON+set}
  714. ac_cv_env_PYTHON_value=$PYTHON
  715. ac_env_PYTHONFLAGS_set=${PYTHONFLAGS+set}
  716. ac_env_PYTHONFLAGS_value=$PYTHONFLAGS
  717. ac_cv_env_PYTHONFLAGS_set=${PYTHONFLAGS+set}
  718. ac_cv_env_PYTHONFLAGS_value=$PYTHONFLAGS
  719. ac_env_CSHARPC_set=${CSHARPC+set}
  720. ac_env_CSHARPC_value=$CSHARPC
  721. ac_cv_env_CSHARPC_set=${CSHARPC+set}
  722. ac_cv_env_CSHARPC_value=$CSHARPC
  723. ac_env_CSHARPCFLAGS_set=${CSHARPCFLAGS+set}
  724. ac_env_CSHARPCFLAGS_value=$CSHARPCFLAGS
  725. ac_cv_env_CSHARPCFLAGS_set=${CSHARPCFLAGS+set}
  726. ac_cv_env_CSHARPCFLAGS_value=$CSHARPCFLAGS
  727. #
  728. # Report the --help message.
  729. #
  730. if test "$ac_init_help" = "long"; then
  731. # Omit some internal or obsolete options to make the list less imposing.
  732. # This message is too long to be a string in the A/UX 3.1 sh.
  733. cat <<_ACEOF
  734. \`configure' configures antlr 2.7.5 to adapt to many kinds of systems.
  735. Usage: $0 [OPTION]... [VAR=VALUE]...
  736. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  737. VAR=VALUE. See below for descriptions of some of the useful variables.
  738. Defaults for the options are specified in brackets.
  739. Configuration:
  740. -h, --help display this help and exit
  741. --help=short display options specific to this package
  742. --help=recursive display the short help of all the included packages
  743. -V, --version display version information and exit
  744. -q, --quiet, --silent do not print \`checking...' messages
  745. --cache-file=FILE cache test results in FILE [disabled]
  746. -C, --config-cache alias for \`--cache-file=config.cache'
  747. -n, --no-create do not create output files
  748. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  749. _ACEOF
  750. cat <<_ACEOF
  751. Installation directories:
  752. --prefix=PREFIX install architecture-independent files in PREFIX
  753. [$ac_default_prefix]
  754. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  755. [PREFIX]
  756. By default, \`make install' will install all the files in
  757. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  758. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  759. for instance \`--prefix=\$HOME'.
  760. For better control, use the options below.
  761. Fine tuning of the installation directories:
  762. --bindir=DIR user executables [EPREFIX/bin]
  763. --sbindir=DIR system admin executables [EPREFIX/sbin]
  764. --libexecdir=DIR program executables [EPREFIX/libexec]
  765. --datadir=DIR read-only architecture-independent data [PREFIX/share]
  766. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  767. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  768. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  769. --libdir=DIR object code libraries [EPREFIX/lib]
  770. --includedir=DIR C header files [PREFIX/include]
  771. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  772. --infodir=DIR info documentation [PREFIX/info]
  773. --mandir=DIR man documentation [PREFIX/man]
  774. _ACEOF
  775. cat <<\_ACEOF
  776. System types:
  777. --build=BUILD configure for building on BUILD [guessed]
  778. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  779. _ACEOF
  780. fi
  781. if test -n "$ac_init_help"; then
  782. case $ac_init_help in
  783. short | recursive ) echo "Configuration of antlr 2.7.5:";;
  784. esac
  785. cat <<\_ACEOF
  786. Optional Features:
  787. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  788. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  789. --enable-java enable or disable ANTLR for Java (enabled)
  790. --enable-cxx enable or disable ANTLR for C++ (enabled)
  791. --enable-python enable or disable ANTLR for Python (enabled).
  792. --enable-csharp enable or disable ANTLR for C# (enabled)
  793. --enable-verbose turn on verbosity when building package.
  794. --enable-debug set debug level - any value greater zero enables a
  795. debug version
  796. --enable-examples include examples into this configuration (enabled)
  797. Optional Packages:
  798. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  799. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  800. --with-antlr-jar=ARG use given file (antlr.jar) to bootstrap
  801. --with-antlr-cmd=ARG use given command to compile ANTLR grammar files
  802. while bootstrapping..
  803. --bootclasspath=ARG use this option to set bootclasspath when using
  804. jikes. ARG is a white space seperated list of
  805. absolute file or directory names, typically
  806. /opt/jdk1.3/jre/lib/rt.jar. In most cases this
  807. option is not requird as configure tries to detect
  808. rt.jar itself. If configure fails or detects the
  809. wrong boot library you may use this option. Note
  810. that this option is only used when using jikes.
  811. --with-cxx=ARG given argument will override variable $CXX. For a
  812. detailed description of $CXX see below.
  813. --with-cxxflags=ARG given argument will override variable $CXXFLAGS. For
  814. a detailed description of $CXXFLAGS see below.
  815. --with-make=ARG given argument will override variable $MAKE. For a
  816. detailed description of $MAKE see below.
  817. --with-makeflags=ARG given argument will override variable $MAKEFLAGS.
  818. For a detailed description of $MAKEFLAGS see below.
  819. --with-java=ARG given argument will override variable $JAVA. For a
  820. detailed description of $JAVA see below.
  821. --with-javaflags=ARG given argument will override variable $JAVAFLAGS.
  822. For a detailed description of $JAVAFLAGS see below.
  823. --with-javac=ARG given argument will override variable $JAVAC. For a
  824. detailed description of $JAVAC see below.
  825. --with-javacflags=ARG given argument will override variable $JAVACFLAGS.
  826. For a detailed description of $JAVACFLAGS see below.
  827. --with-jar=ARG given argument will override variable $JAR. For a
  828. detailed description of $JAR see below.
  829. --with-jarflags=ARG given argument will override variable $JARFLAGS. For
  830. a detailed description of $JARFLAGS see below.
  831. --with-python=ARG given argument will override variable $PYTHON. For a
  832. detailed description of $PYTHON see below.
  833. --with-pythonflags=ARG given argument will override variable $PYTHONFLAGS.
  834. For a detailed description of $PYTHONFLAGS see
  835. below.
  836. --with-csharpc=ARG given argument will override variable $CSHARPC. For
  837. a detailed description of $CSHARPC see below.
  838. --with-csharpcflags=ARG given argument will override variable $CSHARPCFLAGS.
  839. For a detailed description of $CSHARPCFLAGS see
  840. below.
  841. Some influential environment variables:
  842. ANTLRFLAGS Use environment variable ANTLRFLAGS to pass some extra flags to
  843. antlr when compiling grammar (*.g) files.
  844. MAKE By default we search for "make", "gmake" and "gnumake" in your
  845. PATH as well as "/bin/make" and "/usr/bin/make". You may
  846. override this search by using enviromnent variable $MAKE. Note
  847. that a GNU make is required to build this package. However, when
  848. providing your own candidate a check for GNU make is skipped and
  849. all bets are on.
  850. JAVAC By default we search for "jikes", "javac" and "gcj" in your
  851. $PATH on how to comile Java source files. You may override this
  852. search by using enviromnent variable $JAVAC. JAVAC may contain a
  853. list of candidates, either as absolute path names or as a
  854. relative one. In case a relative name is given, a search in
  855. $PATH will take place, otherwise the absolute name is tried.
  856. JAVACFLAGS Environment variable JAVACFLAGS can be used to change or
  857. override all flags required to compile Java source files. Note
  858. that JAVACFLAGS understands the following: "+ flag1 flag2 .."
  859. append "flag1 flag2 .." to precomputed list "- flag1 flag2 .."
  860. prepend "flag1 flag2 .." to precomputed list "= flag1 flag2 ..
  861. override with flag1 flag2 ..". If there is a need to hardwire
  862. additional flags then edit scripts/javac.sh.in and run
  863. "CONFIG_FILES=scripts/javac.sh ./config.status" again.
  864. JAVA By default we search for "java" and "gij" in your PATH on how to
  865. run Java class files. You may override this search by using
  866. enviromnent variable $JAVA. JAVA may contain a list of
  867. candidates, either as absolute path name or as a relative one.
  868. In case of a relative name, a search in $PATH will take place.
  869. Otherwise the absolute name will be accepted if existing.
  870. JAVAFLAGS Shall contain all flags required to run Java class files. You
  871. may override by using environment variable JAVAFLAGS.
  872. CXX C++ compiler command
  873. CXXFLAGS C++ compiler flags
  874. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  875. nonstandard directory <lib dir>
  876. CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
  877. headers in a nonstandard directory <include dir>
  878. CC C compiler command
  879. CFLAGS C compiler flags
  880. CPP C preprocessor
  881. PYTHON By default we search for "python" in $PATH to execute Python
  882. files. Override this by providing a list of candidates in
  883. environment variable $PYTHON and use whitespace as spereration
  884. character. A candidate can be either a relative or absolute path
  885. name. In the former case a lookup in $PATH takes place, in the
  886. latter, the absolute path name must exist.
  887. PYTHONFLAGS Shall contain all flags required to run Python. Override the
  888. default by using environment variable $PYTHONFLAGS.
  889. CSHARPC By default we search for "cscc", "msc" and "csc" in $PATH to
  890. compile C# files. Override this by providing a list of
  891. candidates in environment variable $CSHARP and use whitespace as
  892. spereration character. A candidate can be either a relative or
  893. absolute path name. In the former case a lookup in $PATH takes
  894. place, in the latter, the absolute path name must exist.
  895. CSHARPCFLAGS
  896. Shall contain all flags required to compile a #C file. Override
  897. the default by using environment variable $CSHARPCFLAGS.
  898. Use these variables to override the choices made by `configure' or to help
  899. it to find libraries and programs with nonstandard names/locations.
  900. _ACEOF
  901. fi
  902. if test "$ac_init_help" = "recursive"; then
  903. # If there are subdirs, report their specific --help.
  904. ac_popdir=`pwd`
  905. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  906. test -d $ac_dir || continue
  907. ac_builddir=.
  908. if test "$ac_dir" != .; then
  909. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  910. # A "../" for each directory in $ac_dir_suffix.
  911. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  912. else
  913. ac_dir_suffix= ac_top_builddir=
  914. fi
  915. case $srcdir in
  916. .) # No --srcdir option. We are building in place.
  917. ac_srcdir=.
  918. if test -z "$ac_top_builddir"; then
  919. ac_top_srcdir=.
  920. else
  921. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  922. fi ;;
  923. [\\/]* | ?:[\\/]* ) # Absolute path.
  924. ac_srcdir=$srcdir$ac_dir_suffix;
  925. ac_top_srcdir=$srcdir ;;
  926. *) # Relative path.
  927. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  928. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  929. esac
  930. # Do not use `cd foo && pwd` to compute absolute paths, because
  931. # the directories may not exist.
  932. case `pwd` in
  933. .) ac_abs_builddir="$ac_dir";;
  934. *)
  935. case "$ac_dir" in
  936. .) ac_abs_builddir=`pwd`;;
  937. [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  938. *) ac_abs_builddir=`pwd`/"$ac_dir";;
  939. esac;;
  940. esac
  941. case $ac_abs_builddir in
  942. .) ac_abs_top_builddir=${ac_top_builddir}.;;
  943. *)
  944. case ${ac_top_builddir}. in
  945. .) ac_abs_top_builddir=$ac_abs_builddir;;
  946. [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  947. *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  948. esac;;
  949. esac
  950. case $ac_abs_builddir in
  951. .) ac_abs_srcdir=$ac_srcdir;;
  952. *)
  953. case $ac_srcdir in
  954. .) ac_abs_srcdir=$ac_abs_builddir;;
  955. [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  956. *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  957. esac;;
  958. esac
  959. case $ac_abs_builddir in
  960. .) ac_abs_top_srcdir=$ac_top_srcdir;;
  961. *)
  962. case $ac_top_srcdir in
  963. .) ac_abs_top_srcdir=$ac_abs_builddir;;
  964. [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  965. *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  966. esac;;
  967. esac
  968. cd $ac_dir
  969. # Check for guested configure; otherwise get Cygnus style configure.
  970. if test -f $ac_srcdir/configure.gnu; then
  971. echo
  972. $SHELL $ac_srcdir/configure.gnu --help=recursive
  973. elif test -f $ac_srcdir/configure; then
  974. echo
  975. $SHELL $ac_srcdir/configure --help=recursive
  976. elif test -f $ac_srcdir/configure.ac ||
  977. test -f $ac_srcdir/configure.in; then
  978. echo
  979. $ac_configure --help
  980. else
  981. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  982. fi
  983. cd $ac_popdir
  984. done
  985. fi
  986. test -n "$ac_init_help" && exit 0
  987. if $ac_init_version; then
  988. cat <<\_ACEOF
  989. antlr configure 2.7.5
  990. generated by GNU Autoconf 2.59
  991. Copyright (C) 2003 Free Software Foundation, Inc.
  992. This configure script is free software; the Free Software Foundation
  993. gives unlimited permission to copy, distribute and modify it.
  994. _ACEOF
  995. exit 0
  996. fi
  997. exec 5>config.log
  998. cat >&5 <<_ACEOF
  999. This file contains any messages produced by compilers while
  1000. running configure, to aid debugging if configure makes a mistake.
  1001. It was created by antlr $as_me 2.7.5, which was
  1002. generated by GNU Autoconf 2.59. Invocation command line was
  1003. $ $0 $@
  1004. _ACEOF
  1005. {
  1006. cat <<_ASUNAME
  1007. ## --------- ##
  1008. ## Platform. ##
  1009. ## --------- ##
  1010. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1011. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1012. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1013. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1014. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1015. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1016. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1017. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1018. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1019. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1020. hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  1021. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1022. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1023. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1024. _ASUNAME
  1025. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1026. for as_dir in $PATH
  1027. do
  1028. IFS=$as_save_IFS
  1029. test -z "$as_dir" && as_dir=.
  1030. echo "PATH: $as_dir"
  1031. done
  1032. } >&5
  1033. cat >&5 <<_ACEOF
  1034. ## ----------- ##
  1035. ## Core tests. ##
  1036. ## ----------- ##
  1037. _ACEOF
  1038. # Keep a trace of the command line.
  1039. # Strip out --no-create and --no-recursion so they do not pile up.
  1040. # Strip out --silent because we don't want to record it for future runs.
  1041. # Also quote any args containing shell meta-characters.
  1042. # Make two passes to allow for proper duplicate-argument suppression.
  1043. ac_configure_args=
  1044. ac_configure_args0=
  1045. ac_configure_args1=
  1046. ac_sep=
  1047. ac_must_keep_next=false
  1048. for ac_pass in 1 2
  1049. do
  1050. for ac_arg
  1051. do
  1052. case $ac_arg in
  1053. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1054. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1055. | -silent | --silent | --silen | --sile | --sil)
  1056. continue ;;
  1057. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1058. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1059. esac
  1060. case $ac_pass in
  1061. 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1062. 2)
  1063. ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1064. if test $ac_must_keep_next = true; then
  1065. ac_must_keep_next=false # Got value, back to normal.
  1066. else
  1067. case $ac_arg in
  1068. *=* | --config-cache | -C | -disable-* | --disable-* \
  1069. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1070. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1071. | -with-* | --with-* | -without-* | --without-* | --x)
  1072. case "$ac_configure_args0 " in
  1073. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1074. esac
  1075. ;;
  1076. -* ) ac_must_keep_next=true ;;
  1077. esac
  1078. fi
  1079. ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1080. # Get rid of the leading space.
  1081. ac_sep=" "
  1082. ;;
  1083. esac
  1084. done
  1085. done
  1086. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1087. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1088. # When interrupted or exit'd, cleanup temporary files, and complete
  1089. # config.log. We remove comments because anyway the quotes in there
  1090. # would cause problems or look ugly.
  1091. # WARNING: Be sure not to use single quotes in there, as some shells,
  1092. # such as our DU 5.0 friend, will then `close' the trap.
  1093. trap 'exit_status=$?
  1094. # Save into config.log some information that might help in debugging.
  1095. {
  1096. echo
  1097. cat <<\_ASBOX
  1098. ## ---------------- ##
  1099. ## Cache variables. ##
  1100. ## ---------------- ##
  1101. _ASBOX
  1102. echo
  1103. # The following way of writing the cache mishandles newlines in values,
  1104. {
  1105. (set) 2>&1 |
  1106. case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1107. *ac_space=\ *)
  1108. sed -n \
  1109. "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  1110. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  1111. ;;
  1112. *)
  1113. sed -n \
  1114. "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1115. ;;
  1116. esac;
  1117. }
  1118. echo
  1119. cat <<\_ASBOX
  1120. ## ----------------- ##
  1121. ## Output variables. ##
  1122. ## ----------------- ##
  1123. _ASBOX
  1124. echo
  1125. for ac_var in $ac_subst_vars
  1126. do
  1127. eval ac_val=$`echo $ac_var`
  1128. echo "$ac_var='"'"'$ac_val'"'"'"
  1129. done | sort
  1130. echo
  1131. if test -n "$ac_subst_files"; then
  1132. cat <<\_ASBOX
  1133. ## ------------- ##
  1134. ## Output files. ##
  1135. ## ------------- ##
  1136. _ASBOX
  1137. echo
  1138. for ac_var in $ac_subst_files
  1139. do
  1140. eval ac_val=$`echo $ac_var`
  1141. echo "$ac_var='"'"'$ac_val'"'"'"
  1142. done | sort
  1143. echo
  1144. fi
  1145. if test -s confdefs.h; then
  1146. cat <<\_ASBOX
  1147. ## ----------- ##
  1148. ## confdefs.h. ##
  1149. ## ----------- ##
  1150. _ASBOX
  1151. echo
  1152. sed "/^$/d" confdefs.h | sort
  1153. echo
  1154. fi
  1155. test "$ac_signal" != 0 &&
  1156. echo "$as_me: caught signal $ac_signal"
  1157. echo "$as_me: exit $exit_status"
  1158. } >&5
  1159. rm -f core *.core &&
  1160. rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1161. exit $exit_status
  1162. ' 0
  1163. for ac_signal in 1 2 13 15; do
  1164. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1165. done
  1166. ac_signal=0
  1167. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1168. rm -rf conftest* confdefs.h
  1169. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1170. echo >confdefs.h
  1171. # Predefined preprocessor variables.
  1172. cat >>confdefs.h <<_ACEOF
  1173. #define PACKAGE_NAME "$PACKAGE_NAME"
  1174. _ACEOF
  1175. cat >>confdefs.h <<_ACEOF
  1176. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1177. _ACEOF
  1178. cat >>confdefs.h <<_ACEOF
  1179. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1180. _ACEOF
  1181. cat >>confdefs.h <<_ACEOF
  1182. #define PACKAGE_STRING "$PACKAGE_STRING"
  1183. _ACEOF
  1184. cat >>confdefs.h <<_ACEOF
  1185. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1186. _ACEOF
  1187. # Let the site file select an alternate cache file if it wants to.
  1188. # Prefer explicitly selected file to automatically selected ones.
  1189. if test -z "$CONFIG_SITE"; then
  1190. if test "x$prefix" != xNONE; then
  1191. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1192. else
  1193. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1194. fi
  1195. fi
  1196. for ac_site_file in $CONFIG_SITE; do
  1197. if test -r "$ac_site_file"; then
  1198. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1199. echo "$as_me: loading site script $ac_site_file" >&6;}
  1200. sed 's/^/| /' "$ac_site_file" >&5
  1201. . "$ac_site_file"
  1202. fi
  1203. done
  1204. if test -r "$cache_file"; then
  1205. # Some versions of bash will fail to source /dev/null (special
  1206. # files actually), so we avoid doing that.
  1207. if test -f "$cache_file"; then
  1208. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1209. echo "$as_me: loading cache $cache_file" >&6;}
  1210. case $cache_file in
  1211. [\\/]* | ?:[\\/]* ) . $cache_file;;
  1212. *) . ./$cache_file;;
  1213. esac
  1214. fi
  1215. else
  1216. { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1217. echo "$as_me: creating cache $cache_file" >&6;}
  1218. >$cache_file
  1219. fi
  1220. # Check that the precious variables saved in the cache have kept the same
  1221. # value.
  1222. ac_cache_corrupted=false
  1223. for ac_var in `(set) 2>&1 |
  1224. sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1225. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1226. eval ac_new_set=\$ac_env_${ac_var}_set
  1227. eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1228. eval ac_new_val="\$ac_env_${ac_var}_value"
  1229. case $ac_old_set,$ac_new_set in
  1230. set,)
  1231. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1232. echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1233. ac_cache_corrupted=: ;;
  1234. ,set)
  1235. { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1236. echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1237. ac_cache_corrupted=: ;;
  1238. ,);;
  1239. *)
  1240. if test "x$ac_old_val" != "x$ac_new_val"; then
  1241. { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1242. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1243. { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  1244. echo "$as_me: former value: $ac_old_val" >&2;}
  1245. { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  1246. echo "$as_me: current value: $ac_new_val" >&2;}
  1247. ac_cache_corrupted=:
  1248. fi;;
  1249. esac
  1250. # Pass precious variables to config.status.
  1251. if test "$ac_new_set" = set; then
  1252. case $ac_new_val in
  1253. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1254. ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1255. *) ac_arg=$ac_var=$ac_new_val ;;
  1256. esac
  1257. case " $ac_configure_args " in
  1258. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1259. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1260. esac
  1261. fi
  1262. done
  1263. if $ac_cache_corrupted; then
  1264. { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1265. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1266. { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1267. echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1268. { (exit 1); exit 1; }; }
  1269. fi
  1270. ac_ext=c
  1271. ac_cpp='$CPP $CPPFLAGS'
  1272. a

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