PageRenderTime 103ms CodeModel.GetById 28ms RepoModel.GetById 2ms app.codeStats 1ms

/configure

https://code.google.com/
Shell | 1982 lines | 1547 code | 206 blank | 229 comment | 171 complexity | aa198e01bcfd01d9708f7c1128bdba81 MD5 | raw file
Possible License(s): GPL-2.0
  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. # Check that we are running under the correct shell.
  215. SHELL=${CONFIG_SHELL-/bin/sh}
  216. case X$ECHO in
  217. X*--fallback-echo)
  218. # Remove one level of quotation (which was required for Make).
  219. ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
  220. ;;
  221. esac
  222. echo=${ECHO-echo}
  223. if test "X$1" = X--no-reexec; then
  224. # Discard the --no-reexec flag, and continue.
  225. shift
  226. elif test "X$1" = X--fallback-echo; then
  227. # Avoid inline document here, it may be left over
  228. :
  229. elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  230. # Yippee, $echo works!
  231. :
  232. else
  233. # Restart under the correct shell.
  234. exec $SHELL "$0" --no-reexec ${1+"$@"}
  235. fi
  236. if test "X$1" = X--fallback-echo; then
  237. # used as fallback echo
  238. shift
  239. cat <<EOF
  240. $*
  241. EOF
  242. exit 0
  243. fi
  244. # The HP-UX ksh and POSIX shell print the target directory to stdout
  245. # if CDPATH is set.
  246. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  247. if test -z "$ECHO"; then
  248. if test "X${echo_test_string+set}" != Xset; then
  249. # find a string as large as possible, as long as the shell can cope with it
  250. for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  251. # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  252. if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  253. echo_test_string=`eval $cmd` &&
  254. (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  255. then
  256. break
  257. fi
  258. done
  259. fi
  260. if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  261. echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  262. test "X$echo_testing_string" = "X$echo_test_string"; then
  263. :
  264. else
  265. # The Solaris, AIX, and Digital Unix default echo programs unquote
  266. # backslashes. This makes it impossible to quote backslashes using
  267. # echo "$something" | sed 's/\\/\\\\/g'
  268. #
  269. # So, first we look for a working echo in the user's PATH.
  270. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  271. for dir in $PATH /usr/ucb; do
  272. IFS="$lt_save_ifs"
  273. if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  274. test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  275. echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  276. test "X$echo_testing_string" = "X$echo_test_string"; then
  277. echo="$dir/echo"
  278. break
  279. fi
  280. done
  281. IFS="$lt_save_ifs"
  282. if test "X$echo" = Xecho; then
  283. # We didn't find a better echo, so look for alternatives.
  284. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  285. echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  286. test "X$echo_testing_string" = "X$echo_test_string"; then
  287. # This shell has a builtin print -r that does the trick.
  288. echo='print -r'
  289. elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  290. test "X$CONFIG_SHELL" != X/bin/ksh; then
  291. # If we have ksh, try running configure again with it.
  292. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  293. export ORIGINAL_CONFIG_SHELL
  294. CONFIG_SHELL=/bin/ksh
  295. export CONFIG_SHELL
  296. exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  297. else
  298. # Try using printf.
  299. echo='printf %s\n'
  300. if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  301. echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  302. test "X$echo_testing_string" = "X$echo_test_string"; then
  303. # Cool, printf works
  304. :
  305. elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  306. test "X$echo_testing_string" = 'X\t' &&
  307. echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  308. test "X$echo_testing_string" = "X$echo_test_string"; then
  309. CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  310. export CONFIG_SHELL
  311. SHELL="$CONFIG_SHELL"
  312. export SHELL
  313. echo="$CONFIG_SHELL $0 --fallback-echo"
  314. elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  315. test "X$echo_testing_string" = 'X\t' &&
  316. echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  317. test "X$echo_testing_string" = "X$echo_test_string"; then
  318. echo="$CONFIG_SHELL $0 --fallback-echo"
  319. else
  320. # maybe with a smaller string...
  321. prev=:
  322. for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  323. if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  324. then
  325. break
  326. fi
  327. prev="$cmd"
  328. done
  329. if test "$prev" != 'sed 50q "$0"'; then
  330. echo_test_string=`eval $prev`
  331. export echo_test_string
  332. exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  333. else
  334. # Oops. We lost completely, so just stick with echo.
  335. echo=echo
  336. fi
  337. fi
  338. fi
  339. fi
  340. fi
  341. fi
  342. # Copy echo and quote the copy suitably for passing to libtool from
  343. # the Makefile, instead of quoting the original, which is used later.
  344. ECHO=$echo
  345. if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  346. ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  347. fi
  348. tagnames=${tagnames+${tagnames},}CXX
  349. tagnames=${tagnames+${tagnames},}F77
  350. # Name of the host.
  351. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  352. # so uname gets run too.
  353. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  354. exec 6>&1
  355. #
  356. # Initializations.
  357. #
  358. ac_default_prefix=/usr/local
  359. ac_config_libobj_dir=.
  360. cross_compiling=no
  361. subdirs=
  362. MFLAGS=
  363. MAKEFLAGS=
  364. SHELL=${CONFIG_SHELL-/bin/sh}
  365. # Maximum number of lines to put in a shell here document.
  366. # This variable seems obsolete. It should probably be removed, and
  367. # only ac_max_sed_lines should be used.
  368. : ${ac_max_here_lines=38}
  369. # Identity of this package.
  370. PACKAGE_NAME=
  371. PACKAGE_TARNAME=
  372. PACKAGE_VERSION=
  373. PACKAGE_STRING=
  374. PACKAGE_BUGREPORT=
  375. ac_unique_file="pdsh"
  376. ac_unique_file="src/pdsh/dsh.h"
  377. # Factoring default headers for most tests.
  378. ac_includes_default="\
  379. #include <stdio.h>
  380. #if HAVE_SYS_TYPES_H
  381. # include <sys/types.h>
  382. #endif
  383. #if HAVE_SYS_STAT_H
  384. # include <sys/stat.h>
  385. #endif
  386. #if STDC_HEADERS
  387. # include <stdlib.h>
  388. # include <stddef.h>
  389. #else
  390. # if HAVE_STDLIB_H
  391. # include <stdlib.h>
  392. # endif
  393. #endif
  394. #if HAVE_STRING_H
  395. # if !STDC_HEADERS && HAVE_MEMORY_H
  396. # include <memory.h>
  397. # endif
  398. # include <string.h>
  399. #endif
  400. #if HAVE_STRINGS_H
  401. # include <strings.h>
  402. #endif
  403. #if HAVE_INTTYPES_H
  404. # include <inttypes.h>
  405. #else
  406. # if HAVE_STDINT_H
  407. # include <stdint.h>
  408. # endif
  409. #endif
  410. #if HAVE_UNISTD_H
  411. # include <unistd.h>
  412. #endif"
  413. 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 META_NAME META_VERSION META_RELEASE META_ALIAS META_DATE META_AUTHOR META_LT_CURRENT META_LT_REVISION META_LT_AGE build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL WITH_GNU_LD_TRUE WITH_GNU_LD_FALSE WITH_STATIC_MODULES_TRUE WITH_STATIC_MODULES_FALSE AIX_PDSH_LDFLAGS acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS FANOUT CONNECT_TIMEOUT SDRGETOBJECTS HAVE_SDR WITH_SDR_TRUE WITH_SDR_FALSE WITH_RSH_TRUE WITH_RSH_FALSE HAVE_XCPU WITH_XCPU_TRUE WITH_XCPU_FALSE HAVE_SSH WITH_SSH_TRUE WITH_SSH_FALSE WITH_EXEC_TRUE WITH_EXEC_FALSE WITH_KRB4_TRUE WITH_KRB4_FALSE KRB_LIBS ELAN_LIBS HAVE_QSHELL PROG_QSHD QSHELL_LIBS WITH_QSHELL_TRUE WITH_QSHELL_FALSE WITH_QSW_TRUE WITH_QSW_FALSE HAVE_MACHINES MACHINES WITH_MACHINES_TRUE WITH_MACHINES_FALSE NODEATTR HAVE_NODEATTR WITH_NODEATTR_TRUE WITH_NODEATTR_FALSE HAVE_LIBGENDERS GENDERS_LIBS WITH_LIBGENDERS_TRUE WITH_LIBGENDERS_FALSE HAVE_LIBNODEUPDOWN NODEUPDOWN_LIBS WITH_NODEUPDOWN_TRUE WITH_NODEUPDOWN_FALSE HAVE_MRSH MRSH_LIBS WITH_LIBMUNGE_TRUE WITH_LIBMUNGE_FALSE WITH_MRSH_TRUE WITH_MRSH_FALSE PROG_MQSHD HAVE_MQSHELL WITH_MQSHELL_TRUE WITH_MQSHELL_FALSE RMSQUERY HAVE_RMSQUERY WITH_RMS_TRUE WITH_RMS_FALSE HAVE_SLURM SLURM_LIBS WITH_SLURM_TRUE WITH_SLURM_FALSE HAVE_TORQUE TORQUE_LIBS TORQUE_CPPFLAGS WITH_TORQUE_TRUE WITH_TORQUE_FALSE WITH_DSHGROUP_TRUE WITH_DSHGROUP_FALSE WITH_NETGROUP_TRUE WITH_NETGROUP_FALSE READLINE_LIBS WITH_READLINE_TRUE WITH_READLINE_FALSE LIBMODS_OBJS PDSH_VERSION PDSH_VERSION_FULL LIBOBJS LTLIBOBJS'
  414. ac_subst_files=''
  415. # Initialize some variables set by options.
  416. ac_init_help=
  417. ac_init_version=false
  418. # The variables have the same names as the options, with
  419. # dashes changed to underlines.
  420. cache_file=/dev/null
  421. exec_prefix=NONE
  422. no_create=
  423. no_recursion=
  424. prefix=NONE
  425. program_prefix=NONE
  426. program_suffix=NONE
  427. program_transform_name=s,x,x,
  428. silent=
  429. site=
  430. srcdir=
  431. verbose=
  432. x_includes=NONE
  433. x_libraries=NONE
  434. # Installation directory options.
  435. # These are left unexpanded so users can "make install exec_prefix=/foo"
  436. # and all the variables that are supposed to be based on exec_prefix
  437. # by default will actually change.
  438. # Use braces instead of parens because sh, perl, etc. also accept them.
  439. bindir='${exec_prefix}/bin'
  440. sbindir='${exec_prefix}/sbin'
  441. libexecdir='${exec_prefix}/libexec'
  442. datadir='${prefix}/share'
  443. sysconfdir='${prefix}/etc'
  444. sharedstatedir='${prefix}/com'
  445. localstatedir='${prefix}/var'
  446. libdir='${exec_prefix}/lib'
  447. includedir='${prefix}/include'
  448. oldincludedir='/usr/include'
  449. infodir='${prefix}/info'
  450. mandir='${prefix}/man'
  451. ac_prev=
  452. for ac_option
  453. do
  454. # If the previous option needs an argument, assign it.
  455. if test -n "$ac_prev"; then
  456. eval "$ac_prev=\$ac_option"
  457. ac_prev=
  458. continue
  459. fi
  460. ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  461. # Accept the important Cygnus configure options, so we can diagnose typos.
  462. case $ac_option in
  463. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  464. ac_prev=bindir ;;
  465. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  466. bindir=$ac_optarg ;;
  467. -build | --build | --buil | --bui | --bu)
  468. ac_prev=build_alias ;;
  469. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  470. build_alias=$ac_optarg ;;
  471. -cache-file | --cache-file | --cache-fil | --cache-fi \
  472. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  473. ac_prev=cache_file ;;
  474. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  475. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  476. cache_file=$ac_optarg ;;
  477. --config-cache | -C)
  478. cache_file=config.cache ;;
  479. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  480. ac_prev=datadir ;;
  481. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  482. | --da=*)
  483. datadir=$ac_optarg ;;
  484. -disable-* | --disable-*)
  485. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  486. # Reject names that are not valid shell variable names.
  487. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  488. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  489. { (exit 1); exit 1; }; }
  490. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  491. eval "enable_$ac_feature=no" ;;
  492. -enable-* | --enable-*)
  493. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  494. # Reject names that are not valid shell variable names.
  495. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  496. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  497. { (exit 1); exit 1; }; }
  498. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  499. case $ac_option in
  500. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  501. *) ac_optarg=yes ;;
  502. esac
  503. eval "enable_$ac_feature='$ac_optarg'" ;;
  504. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  505. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  506. | --exec | --exe | --ex)
  507. ac_prev=exec_prefix ;;
  508. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  509. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  510. | --exec=* | --exe=* | --ex=*)
  511. exec_prefix=$ac_optarg ;;
  512. -gas | --gas | --ga | --g)
  513. # Obsolete; use --with-gas.
  514. with_gas=yes ;;
  515. -help | --help | --hel | --he | -h)
  516. ac_init_help=long ;;
  517. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  518. ac_init_help=recursive ;;
  519. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  520. ac_init_help=short ;;
  521. -host | --host | --hos | --ho)
  522. ac_prev=host_alias ;;
  523. -host=* | --host=* | --hos=* | --ho=*)
  524. host_alias=$ac_optarg ;;
  525. -includedir | --includedir | --includedi | --included | --include \
  526. | --includ | --inclu | --incl | --inc)
  527. ac_prev=includedir ;;
  528. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  529. | --includ=* | --inclu=* | --incl=* | --inc=*)
  530. includedir=$ac_optarg ;;
  531. -infodir | --infodir | --infodi | --infod | --info | --inf)
  532. ac_prev=infodir ;;
  533. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  534. infodir=$ac_optarg ;;
  535. -libdir | --libdir | --libdi | --libd)
  536. ac_prev=libdir ;;
  537. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  538. libdir=$ac_optarg ;;
  539. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  540. | --libexe | --libex | --libe)
  541. ac_prev=libexecdir ;;
  542. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  543. | --libexe=* | --libex=* | --libe=*)
  544. libexecdir=$ac_optarg ;;
  545. -localstatedir | --localstatedir | --localstatedi | --localstated \
  546. | --localstate | --localstat | --localsta | --localst \
  547. | --locals | --local | --loca | --loc | --lo)
  548. ac_prev=localstatedir ;;
  549. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  550. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  551. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  552. localstatedir=$ac_optarg ;;
  553. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  554. ac_prev=mandir ;;
  555. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  556. mandir=$ac_optarg ;;
  557. -nfp | --nfp | --nf)
  558. # Obsolete; use --without-fp.
  559. with_fp=no ;;
  560. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  561. | --no-cr | --no-c | -n)
  562. no_create=yes ;;
  563. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  564. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  565. no_recursion=yes ;;
  566. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  567. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  568. | --oldin | --oldi | --old | --ol | --o)
  569. ac_prev=oldincludedir ;;
  570. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  571. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  572. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  573. oldincludedir=$ac_optarg ;;
  574. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  575. ac_prev=prefix ;;
  576. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  577. prefix=$ac_optarg ;;
  578. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  579. | --program-pre | --program-pr | --program-p)
  580. ac_prev=program_prefix ;;
  581. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  582. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  583. program_prefix=$ac_optarg ;;
  584. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  585. | --program-suf | --program-su | --program-s)
  586. ac_prev=program_suffix ;;
  587. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  588. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  589. program_suffix=$ac_optarg ;;
  590. -program-transform-name | --program-transform-name \
  591. | --program-transform-nam | --program-transform-na \
  592. | --program-transform-n | --program-transform- \
  593. | --program-transform | --program-transfor \
  594. | --program-transfo | --program-transf \
  595. | --program-trans | --program-tran \
  596. | --progr-tra | --program-tr | --program-t)
  597. ac_prev=program_transform_name ;;
  598. -program-transform-name=* | --program-transform-name=* \
  599. | --program-transform-nam=* | --program-transform-na=* \
  600. | --program-transform-n=* | --program-transform-=* \
  601. | --program-transform=* | --program-transfor=* \
  602. | --program-transfo=* | --program-transf=* \
  603. | --program-trans=* | --program-tran=* \
  604. | --progr-tra=* | --program-tr=* | --program-t=*)
  605. program_transform_name=$ac_optarg ;;
  606. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  607. | -silent | --silent | --silen | --sile | --sil)
  608. silent=yes ;;
  609. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  610. ac_prev=sbindir ;;
  611. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  612. | --sbi=* | --sb=*)
  613. sbindir=$ac_optarg ;;
  614. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  615. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  616. | --sharedst | --shareds | --shared | --share | --shar \
  617. | --sha | --sh)
  618. ac_prev=sharedstatedir ;;
  619. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  620. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  621. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  622. | --sha=* | --sh=*)
  623. sharedstatedir=$ac_optarg ;;
  624. -site | --site | --sit)
  625. ac_prev=site ;;
  626. -site=* | --site=* | --sit=*)
  627. site=$ac_optarg ;;
  628. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  629. ac_prev=srcdir ;;
  630. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  631. srcdir=$ac_optarg ;;
  632. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  633. | --syscon | --sysco | --sysc | --sys | --sy)
  634. ac_prev=sysconfdir ;;
  635. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  636. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  637. sysconfdir=$ac_optarg ;;
  638. -target | --target | --targe | --targ | --tar | --ta | --t)
  639. ac_prev=target_alias ;;
  640. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  641. target_alias=$ac_optarg ;;
  642. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  643. verbose=yes ;;
  644. -version | --version | --versio | --versi | --vers | -V)
  645. ac_init_version=: ;;
  646. -with-* | --with-*)
  647. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  648. # Reject names that are not valid shell variable names.
  649. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  650. { echo "$as_me: error: invalid package name: $ac_package" >&2
  651. { (exit 1); exit 1; }; }
  652. ac_package=`echo $ac_package| sed 's/-/_/g'`
  653. case $ac_option in
  654. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  655. *) ac_optarg=yes ;;
  656. esac
  657. eval "with_$ac_package='$ac_optarg'" ;;
  658. -without-* | --without-*)
  659. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  660. # Reject names that are not valid shell variable names.
  661. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  662. { echo "$as_me: error: invalid package name: $ac_package" >&2
  663. { (exit 1); exit 1; }; }
  664. ac_package=`echo $ac_package | sed 's/-/_/g'`
  665. eval "with_$ac_package=no" ;;
  666. --x)
  667. # Obsolete; use --with-x.
  668. with_x=yes ;;
  669. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  670. | --x-incl | --x-inc | --x-in | --x-i)
  671. ac_prev=x_includes ;;
  672. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  673. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  674. x_includes=$ac_optarg ;;
  675. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  676. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  677. ac_prev=x_libraries ;;
  678. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  679. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  680. x_libraries=$ac_optarg ;;
  681. -*) { echo "$as_me: error: unrecognized option: $ac_option
  682. Try \`$0 --help' for more information." >&2
  683. { (exit 1); exit 1; }; }
  684. ;;
  685. *=*)
  686. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  687. # Reject names that are not valid shell variable names.
  688. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  689. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  690. { (exit 1); exit 1; }; }
  691. ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  692. eval "$ac_envvar='$ac_optarg'"
  693. export $ac_envvar ;;
  694. *)
  695. # FIXME: should be removed in autoconf 3.0.
  696. echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  697. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  698. echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  699. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  700. ;;
  701. esac
  702. done
  703. if test -n "$ac_prev"; then
  704. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  705. { echo "$as_me: error: missing argument to $ac_option" >&2
  706. { (exit 1); exit 1; }; }
  707. fi
  708. # Be sure to have absolute paths.
  709. for ac_var in exec_prefix prefix
  710. do
  711. eval ac_val=$`echo $ac_var`
  712. case $ac_val in
  713. [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  714. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  715. { (exit 1); exit 1; }; };;
  716. esac
  717. done
  718. # Be sure to have absolute paths.
  719. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  720. localstatedir libdir includedir oldincludedir infodir mandir
  721. do
  722. eval ac_val=$`echo $ac_var`
  723. case $ac_val in
  724. [\\/$]* | ?:[\\/]* ) ;;
  725. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  726. { (exit 1); exit 1; }; };;
  727. esac
  728. done
  729. # There might be people who depend on the old broken behavior: `$host'
  730. # used to hold the argument of --host etc.
  731. # FIXME: To remove some day.
  732. build=$build_alias
  733. host=$host_alias
  734. target=$target_alias
  735. # FIXME: To remove some day.
  736. if test "x$host_alias" != x; then
  737. if test "x$build_alias" = x; then
  738. cross_compiling=maybe
  739. echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  740. If a cross compiler is detected then cross compile mode will be used." >&2
  741. elif test "x$build_alias" != "x$host_alias"; then
  742. cross_compiling=yes
  743. fi
  744. fi
  745. ac_tool_prefix=
  746. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  747. test "$silent" = yes && exec 6>/dev/null
  748. # Find the source files, if location was not specified.
  749. if test -z "$srcdir"; then
  750. ac_srcdir_defaulted=yes
  751. # Try the directory containing this script, then its parent.
  752. ac_confdir=`(dirname "$0") 2>/dev/null ||
  753. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  754. X"$0" : 'X\(//\)[^/]' \| \
  755. X"$0" : 'X\(//\)$' \| \
  756. X"$0" : 'X\(/\)' \| \
  757. . : '\(.\)' 2>/dev/null ||
  758. echo X"$0" |
  759. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  760. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  761. /^X\(\/\/\)$/{ s//\1/; q; }
  762. /^X\(\/\).*/{ s//\1/; q; }
  763. s/.*/./; q'`
  764. srcdir=$ac_confdir
  765. if test ! -r $srcdir/$ac_unique_file; then
  766. srcdir=..
  767. fi
  768. else
  769. ac_srcdir_defaulted=no
  770. fi
  771. if test ! -r $srcdir/$ac_unique_file; then
  772. if test "$ac_srcdir_defaulted" = yes; then
  773. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  774. { (exit 1); exit 1; }; }
  775. else
  776. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  777. { (exit 1); exit 1; }; }
  778. fi
  779. fi
  780. (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  781. { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  782. { (exit 1); exit 1; }; }
  783. srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  784. ac_env_build_alias_set=${build_alias+set}
  785. ac_env_build_alias_value=$build_alias
  786. ac_cv_env_build_alias_set=${build_alias+set}
  787. ac_cv_env_build_alias_value=$build_alias
  788. ac_env_host_alias_set=${host_alias+set}
  789. ac_env_host_alias_value=$host_alias
  790. ac_cv_env_host_alias_set=${host_alias+set}
  791. ac_cv_env_host_alias_value=$host_alias
  792. ac_env_target_alias_set=${target_alias+set}
  793. ac_env_target_alias_value=$target_alias
  794. ac_cv_env_target_alias_set=${target_alias+set}
  795. ac_cv_env_target_alias_value=$target_alias
  796. ac_env_CC_set=${CC+set}
  797. ac_env_CC_value=$CC
  798. ac_cv_env_CC_set=${CC+set}
  799. ac_cv_env_CC_value=$CC
  800. ac_env_CFLAGS_set=${CFLAGS+set}
  801. ac_env_CFLAGS_value=$CFLAGS
  802. ac_cv_env_CFLAGS_set=${CFLAGS+set}
  803. ac_cv_env_CFLAGS_value=$CFLAGS
  804. ac_env_LDFLAGS_set=${LDFLAGS+set}
  805. ac_env_LDFLAGS_value=$LDFLAGS
  806. ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  807. ac_cv_env_LDFLAGS_value=$LDFLAGS
  808. ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  809. ac_env_CPPFLAGS_value=$CPPFLAGS
  810. ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  811. ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  812. ac_env_CPP_set=${CPP+set}
  813. ac_env_CPP_value=$CPP
  814. ac_cv_env_CPP_set=${CPP+set}
  815. ac_cv_env_CPP_value=$CPP
  816. ac_env_CXX_set=${CXX+set}
  817. ac_env_CXX_value=$CXX
  818. ac_cv_env_CXX_set=${CXX+set}
  819. ac_cv_env_CXX_value=$CXX
  820. ac_env_CXXFLAGS_set=${CXXFLAGS+set}
  821. ac_env_CXXFLAGS_value=$CXXFLAGS
  822. ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
  823. ac_cv_env_CXXFLAGS_value=$CXXFLAGS
  824. ac_env_CXXCPP_set=${CXXCPP+set}
  825. ac_env_CXXCPP_value=$CXXCPP
  826. ac_cv_env_CXXCPP_set=${CXXCPP+set}
  827. ac_cv_env_CXXCPP_value=$CXXCPP
  828. ac_env_F77_set=${F77+set}
  829. ac_env_F77_value=$F77
  830. ac_cv_env_F77_set=${F77+set}
  831. ac_cv_env_F77_value=$F77
  832. ac_env_FFLAGS_set=${FFLAGS+set}
  833. ac_env_FFLAGS_value=$FFLAGS
  834. ac_cv_env_FFLAGS_set=${FFLAGS+set}
  835. ac_cv_env_FFLAGS_value=$FFLAGS
  836. #
  837. # Report the --help message.
  838. #
  839. if test "$ac_init_help" = "long"; then
  840. # Omit some internal or obsolete options to make the list less imposing.
  841. # This message is too long to be a string in the A/UX 3.1 sh.
  842. cat <<_ACEOF
  843. \`configure' configures this package to adapt to many kinds of systems.
  844. Usage: $0 [OPTION]... [VAR=VALUE]...
  845. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  846. VAR=VALUE. See below for descriptions of some of the useful variables.
  847. Defaults for the options are specified in brackets.
  848. Configuration:
  849. -h, --help display this help and exit
  850. --help=short display options specific to this package
  851. --help=recursive display the short help of all the included packages
  852. -V, --version display version information and exit
  853. -q, --quiet, --silent do not print \`checking...' messages
  854. --cache-file=FILE cache test results in FILE [disabled]
  855. -C, --config-cache alias for \`--cache-file=config.cache'
  856. -n, --no-create do not create output files
  857. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  858. _ACEOF
  859. cat <<_ACEOF
  860. Installation directories:
  861. --prefix=PREFIX install architecture-independent files in PREFIX
  862. [$ac_default_prefix]
  863. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  864. [PREFIX]
  865. By default, \`make install' will install all the files in
  866. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  867. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  868. for instance \`--prefix=\$HOME'.
  869. For better control, use the options below.
  870. Fine tuning of the installation directories:
  871. --bindir=DIR user executables [EPREFIX/bin]
  872. --sbindir=DIR system admin executables [EPREFIX/sbin]
  873. --libexecdir=DIR program executables [EPREFIX/libexec]
  874. --datadir=DIR read-only architecture-independent data [PREFIX/share]
  875. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  876. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  877. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  878. --libdir=DIR object code libraries [EPREFIX/lib]
  879. --includedir=DIR C header files [PREFIX/include]
  880. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  881. --infodir=DIR info documentation [PREFIX/info]
  882. --mandir=DIR man documentation [PREFIX/man]
  883. _ACEOF
  884. cat <<\_ACEOF
  885. Program names:
  886. --program-prefix=PREFIX prepend PREFIX to installed program names
  887. --program-suffix=SUFFIX append SUFFIX to installed program names
  888. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  889. System types:
  890. --build=BUILD configure for building on BUILD [guessed]
  891. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  892. --target=TARGET configure for building compilers for TARGET [HOST]
  893. _ACEOF
  894. fi
  895. if test -n "$ac_init_help"; then
  896. cat <<\_ACEOF
  897. Optional Features:
  898. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  899. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  900. --enable-maintainer-mode enable make rules and dependencies not useful
  901. (and sometimes confusing) to the casual installer
  902. --disable-dependency-tracking speeds up one-time build
  903. --enable-dependency-tracking do not reject slow dependency extractors
  904. --enable-debug enable debugging code for development
  905. --enable-shared[=PKGS]
  906. build shared libraries [default=yes]
  907. --enable-static[=PKGS]
  908. build static libraries [default=yes]
  909. --enable-fast-install[=PKGS]
  910. optimize for fast installation [default=yes]
  911. --disable-libtool-lock avoid locking (might break parallel builds)
  912. --enable-ltdl-install install libltdl
  913. --enable-static-modules Build static modules
  914. --disable-largefile omit support for large files
  915. Optional Packages:
  916. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  917. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  918. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  919. --with-pic try to use only PIC/non-PIC objects [default=use
  920. both]
  921. --with-tags[=TAGS]
  922. include additional configurations [automatic]
  923. --with-fanout=N Specify default fanout
  924. --with-timeout=N Specify default connect timeout (secs)
  925. --without-rsh Do not include the standard rsh module
  926. --with-xcpu Build xcpu module
  927. --with-ssh Build ssh module
  928. --with-ssh-connect-timeout-option=OPT
  929. SSH option for connect timeout
  930. --with-exec Build exec module
  931. --without-pam Do not build qshell/mqshell with pam support
  932. --with-qshell Build qsh module and qshd daemon
  933. --with-machines(=PATH) Specify a flat file list of all nodes
  934. --with-nodeattr(=PATH) Build nodeattr module (PATH=program location)
  935. --with-genders Build genders module for libgenders support
  936. --with-nodeupdown Build nodeupdown module
  937. --with-mrsh Build mrsh module
  938. --with-mqshell Build mqshell module and mqshd daemon
  939. --with-rms support running pdsh under RMS allocation
  940. --with-slurm support running pdsh under SLURM allocation
  941. --with-torque support running pdsh under Torque allocation
  942. --with-dshgroups(=PATH) Build dshgroup module for dsh group file support
  943. (with optional PATH)
  944. --with-netgroup Build netgroup module for netgroups support
  945. --with-readline compile with readline support
  946. --with-dmalloc compile using Gray Watson's dmalloc
  947. --with-rcmd-rank-list Specify priority ordered list of rcmd modules.
  948. Default is mrsh,rsh,ssh,krb4,qsh,mqsh,exec,xcpu
  949. Some influential environment variables:
  950. CC C compiler command
  951. CFLAGS C compiler flags
  952. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  953. nonstandard directory <lib dir>
  954. CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
  955. headers in a nonstandard directory <include dir>
  956. CPP C preprocessor
  957. CXX C++ compiler command
  958. CXXFLAGS C++ compiler flags
  959. CXXCPP C++ preprocessor
  960. F77 Fortran 77 compiler command
  961. FFLAGS Fortran 77 compiler flags
  962. Use these variables to override the choices made by `configure' or to help
  963. it to find libraries and programs with nonstandard names/locations.
  964. _ACEOF
  965. fi
  966. if test "$ac_init_help" = "recursive"; then
  967. # If there are subdirs, report their specific --help.
  968. ac_popdir=`pwd`
  969. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  970. test -d $ac_dir || continue
  971. ac_builddir=.
  972. if test "$ac_dir" != .; then
  973. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  974. # A "../" for each directory in $ac_dir_suffix.
  975. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  976. else
  977. ac_dir_suffix= ac_top_builddir=
  978. fi
  979. case $srcdir in
  980. .) # No --srcdir option. We are building in place.
  981. ac_srcdir=.
  982. if test -z "$ac_top_builddir"; then
  983. ac_top_srcdir=.
  984. else
  985. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  986. fi ;;
  987. [\\/]* | ?:[\\/]* ) # Absolute path.
  988. ac_srcdir=$srcdir$ac_dir_suffix;
  989. ac_top_srcdir=$srcdir ;;
  990. *) # Relative path.
  991. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  992. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  993. esac
  994. # Do not use `cd foo && pwd` to compute absolute paths, because
  995. # the directories may not exist.
  996. case `pwd` in
  997. .) ac_abs_builddir="$ac_dir";;
  998. *)
  999. case "$ac_dir" in
  1000. .) ac_abs_builddir=`pwd`;;
  1001. [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  1002. *) ac_abs_builddir=`pwd`/"$ac_dir";;
  1003. esac;;
  1004. esac
  1005. case $ac_abs_builddir in
  1006. .) ac_abs_top_builddir=${ac_top_builddir}.;;
  1007. *)
  1008. case ${ac_top_builddir}. in
  1009. .) ac_abs_top_builddir=$ac_abs_builddir;;
  1010. [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  1011. *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  1012. esac;;
  1013. esac
  1014. case $ac_abs_builddir in
  1015. .) ac_abs_srcdir=$ac_srcdir;;
  1016. *)
  1017. case $ac_srcdir in
  1018. .) ac_abs_srcdir=$ac_abs_builddir;;
  1019. [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  1020. *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  1021. esac;;
  1022. esac
  1023. case $ac_abs_builddir in
  1024. .) ac_abs_top_srcdir=$ac_top_srcdir;;
  1025. *)
  1026. case $ac_top_srcdir in
  1027. .) ac_abs_top_srcdir=$ac_abs_builddir;;
  1028. [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  1029. *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  1030. esac;;
  1031. esac
  1032. cd $ac_dir
  1033. # Check for guested configure; otherwise get Cygnus style configure.
  1034. if test -f $ac_srcdir/configure.gnu; then
  1035. echo
  1036. $SHELL $ac_srcdir/configure.gnu --help=recursive
  1037. elif test -f $ac_srcdir/configure; then
  1038. echo
  1039. $SHELL $ac_srcdir/configure --help=recursive
  1040. elif test -f $ac_srcdir/configure.ac ||
  1041. test -f $ac_srcdir/configure.in; then
  1042. echo
  1043. $ac_configure --help
  1044. else
  1045. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1046. fi
  1047. cd $ac_popdir
  1048. done
  1049. fi
  1050. test -n "$ac_init_help" && exit 0
  1051. if $ac_init_version; then
  1052. cat <<\_ACEOF
  1053. Copyright (C) 2003 Free Software Foundation, Inc.
  1054. This configure script is free software; the Free Software Foundation
  1055. gives unlimited permission to copy, distribute and modify it.
  1056. _ACEOF
  1057. exit 0
  1058. fi
  1059. exec 5>config.log
  1060. cat >&5 <<_ACEOF
  1061. This file contains any messages produced by compilers while
  1062. running configure, to aid debugging if configure makes a mistake.
  1063. It was created by $as_me, which was
  1064. generated by GNU Autoconf 2.59. Invocation command line was
  1065. $ $0 $@
  1066. _ACEOF
  1067. {
  1068. cat <<_ASUNAME
  1069. ## --------- ##
  1070. ## Platform. ##
  1071. ## --------- ##
  1072. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1073. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1074. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1075. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1076. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1077. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1078. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1079. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1080. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1081. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1082. hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  1083. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1084. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1085. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1086. _ASUNAME
  1087. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1088. for as_dir in $PATH
  1089. do
  1090. IFS=$as_save_IFS
  1091. test -z "$as_dir" && as_dir=.
  1092. echo "PATH: $as_dir"
  1093. done
  1094. } >&5
  1095. cat >&5 <<_ACEOF
  1096. ## ----------- ##
  1097. ## Core tests. ##
  1098. ## ----------- ##
  1099. _ACEOF
  1100. # Keep a trace of the command line.
  1101. # Strip out --no-create and --no-recursion so they do not pile up.
  1102. # Strip out --silent because we don't want to record it for future runs.
  1103. # Also quote any args containing shell meta-characters.
  1104. # Make two passes to allow for proper duplicate-argument suppression.
  1105. ac_configure_args=
  1106. ac_configure_args0=
  1107. ac_configure_args1=
  1108. ac_sep=
  1109. ac_must_keep_next=false
  1110. for ac_pass in 1 2
  1111. do
  1112. for ac_arg
  1113. do
  1114. case $ac_arg in
  1115. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1116. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1117. | -silent | --silent | --silen | --sile | --sil)
  1118. continue ;;
  1119. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1120. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1121. esac
  1122. case $ac_pass in
  1123. 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1124. 2)
  1125. ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1126. if test $ac_must_keep_next = true; then
  1127. ac_must_keep_next=false # Got value, back to normal.
  1128. else
  1129. case $ac_arg in
  1130. *=* | --config-cache | -C | -disable-* | --disable-* \
  1131. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1132. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1133. | -with-* | --with-* | -without-* | --without-* | --x)
  1134. case "$ac_configure_args0 " in
  1135. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1136. esac
  1137. ;;
  1138. -* ) ac_must_keep_next=true ;;
  1139. esac
  1140. fi
  1141. ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1142. # Get rid of the leading space.
  1143. ac_sep=" "
  1144. ;;
  1145. esac
  1146. done
  1147. done
  1148. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1149. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1150. # When interrupted or exit'd, cleanup temporary files, and complete
  1151. # config.log. We remove comments because anyway the quotes in there
  1152. # would cause problems or look ugly.
  1153. # WARNING: Be sure not to use single quotes in there, as some shells,
  1154. # such as our DU 5.0 friend, will then `close' the trap.
  1155. trap 'exit_status=$?
  1156. # Save into config.log some information that might help in debugging.
  1157. {
  1158. echo
  1159. cat <<\_ASBOX
  1160. ## ---------------- ##
  1161. ## Cache variables. ##
  1162. ## ---------------- ##
  1163. _ASBOX
  1164. echo
  1165. # The following way of writing the cache mishandles newlines in values,
  1166. {
  1167. (set) 2>&1 |
  1168. case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1169. *ac_space=\ *)
  1170. sed -n \
  1171. "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  1172. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  1173. ;;
  1174. *)
  1175. sed -n \
  1176. "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1177. ;;
  1178. esac;
  1179. }
  1180. echo
  1181. cat <<\_ASBOX
  1182. ## ----------------- ##
  1183. ## Output variables. ##
  1184. ## ----------------- ##
  1185. _ASBOX
  1186. echo
  1187. for ac_var in $ac_subst_vars
  1188. do
  1189. eval ac_val=$`echo $ac_var`
  1190. echo "$ac_var='"'"'$ac_val'"'"'"
  1191. done | sort
  1192. echo
  1193. if test -n "$ac_subst_files"; then
  1194. cat <<\_ASBOX
  1195. ## ------------- ##
  1196. ## Output files. ##
  1197. ## ------------- ##
  1198. _ASBOX
  1199. echo
  1200. for ac_var in $ac_subst_files
  1201. do
  1202. eval ac_val=$`echo $ac_var`
  1203. echo "$ac_var='"'"'$ac_val'"'"'"
  1204. done | sort
  1205. echo
  1206. fi
  1207. if test -s confdefs.h; then
  1208. cat <<\_ASBOX
  1209. ## ----------- ##
  1210. ## confdefs.h. ##
  1211. ## ----------- ##
  1212. _ASBOX
  1213. echo
  1214. sed "/^$/d" confdefs.h | sort
  1215. echo
  1216. fi
  1217. test "$ac_signal" != 0 &&
  1218. echo "$as_me: caught signal $ac_signal"
  1219. echo "$as_me: exit $exit_status"
  1220. } >&5
  1221. rm -f core *.core &&
  1222. rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1223. exit $exit_status
  1224. ' 0
  1225. for ac_signal in 1 2 13 15; do
  1226. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1227. done
  1228. ac_signal=0
  1229. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1230. rm -rf conftest* confdefs.h
  1231. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1232. echo >confdefs.h
  1233. # Predefined preprocessor variables.
  1234. cat >>confdefs.h <<_ACEOF
  1235. #define PACKAGE_NAME "$PACKAGE_NAME"
  1236. _ACEOF
  1237. cat >>confdefs.h <<_ACEOF
  1238. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1239. _ACEOF
  1240. cat >>confdefs.h <<_ACEOF
  1241. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1242. _ACEOF
  1243. cat >>confdefs.h <<_ACEOF
  1244. #define PACKAGE_STRING "$PACKAGE_STRING"
  1245. _ACEOF
  1246. cat >>confdefs.h <<_ACEOF
  1247. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1248. _ACEOF
  1249. # Let the site file select an alternate cache file if it wants to.
  1250. # Prefer explicitly selected file to automatically selected ones.
  1251. if test -z "$CONFIG_SITE"; then
  1252. if test "x$prefix" != xNONE; then
  1253. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1254. else
  1255. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1256. fi
  1257. fi
  1258. for ac_site_file in $CONFIG_SITE; do
  1259. if test -r "$ac_site_file"; then
  1260. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1261. echo "$as_me: loading site script $ac_site_file" >&6;}
  1262. sed 's/^/| /' "$ac_site_file" >&5
  1263. . "$ac_site_file"
  1264. fi
  1265. done
  1266. if test -r "$cache_file"; then
  1267. # Some versions of bash will fail to source /dev/null (special
  1268. # files actually), so we avoid doing that.
  1269. if test -f "$cache_file"; then
  1270. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1271. echo "$as_me: loading cache $cache_file" >&6;}
  1272. case $cache_file in
  1273. [\\/]* | ?:[\\/]* ) . $cache_file;;
  1274. *) . ./$cache_file;;
  1275. esac
  1276. fi
  1277. else
  1278. { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1279. echo "$as_me: creating cache $cache_file" >&6;}
  1280. >$cache_file
  1281. fi
  1282. # Check that the precious variables saved in the cache have kept the same
  1283. # value.
  1284. ac_cache_corrupted=false
  1285. for ac_var in `(set) 2>&1 |
  1286. sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1287. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1288. eval ac_new_set=\$ac_env_${ac_var}_set
  1289. eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1290. eval ac_new_val="\$ac_env_${ac_var}_value"
  1291. case $ac_old_set,$ac_new_set in
  1292. set,)
  1293. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1294. echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1295. ac_cache_corrupted=: ;;
  1296. ,set)
  1297. { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1298. echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1299. ac_cache_corrupted=: ;;
  1300. ,);;
  1301. *)
  1302. if test "x$ac_old_val" != "x$ac_new_val"; then
  1303. { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1304. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1305. { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  1306. echo "$as_me: former value: $ac_old_val" >&2;}
  1307. { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  1308. echo "$as_me: current value: $ac_new_val" >&2;}
  1309. ac_cache_corrupted=:
  1310. fi;;
  1311. esac
  1312. # Pass precious variables to config.status.
  1313. if test "$ac_new_set" = set; then
  1314. case $ac_new_val in
  1315. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1316. ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1317. *) ac_arg=$ac_var=$ac_new_val ;;
  1318. esac
  1319. case " $ac_configure_args " in
  1320. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1321. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1322. esac
  1323. fi
  1324. done
  1325. if $ac_cache_corrupted; then
  1326. { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1327. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1328. { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1329. echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1330. { (exit 1); exit 1; }; }
  1331. fi
  1332. ac_ext=c
  1333. ac_cpp='$CPP $CPPFLAGS'
  1334. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1335. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1336. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1337. echo "$as_me:$LINENO: checking metadata" >&5
  1338. echo $ECHO_N "checking metadata... $ECHO_C" >&6
  1339. META="$srcdir/META"
  1340. _x_ac_meta_got_file=no
  1341. if test -f "$META"; then
  1342. _x_ac_meta_got_file=yes
  1343. META_NAME=`perl -n\
  1344. -e "BEGIN { \\$key=shift @ARGV; }"\
  1345. -e "next unless s/^\s*\\$key[:=]//i;"\
  1346. -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
  1347. -e "s/^\s+//;"\
  1348. -e "s/\s+$//;"\
  1349. -e "s/^(['\"])(.*)\1/\\$2/;"\
  1350. -e "\\$val=\\$_;"\
  1351. -e "END { print \\$val if defined \\$val; }"\
  1352. '(?:NAME|PROJECT|PACKAGE)' $META`;
  1353. if test -n "$META_NAME"; then
  1354. cat >>confdefs.h <<_ACEOF
  1355. #define META_NAME "$META_NAME"
  1356. _ACEOF
  1357. fi
  1358. META_VERSION=`perl -n\
  1359. -e "BEGIN { \\$key=shift @ARGV; }"\
  1360. -e "next unless s/^\s*\\$key[:=]//i;"\
  1361. -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
  1362. -e "s/^\s+//;"\
  1363. -e "s/\s+$//;"\
  1364. -e "s/^(['\"])(.*)\1/\\$2/;"\
  1365. -e "\\$val=\\$_;"\
  1366. -e "END { print \\$val if defined \\$val; }"\
  1367. 'VERSION' $META`;
  1368. if test -n "$META_VERSION"; then
  1369. cat >>confdefs.h <<_ACEOF
  1370. #define META_VERSION "$META_VERSION"
  1371. _ACEOF
  1372. fi
  1373. META_RELEASE=`perl -n\
  1374. -e "BEGIN { \\$key=shift @ARGV; }"\
  1375. -e "next unless s/^\s*\\$key[:=]//i;"\
  1376. -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
  1377. -e "s/^\s+//;"\
  1378. -e "s/\s+$//;"\
  1379. -e "s/^(['\"])(.*)\1/\\$2/;"\
  1380. -e "\\$val=\\$_;"\
  1381. -e "END { print \\$val if defined \\$val; }"\
  1382. 'RELEASE' $META`;
  1383. if test -n "$META_RELEASE"; then
  1384. cat >>confdefs.h <<_ACEOF
  1385. #define META_RELEASE "$META_RELEASE"
  1386. _ACEOF
  1387. fi
  1388. if test -n "$META_NAME" -a -n "$META_VERSION"; then
  1389. META_ALIAS="$META_NAME-$META_VERSION"
  1390. test -n "$META_RELEASE" && META_ALIAS="$META_ALIAS-$META_RELEASE"
  1391. cat >>confdefs.h <<_ACEOF
  1392. #define META_ALIAS "$META_ALIAS"
  1393. _ACEOF
  1394. fi
  1395. META_DATE=`perl -n\
  1396. -e "BEGIN { \\$key=shift @ARGV; }"\
  1397. -e "next unless s/^\s*\\$key[:=]//i;"\
  1398. -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
  1399. -e "s/^\s+//;"\
  1400. -e "s/\s+$//;"\
  1401. -e "s/^(['\"])(.*)\1/\\$2/;"\
  1402. -e "\\$val=\\$_;"\
  1403. -e "END { print \\$val if defined \\$val; }"\
  1404. 'DATE' $META`;
  1405. if test -n "$META_DATE"; then
  1406. cat >>confdefs.h <<_ACEOF
  1407. #define META_DATE "$META_DATE"
  1408. _ACEOF
  1409. fi
  1410. META_AUTHOR=`perl -n\
  1411. -e "BEGIN { \\$key=shift @ARGV; }"\
  1412. -e "next unless s/^\s*\\$key[:=]//i;"\
  1413. -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
  1414. -e "s/^\s+//;"\
  1415. -e "s/\s+$//;"\
  1416. -e "s/^(['\"])(.*)\1/\\$2/;"\
  1417. -e "\\$val=\\$_;"\
  1418. -e "END { print \\$val if defined \\$val; }"\
  1419. 'AUTHOR' $META`;
  1420. if test -n "$META_AUTHOR"; then
  1421. cat >>confdefs.h <<_ACEOF
  1422. #define META_AUTHOR "$META_AUTHOR"
  1423. _ACEOF
  1424. fi
  1425. META_LT_CURRENT=`perl -n\
  1426. -e "BEGIN { \\$key=shift @ARGV; }"\
  1427. -e "next unless s/^\s*\\$key[:=]//i;"\
  1428. -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
  1429. -e "s/^\s+//;"\
  1430. -e "s/\s+$//;"\
  1431. -e "s/^(['\"])(.*)\1/\\$2/;"\
  1432. -e "\\$val=\\$_;"\
  1433. -e "END { print \\$val if defined \\$val; }"\
  1434. 'LT_CURRENT' $META`;
  1435. META_LT_REVISION=`perl -n\
  1436. -e "BEGIN { \\$key=shift @ARGV; }"\
  1437. -e "next unless s/^\s*\\$key[:=]//i;"\
  1438. -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
  1439. -e "s/^\s+//;"\
  1440. -e "s/\s+$//;"\
  1441. -e "s/^(['\"])(.*)\1/\\$2/;"\
  1442. -e "\\$val=\\$_;"\
  1443. -e "END { print \\$val if defined \\$val; }"\
  1444. 'LT_REVISION' $META`;
  1445. META_LT_AGE=`perl -n\
  1446. -e "BEGIN { \\$key=shift @ARGV; }"\
  1447. -e "next unless s/^\s*\\$key[:=]//i;"\
  1448. -e "s/^((?:[^'\"#]*(?:(['\"])[^\2]*\2)*)*)#.*/\\$1/;"\
  1449. -e "s/^\s+//;"\
  1450. -e "s/\s+$//;"\
  1451. -e "s/^(['\"])(.*)\1/\\$2/;"\
  1452. -e "\\$val=\\$_;"\
  1453. -e "END { print \\$val if defined \\$val; }"\
  1454. 'LT_AGE' $META`;
  1455. if test -n "$META_LT_CURRENT" \
  1456. -o -n "$META_LT_REVISION" \
  1457. -o -n "$META_LT_AGE"; then
  1458. test -n "$META_LT_CURRENT" || META_LT_CURRENT="0"
  1459. test -n "$META_LT_REVISION" || META_LT_REVISION="0"
  1460. test -n "$META_LT_AGE" || META_LT_AGE="0"
  1461. cat >>confdefs.h <<_ACEOF
  1462. #define META_LT_CURRENT "$META_LT_CURRENT"
  1463. _ACEOF
  1464. cat >>confdefs.h <<_ACEOF
  1465. #define META_LT_REVISION "$META_LT_REVISION"
  1466. _ACEOF
  1467. cat >>confdefs.h <<_ACEOF
  1468. #define META_LT_AGE "$META_LT_AGE"
  1469. _ACEOF
  1470. fi
  1471. fi
  1472. echo "$as_me:$LINENO: result: $_x_ac_meta_got_file" >&5
  1473. echo "${ECHO_T}$_x_ac_meta_got_file" >&6
  1474. ac_aux_dir=
  1475. for ac_dir in config $srcdir/config; do
  1476. if test -f $ac_dir/install-sh; then
  1477. ac_aux_dir=$ac_dir
  1478. ac_install_sh="$ac_aux_dir/install-sh -c"
  1479. break
  1480. elif test -f $ac_dir/install.sh; then
  1481. ac_aux_dir=$ac_dir
  1482. ac_install_sh="$ac_aux_dir/install.sh -c"
  1483. break
  1484. elif test -f $ac_dir/shtool; then
  1485. ac_aux_dir=$ac_dir
  1486. ac_install_sh="$ac_aux_dir/shtool install -c"
  1487. break
  1488. fi
  1489. done
  1490. if test -z "$ac_aux_dir"; then
  1491. { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
  1492. echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
  1493. { (exit 1); exit 1; }; }
  1494. fi
  1495. ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1496. ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1497. ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1498. # Make sure we can run config.sub.
  1499. $ac_config_sub sun4 >/dev/null 2>&1 ||
  1500. { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
  1501. echo "$as_me: error: cannot run $ac_config_sub" >&2;}
  1502. { (exit 1); exit 1; }; }
  1503. echo "$as_me:$LINENO: checking build system type" >&5
  1504. echo $ECHO_N "checking build system type... $ECHO_C" >&6
  1505. if test "${ac_cv_build+set}" = set; then
  1506. echo $ECHO_N "(cached) $ECHO_C" >&6
  1507. else
  1508. ac_cv_build_alias=$build_alias
  1509. test -z "$ac_cv_build_alias" &&
  1510. ac_cv_build_alias=`$ac_config_guess`
  1511. test -z "$ac_cv_build_alias" &&
  1512. { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  1513. echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  1514. { (exit 1); exit 1; }; }
  1515. ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
  1516. { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
  1517. echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
  1518. { (exit 1); exit 1; }; }
  1519. fi
  1520. echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1521. echo "${ECHO_T}$ac_cv_build" >&6
  1522. build=$ac_cv_build
  1523. build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1524. build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1525. build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1526. echo "$as_me:$LINENO: checking host system type" >&5
  1527. echo $ECHO_N "checking host system type... $ECHO_C" >&6
  1528. if test "${ac_cv_host+set}" = set; then
  1529. echo $ECHO_N "(cached) $ECHO_C" >&6
  1530. else
  1531. ac_cv_host_alias=$host_alias
  1532. test -z "$ac_cv_host_alias" &&
  1533. ac_cv_host_alias=$ac_cv_build_alias
  1534. ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
  1535. { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
  1536. echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
  1537. { (exit 1); exit 1; }; }
  1538. fi
  1539. echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  1540. echo "${ECHO_T}$ac_cv_host" >&6
  1541. host=$ac_cv_host
  1542. host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1543. host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1544. host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1545. echo "$as_me:$LINENO: checking target system type" >&5
  1546. echo $ECHO_N "checking target system type... $ECHO_C" >&6
  1547. if test "${ac_cv_target+set}" = set; then
  1548. echo $ECHO_N "(cached) $ECHO_C" >&6
  1549. else
  1550. ac_cv_target_alias=$target_alias
  1551. test "x$ac_cv_target_alias" = "x" &&
  1552. ac_cv_target_alias=$ac_cv_host_alias
  1553. ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
  1554. { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
  1555. echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
  1556. { (exit 1); exit 1; }; }
  1557. fi
  1558. echo "$as_me:$LINENO: result: $ac_cv_target" >&5
  1559. echo "${ECHO_T}$ac_cv_target" >&6
  1560. target=$ac_cv_target
  1561. target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  1562. target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  1563. target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  1564. # The aliases save the names the user supplied, while $host etc.
  1565. # will get canonicalized.
  1566. test -n "$target_alias" &&
  1567. test "$program_prefix$program_suffix$program_transform_name" = \
  1568. NONENONEs,x,x, &&
  1569. program_prefix=${target_alias}-
  1570. cat >>confdefs.h <<\_ACEOF
  1571. #define GPL_LICENSED 1
  1572. _ACEOF
  1573. # hack to fix dejagnu.am brokenness before automake 1.6
  1574. if test x$host_alias = x ; then
  1575. host_alias=$host_cpu
  1576. fi
  1577. #
  1578. # Automake support
  1579. #
  1580. am__api_version="1.9"
  1581. # Find a good install program. We prefer a C program (faster),
  1582. # so one script is as good as another. But avoid the broken or
  1583. # incompatible versions:
  1584. # SysV /etc/install, /usr/sbin/install
  1585. # SunOS /usr/etc/install
  1586. # IRIX /sbin/install
  1587. # AIX /bin/install
  1588. # AmigaOS /C/install, which installs bootblocks on floppy discs
  1589. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1590. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1591. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1592. # OS/2's system install, which has a completely different semantic
  1593. # ./install, which can be erroneously created by make from ./install.sh.
  1594. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1595. echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  1596. if test -z "$INSTALL"; then
  1597. if test "${ac_cv_path_install+set}" = set; then
  1598. echo $ECHO_N "(cached) $ECHO_C" >&6
  1599. else
  1600. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1601. for as_dir in $PATH
  1602. do
  1603. IFS=$as_save_IFS
  1604. test -z "$as_dir" && as_dir=.
  1605. # Account for people who put trailing slashes in PATH elements.
  1606. case $as_dir/ in
  1607. ./ | .// | /cC/* | \
  1608. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1609. ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  1610. /usr/ucb/* ) ;;
  1611. *)
  1612. # OSF1 and SCO ODT 3.0 have their own names for install.
  1613. # Don't use installbsd from OSF since it installs stuff as root
  1614. # by default.
  1615. for ac_prog in ginstall scoinst install; do
  1616. for ac_exec_ext in '' $ac_executable_extensions; do
  1617. if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  1618. if test $ac_prog = install &&
  1619. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1620. # AIX install. It has an incompatible calling convention.
  1621. :
  1622. elif test $ac_prog = install &&
  1623. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1624. # program-specific install script used by HP pwplus--don't use.
  1625. :
  1626. else
  1627. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1628. break 3
  1629. fi
  1630. fi
  1631. done
  1632. done
  1633. ;;
  1634. esac
  1635. done
  1636. fi
  1637. if test "${ac_cv_path_install+set}" = set; then
  1638. INSTALL=$ac_cv_path_install
  1639. else
  1640. # As a last resort, use the slow shell script. We don't cache a
  1641. # path for INSTALL within a source directory, because that will
  1642. # break other packages using the cache if that directory is
  1643. # removed, or if the path is relative.
  1644. INSTALL=$ac_install_sh
  1645. fi
  1646. fi
  1647. echo "$as_me:$LINENO: result: $INSTALL" >&5
  1648. echo "${ECHO_T}$INSTALL" >&6
  1649. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1650. # It thinks the first close brace ends the variable substitution.
  1651. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1652. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1653. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1654. echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1655. echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
  1656. # Just in case
  1657. sleep 1
  1658. echo timestamp > conftest.file
  1659. # Do `set' in a subshell so we don't clobber the current shell's
  1660. # arguments. Must try -L first in case configure is actually a
  1661. # symlink; some systems play weird games with the mod time of symlinks
  1662. # (eg FreeBSD returns the mod time of the symlink's containing
  1663. # directory).
  1664. if (
  1665. set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1666. if test "$*" = "X"; then
  1667. # -L didn't work.
  1668. set X `ls -t $srcdir/configure conftest.file`
  1669. fi
  1670. rm -f conftest.file
  1671. if test "$*" != "X $srcdir/configure conftest.file" \
  1672. && test "$*" != "X conftest.file $srcdir/configure"; then
  1673. # If neither matched, then we have a broken ls. This can happen
  1674. # if, for instance, CONFIG_SHELL is bash and it inherits a
  1675. # broken ls alias from the environment. This has actually
  1676. # happened. Such a system could not be considered "sane".
  1677. { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
  1678. alias in your environment" >&5
  1679. echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
  1680. alias in your environment" >&2;}
  1681. { (exit 1); exit 1; }; }
  1682. fi
  1683. test "$2" = conftest.file
  1684. )
  1685. then
  1686. # Ok.
  1687. :
  1688. else
  1689. { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1690. Check your system clock" >&5
  1691. echo "$as_me: error: newly created file is older than distributed files!
  1692. Check your system clock" >&2;}
  1693. { (exit 1); exit 1; }; }
  1694. fi
  1695. echo "$as_me:$LINENO: result: yes" >&5
  1696. echo "${ECHO_T}yes" >&6
  1697. test "$program_prefix" != NONE &&
  1698. program_transform_name="s,^,$program_prefix,;$program_transform_name"
  1699. # Use a double $ so make ignores it.
  1700. test "$program_suffix" != NONE &&
  1701. program_transform_name="s,\$,$program_suffix,;$program_transform_name"
  1702. # Double any \ or $. echo might interpret backslashes.
  1703. # By default was `s,x,x', remove it if useless.
  1704. cat <<\_ACEOF >conftest.sed
  1705. s/[\\$]/&&/g;s/;s,x,x,$//
  1706. _ACEOF
  1707. program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1708. rm conftest.sed
  1709. # expand $ac_aux_dir to an absolute path
  1710. am_aux_dir=`cd $ac_aux_dir && pwd`
  1711. test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  1712. # Use eval to expand $SHELL
  1713. if eval "$MISSING --run true"; then
  1714. am_missing_run="$MISSING --run "
  1715. else
  1716. am_missing_run=
  1717. { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  1718. echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  1719. fi
  1720. if mk