2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Regina REXX Interpreter "".
5 # Report bugs to <mark@rexx.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME
='Regina REXX Interpreter'
576 PACKAGE_TARNAME
='Regina-REXX'
578 PACKAGE_STRING
='Regina REXX Interpreter ""'
579 PACKAGE_BUGREPORT
='mark@rexx.org'
581 ac_default_prefix
=/usr
/local
582 # Factoring default headers for most tests.
583 ac_includes_default
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
787 MH_UNSIGNED_CHAR_SWITCH
790 ac_precious_vars
='build_alias
801 # Initialize some variables set by options.
803 ac_init_version
=false
804 # The variables have the same names as the options, with
805 # dashes changed to underlines.
813 program_transform_name
=s
,x
,x
,
821 # Installation directory options.
822 # These are left unexpanded so users can "make install exec_prefix=/foo"
823 # and all the variables that are supposed to be based on exec_prefix
824 # by default will actually change.
825 # Use braces instead of parens because sh, perl, etc. also accept them.
826 # (The list follows the same order as the GNU Coding Standards.)
827 bindir
='${exec_prefix}/bin'
828 sbindir
='${exec_prefix}/sbin'
829 libexecdir
='${exec_prefix}/libexec'
830 datarootdir
='${prefix}/share'
831 datadir
='${datarootdir}'
832 sysconfdir
='${prefix}/etc'
833 sharedstatedir
='${prefix}/com'
834 localstatedir
='${prefix}/var'
835 includedir
='${prefix}/include'
836 oldincludedir
='/usr/include'
837 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
838 infodir
='${datarootdir}/info'
843 libdir
='${exec_prefix}/lib'
844 localedir
='${datarootdir}/locale'
845 mandir
='${datarootdir}/man'
851 # If the previous option needs an argument, assign it.
852 if test -n "$ac_prev"; then
853 eval $ac_prev=\
$ac_option
859 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
863 # Accept the important Cygnus configure options, so we can diagnose typos.
865 case $ac_dashdash$ac_option in
869 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
871 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
874 -build |
--build |
--buil |
--bui |
--bu)
875 ac_prev
=build_alias
;;
876 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
877 build_alias
=$ac_optarg ;;
879 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
880 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
881 ac_prev
=cache_file
;;
882 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
883 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
884 cache_file
=$ac_optarg ;;
887 cache_file
=config.cache
;;
889 -datadir |
--datadir |
--datadi |
--datad)
891 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
892 datadir
=$ac_optarg ;;
894 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
895 |
--dataroo |
--dataro |
--datar)
896 ac_prev
=datarootdir
;;
897 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
898 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
899 datarootdir
=$ac_optarg ;;
901 -disable-* |
--disable-*)
902 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
905 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
906 { (exit 1); exit 1; }; }
907 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
908 eval enable_
$ac_feature=no
;;
910 -docdir |
--docdir |
--docdi |
--doc |
--do)
912 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
915 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
917 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
920 -enable-* |
--enable-*)
921 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
922 # Reject names that are not valid shell variable names.
923 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
924 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
925 { (exit 1); exit 1; }; }
926 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
927 eval enable_
$ac_feature=\
$ac_optarg ;;
929 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
930 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
931 |
--exec |
--exe |
--ex)
932 ac_prev
=exec_prefix
;;
933 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
934 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
935 |
--exec=* |
--exe=* |
--ex=*)
936 exec_prefix
=$ac_optarg ;;
938 -gas |
--gas |
--ga |
--g)
939 # Obsolete; use --with-gas.
942 -help |
--help |
--hel |
--he |
-h)
944 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
945 ac_init_help
=recursive
;;
946 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
947 ac_init_help
=short
;;
949 -host |
--host |
--hos |
--ho)
950 ac_prev
=host_alias
;;
951 -host=* |
--host=* |
--hos=* |
--ho=*)
952 host_alias
=$ac_optarg ;;
954 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
956 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
958 htmldir
=$ac_optarg ;;
960 -includedir |
--includedir |
--includedi |
--included |
--include \
961 |
--includ |
--inclu |
--incl |
--inc)
962 ac_prev
=includedir
;;
963 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
964 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
965 includedir
=$ac_optarg ;;
967 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
969 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
970 infodir
=$ac_optarg ;;
972 -libdir |
--libdir |
--libdi |
--libd)
974 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
977 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
978 |
--libexe |
--libex |
--libe)
979 ac_prev
=libexecdir
;;
980 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
981 |
--libexe=* |
--libex=* |
--libe=*)
982 libexecdir
=$ac_optarg ;;
984 -localedir |
--localedir |
--localedi |
--localed |
--locale)
986 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
987 localedir
=$ac_optarg ;;
989 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
990 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
991 ac_prev
=localstatedir
;;
992 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
993 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
994 localstatedir
=$ac_optarg ;;
996 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
998 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1001 -nfp |
--nfp |
--nf)
1002 # Obsolete; use --without-fp.
1005 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1006 |
--no-cr |
--no-c |
-n)
1009 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1010 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1013 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1014 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1015 |
--oldin |
--oldi |
--old |
--ol |
--o)
1016 ac_prev
=oldincludedir
;;
1017 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1018 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1019 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1020 oldincludedir
=$ac_optarg ;;
1022 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1024 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1025 prefix
=$ac_optarg ;;
1027 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1028 |
--program-pre |
--program-pr |
--program-p)
1029 ac_prev
=program_prefix
;;
1030 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1031 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1032 program_prefix
=$ac_optarg ;;
1034 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1035 |
--program-suf |
--program-su |
--program-s)
1036 ac_prev
=program_suffix
;;
1037 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1038 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1039 program_suffix
=$ac_optarg ;;
1041 -program-transform-name |
--program-transform-name \
1042 |
--program-transform-nam |
--program-transform-na \
1043 |
--program-transform-n |
--program-transform- \
1044 |
--program-transform |
--program-transfor \
1045 |
--program-transfo |
--program-transf \
1046 |
--program-trans |
--program-tran \
1047 |
--progr-tra |
--program-tr |
--program-t)
1048 ac_prev
=program_transform_name
;;
1049 -program-transform-name=* |
--program-transform-name=* \
1050 |
--program-transform-nam=* |
--program-transform-na=* \
1051 |
--program-transform-n=* |
--program-transform-=* \
1052 |
--program-transform=* |
--program-transfor=* \
1053 |
--program-transfo=* |
--program-transf=* \
1054 |
--program-trans=* |
--program-tran=* \
1055 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1056 program_transform_name
=$ac_optarg ;;
1058 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1060 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1061 pdfdir
=$ac_optarg ;;
1063 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1065 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1068 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1069 |
-silent |
--silent |
--silen |
--sile |
--sil)
1072 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1074 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1076 sbindir
=$ac_optarg ;;
1078 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1079 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1080 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1082 ac_prev
=sharedstatedir
;;
1083 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1084 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1085 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1087 sharedstatedir
=$ac_optarg ;;
1089 -site |
--site |
--sit)
1091 -site=* |
--site=* |
--sit=*)
1094 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1096 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1097 srcdir
=$ac_optarg ;;
1099 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1100 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1101 ac_prev
=sysconfdir
;;
1102 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1103 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1104 sysconfdir
=$ac_optarg ;;
1106 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1107 ac_prev
=target_alias
;;
1108 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1109 target_alias
=$ac_optarg ;;
1111 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1114 -version |
--version |
--versio |
--versi |
--vers |
-V)
1115 ac_init_version
=: ;;
1118 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_
$ac_package=\
$ac_optarg ;;
1126 -without-* |
--without-*)
1127 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1130 { echo "$as_me: error: invalid package name: $ac_package" >&2
1131 { (exit 1); exit 1; }; }
1132 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1133 eval with_
$ac_package=no
;;
1136 # Obsolete; use --with-x.
1139 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1140 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1141 ac_prev
=x_includes
;;
1142 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1143 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1144 x_includes
=$ac_optarg ;;
1146 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1147 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1148 ac_prev
=x_libraries
;;
1149 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1150 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1151 x_libraries
=$ac_optarg ;;
1153 -*) { echo "$as_me: error: unrecognized option: $ac_option
1154 Try \`$0 --help' for more information." >&2
1155 { (exit 1); exit 1; }; }
1159 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1162 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1163 { (exit 1); exit 1; }; }
1164 eval $ac_envvar=\
$ac_optarg
1165 export $ac_envvar ;;
1168 # FIXME: should be removed in autoconf 3.0.
1169 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1170 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1171 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1172 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1178 if test -n "$ac_prev"; then
1179 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1180 { echo "$as_me: error: missing argument to $ac_option" >&2
1181 { (exit 1); exit 1; }; }
1184 # Be sure to have absolute directory names.
1185 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1186 datadir sysconfdir sharedstatedir localstatedir includedir \
1187 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1188 libdir localedir mandir
1190 eval ac_val
=\$
$ac_var
1192 [\\/$
]* | ?
:[\\/]* ) continue;;
1193 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1195 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1196 { (exit 1); exit 1; }; }
1199 # There might be people who depend on the old broken behavior: `$host'
1200 # used to hold the argument of --host etc.
1201 # FIXME: To remove some day.
1204 target
=$target_alias
1206 # FIXME: To remove some day.
1207 if test "x$host_alias" != x
; then
1208 if test "x$build_alias" = x
; then
1209 cross_compiling
=maybe
1210 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1211 If a cross compiler is detected then cross compile mode will be used." >&2
1212 elif test "x$build_alias" != "x$host_alias"; then
1218 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1220 test "$silent" = yes && exec 6>/dev
/null
1223 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1224 ac_ls_di
=`ls -di .` &&
1225 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1226 { echo "$as_me: error: Working directory cannot be determined" >&2
1227 { (exit 1); exit 1; }; }
1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1229 { echo "$as_me: error: pwd does not report name of working directory" >&2
1230 { (exit 1); exit 1; }; }
1233 # Find the source files, if location was not specified.
1234 if test -z "$srcdir"; then
1235 ac_srcdir_defaulted
=yes
1236 # Try the directory containing this script, then the parent directory.
1237 ac_confdir
=`$as_dirname -- "$0" ||
1238 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1239 X"$0" : 'X\(//\)[^/]' \| \
1240 X"$0" : 'X\(//\)$' \| \
1241 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1265 ac_srcdir_defaulted
=no
1267 if test ! -r "$srcdir/$ac_unique_file"; then
1268 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1269 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1270 { (exit 1); exit 1; }; }
1272 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1274 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1275 { (exit 1); exit 1; }; }
1277 # When building in place, set srcdir=.
1278 if test "$ac_abs_confdir" = "$ac_pwd"; then
1281 # Remove unnecessary trailing slashes from srcdir.
1282 # Double slashes in file names in object file debugging info
1283 # mess up M-x gdb in Emacs.
1285 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287 for ac_var
in $ac_precious_vars; do
1288 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1289 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1290 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1291 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1295 # Report the --help message.
1297 if test "$ac_init_help" = "long"; then
1298 # Omit some internal or obsolete options to make the list less imposing.
1299 # This message is too long to be a string in the A/UX 3.1 sh.
1301 \`configure' configures Regina REXX Interpreter "" to adapt to many kinds of systems.
1303 Usage: $0 [OPTION]... [VAR=VALUE]...
1305 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1306 VAR=VALUE. See below for descriptions of some of the useful variables.
1308 Defaults for the options are specified in brackets.
1311 -h, --help display this help and exit
1312 --help=short display options specific to this package
1313 --help=recursive display the short help of all the included packages
1314 -V, --version display version information and exit
1315 -q, --quiet, --silent do not print \`checking...' messages
1316 --cache-file=FILE cache test results in FILE [disabled]
1317 -C, --config-cache alias for \`--cache-file=config.cache'
1318 -n, --no-create do not create output files
1319 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1321 Installation directories:
1322 --prefix=PREFIX install architecture-independent files in PREFIX
1323 [$ac_default_prefix]
1324 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1327 By default, \`make install' will install all the files in
1328 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1329 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1330 for instance \`--prefix=\$HOME'.
1332 For better control, use the options below.
1334 Fine tuning of the installation directories:
1335 --bindir=DIR user executables [EPREFIX/bin]
1336 --sbindir=DIR system admin executables [EPREFIX/sbin]
1337 --libexecdir=DIR program executables [EPREFIX/libexec]
1338 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1339 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1340 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1341 --libdir=DIR object code libraries [EPREFIX/lib]
1342 --includedir=DIR C header files [PREFIX/include]
1343 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1344 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1345 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1346 --infodir=DIR info documentation [DATAROOTDIR/info]
1347 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1348 --mandir=DIR man documentation [DATAROOTDIR/man]
1349 --docdir=DIR documentation root [DATAROOTDIR/doc/Regina-REXX]
1350 --htmldir=DIR html documentation [DOCDIR]
1351 --dvidir=DIR dvi documentation [DOCDIR]
1352 --pdfdir=DIR pdf documentation [DOCDIR]
1353 --psdir=DIR ps documentation [DOCDIR]
1359 --build=BUILD configure
for building on BUILD
[guessed
]
1360 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1361 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1365 if test -n "$ac_init_help"; then
1366 case $ac_init_help in
1367 short | recursive
) echo "Configuration of Regina REXX Interpreter "":";;
1372 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1373 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1374 --enable-32bit specify
if 32bit libraries are to be used
1375 --enable-64bit specify
if 64bit libraries are to be used
1376 --enable-debug turn on debugging
1377 --enable-purify link with Purify
(TM
)
1378 --enable-efence link with Electric Fence
1379 --enable-hpux-portable make HP-UX binaries portable
1380 --enable-orexx-binary-compatible enable binary compatibility with ORexx
1381 --disable-posix-threads disable POSIX-style multi-threading
1382 --disable-gci disable General Call Interface
1383 --enable-tracemem enable memory tracing
in debug mode
1384 --disable-flists disable memory management functions
1387 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1388 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1389 --with-dlfcnincdir location of dlfcn.h
1390 --with-dlfcnlibdir location of libdl.a
(AIX
) libdl.dylib
(MacOSX
)
1391 --with-socket=9999 socket to use
for external queues
(default
5757)
1392 --with-staticfunctions enable static linking of external
function packages
1393 --with-testpackage enable static linking with Regina
test external
function packages
1394 --with-regutil enable static linking with RegUtil external
function package
1395 --with-rexxcurses enable static linking with Rexx
/Curses external
function package
1396 --with-rexxtk enable static linking with Rexx
/Tk external
function package
1397 --with-rexxgd enable static linking with Rexx
/Gd external
function package
1398 --with-rexxcurl enable static linking with Rexx
/CURL external
function package
1399 --with-rexxsql enable static linking with Rexx
/SQL external
function package
1400 --with-rexxeec enable static linking with Rexx
/EEC external
function package
1401 --with-rexxisam enable static linking with Rexx
/ISAM external
function package
1402 --with-rxsock enable static linking with RxSock external
function package
1403 --with-rexxdw enable static linking with Rexx
/DW external
function package
1405 Some influential environment variables
:
1406 CC C compiler
command
1407 CFLAGS C compiler flags
1408 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1409 nonstandard directory
<lib dir
>
1410 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1411 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1412 you have headers
in a nonstandard directory
<include dir
>
1415 Use these variables to override the choices made by
`configure' or to help
1416 it to find libraries and programs with nonstandard names/locations.
1418 Report bugs to <mark@rexx.org>.
1423 if test "$ac_init_help" = "recursive"; then
1424 # If there are subdirs, report their specific --help.
1425 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1426 test -d "$ac_dir" || continue
1430 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1433 # A ".." for each directory in $ac_dir_suffix.
1434 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1435 case $ac_top_builddir_sub in
1436 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1437 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1440 ac_abs_top_builddir=$ac_pwd
1441 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1442 # for backward compatibility:
1443 ac_top_builddir=$ac_top_build_prefix
1446 .) # We are building in place.
1448 ac_top_srcdir=$ac_top_builddir_sub
1449 ac_abs_top_srcdir=$ac_pwd ;;
1450 [\\/]* | ?:[\\/]* ) # Absolute name.
1451 ac_srcdir=$srcdir$ac_dir_suffix;
1452 ac_top_srcdir=$srcdir
1453 ac_abs_top_srcdir=$srcdir ;;
1455 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1456 ac_top_srcdir=$ac_top_build_prefix$srcdir
1457 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1459 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1461 cd "$ac_dir" || { ac_status=$?; continue; }
1462 # Check for guested configure.
1463 if test -f "$ac_srcdir/configure.gnu"; then
1465 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1466 elif test -f "$ac_srcdir/configure"; then
1468 $SHELL "$ac_srcdir/configure" --help=recursive
1470 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1472 cd "$ac_pwd" || { ac_status=$?; break; }
1476 test -n "$ac_init_help" && exit $ac_status
1477 if $ac_init_version; then
1479 Regina REXX Interpreter configure ""
1480 generated by GNU Autoconf 2.61
1482 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1483 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1484 This configure script is free software; the Free Software Foundation
1485 gives unlimited permission to copy, distribute and modify it.
1489 cat >config.log <<_ACEOF
1490 This file contains any messages produced by compilers while
1491 running configure, to aid debugging if configure makes a mistake.
1493 It was created by Regina REXX Interpreter $as_me "", which was
1494 generated by GNU Autoconf 2.61. Invocation command line was
1506 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1507 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1508 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1509 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1510 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1512 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1513 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1515 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1516 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1517 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1518 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1519 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1520 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1521 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1529 test -z "$as_dir" && as_dir=.
1530 echo "PATH: $as_dir"
1546 # Keep a trace of the command line.
1547 # Strip out --no-create and --no-recursion so they do not pile up.
1548 # Strip out --silent because we don't want to record it for future runs.
1549 # Also quote any args containing shell meta-characters.
1550 # Make two passes to allow for proper duplicate-argument suppression.
1554 ac_must_keep_next=false
1560 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1561 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1562 | -silent | --silent | --silen | --sile | --sil)
1565 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1568 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1570 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1571 if test $ac_must_keep_next = true; then
1572 ac_must_keep_next=false # Got value, back to normal.
1575 *=* | --config-cache | -C | -disable-* | --disable-* \
1576 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1577 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1578 | -with-* | --with-* | -without-* | --without-* | --x)
1579 case "$ac_configure_args0 " in
1580 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1583 -* ) ac_must_keep_next=true ;;
1586 ac_configure_args="$ac_configure_args '$ac_arg'"
1591 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1592 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1594 # When interrupted or exit'd, cleanup temporary files, and complete
1595 # config.log. We remove comments because anyway the quotes in there
1596 # would cause problems or look ugly.
1597 # WARNING: Use '\'' to represent an apostrophe within the trap.
1598 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1599 trap 'exit_status=$?
1600 # Save into config.log some information that might help in debugging.
1605 ## ---------------- ##
1606 ## Cache variables. ##
1607 ## ---------------- ##
1610 # The following way of writing the cache mishandles newlines in values,
1612 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1613 eval ac_val=\$$ac_var
1617 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1618 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1621 _ | IFS | as_nl) ;; #(
1622 *) $as_unset $ac_var ;;
1627 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1628 *${as_nl}ac_space=\ *)
1630 "s/'\''/'\''\\\\'\'''\''/g;
1631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1642 ## ----------------- ##
1643 ## Output variables. ##
1644 ## ----------------- ##
1647 for ac_var in $ac_subst_vars
1649 eval ac_val=\$$ac_var
1651 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1653 echo "$ac_var='\''$ac_val'\''"
1657 if test -n "$ac_subst_files"; then
1659 ## ------------------- ##
1660 ## File substitutions. ##
1661 ## ------------------- ##
1664 for ac_var in $ac_subst_files
1666 eval ac_val=\$$ac_var
1668 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1670 echo "$ac_var='\''$ac_val'\''"
1675 if test -s confdefs.h; then
1685 test "$ac_signal" != 0 &&
1686 echo "$as_me: caught signal $ac_signal"
1687 echo "$as_me: exit $exit_status"
1689 rm -f core *.core core.conftest.* &&
1690 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1693 for ac_signal in 1 2 13 15; do
1694 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1699 rm -f -r conftest* confdefs.h
1701 # Predefined preprocessor variables.
1703 cat >>confdefs.h <<_ACEOF
1704 #define PACKAGE_NAME "$PACKAGE_NAME"
1708 cat >>confdefs.h <<_ACEOF
1709 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1713 cat >>confdefs.h <<_ACEOF
1714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1718 cat >>confdefs.h <<_ACEOF
1719 #define PACKAGE_STRING "$PACKAGE_STRING"
1723 cat >>confdefs.h <<_ACEOF
1724 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1728 # Let the site file select an alternate cache file if it wants to.
1729 # Prefer explicitly selected file to automatically selected ones.
1730 if test -n "$CONFIG_SITE"; then
1731 set x "$CONFIG_SITE"
1732 elif test "x$prefix" != xNONE; then
1733 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1735 set x "$ac_default_prefix/share/config.site" \
1736 "$ac_default_prefix/etc/config.site"
1741 if test -r "$ac_site_file"; then
1742 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1743 echo "$as_me: loading site script $ac_site_file" >&6;}
1744 sed 's/^/| /' "$ac_site_file" >&5
1749 if test -r "$cache_file"; then
1750 # Some versions of bash will fail to source /dev/null (special
1751 # files actually), so we avoid doing that.
1752 if test -f "$cache_file"; then
1753 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1754 echo "$as_me: loading cache $cache_file" >&6;}
1756 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1757 *) . "./$cache_file";;
1761 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1762 echo "$as_me: creating cache $cache_file" >&6;}
1766 # Check that the precious variables saved in the cache have kept the same
1768 ac_cache_corrupted=false
1769 for ac_var in $ac_precious_vars; do
1770 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1771 eval ac_new_set=\$ac_env_${ac_var}_set
1772 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1773 eval ac_new_val=\$ac_env_${ac_var}_value
1774 case $ac_old_set,$ac_new_set in
1776 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1777 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1778 ac_cache_corrupted=: ;;
1780 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1781 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1782 ac_cache_corrupted=: ;;
1785 if test "x$ac_old_val" != "x$ac_new_val"; then
1786 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1787 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1788 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1789 echo "$as_me: former value
: $ac_old_val" >&2;}
1790 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1791 echo "$as_me: current value
: $ac_new_val" >&2;}
1792 ac_cache_corrupted=:
1795 # Pass precious variables to config.status.
1796 if test "$ac_new_set" = set; then
1798 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1799 *) ac_arg=$ac_var=$ac_new_val ;;
1801 case " $ac_configure_args " in
1802 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1803 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1807 if $ac_cache_corrupted; then
1808 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1809 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1810 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1811 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1812 { (exit 1); exit 1; }; }
1840 ac_cpp='$CPP $CPPFLAGS'
1841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1848 . $srcdir/regina.ver
1849 VERSION_NODOT=\"$VER\"
1850 VERSION=\"$VER_DOT\"
1851 VER_DATE=\"$VER_DATE\"
1859 CC_LIST="xlC xlc gcc cc c89 acc"
1863 all_words="$CC_LIST"
1865 { echo "$as_me:$LINENO: checking for one of the following C compilers: $all_words" >&5
1866 echo $ECHO_N "checking for one of the following C compilers: $all_words... $ECHO_C" >&6; }
1867 if test "${ac_cv_prog_CC+set}" = set; then
1868 echo $ECHO_N "(cached) $ECHO_C" >&6
1871 if test -n "$CC"; then
1872 ac_cv_prog_CC="$CC" # Let the user override the test.
1874 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1875 for mh_cc in $all_words; do
1876 for ac_dir in $PATH; do
1877 test -z "$ac_dir" && ac_dir=.
1878 if test -f $ac_dir/$mh_cc; then
1879 ac_cv_prog_CC="$mh_cc"
1880 if test "$ac_dir" = "/usr/5bin"; then
1881 mh_sysv_incdir="/usr/5include"
1882 mh_sysv_libdir="/usr/5lib"
1889 test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc"
1896 if test "$ac_dir" = ""; then
1897 { echo "$as_me:$LINENO: result: using $ac_cv_prog_CC specified in CC env variable" >&5
1898 echo "${ECHO_T}using $ac_cv_prog_CC specified in CC env variable" >&6; }
1900 { echo "$as_me:$LINENO: result: using $ac_dir/$ac_cv_prog_CC" >&5
1901 echo "${ECHO_T}using $ac_dir/$ac_cv_prog_CC" >&6; }
1905 ac_config_headers="$ac_config_headers config.h"
1908 ac_cpp='$CPP $CPPFLAGS'
1909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1912 if test -n "$ac_tool_prefix"; then
1913 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1914 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1917 if test "${ac_cv_prog_CC+set}" = set; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1920 if test -n "$CC"; then
1921 ac_cv_prog_CC="$CC" # Let the user override the test.
1923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1927 test -z "$as_dir" && as_dir=.
1928 for ac_exec_ext in '' $ac_executable_extensions; do
1929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1930 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1941 if test -n "$CC"; then
1942 { echo "$as_me:$LINENO: result: $CC" >&5
1943 echo "${ECHO_T}$CC" >&6; }
1945 { echo "$as_me:$LINENO: result: no" >&5
1946 echo "${ECHO_T}no" >&6; }
1951 if test -z "$ac_cv_prog_CC"; then
1953 # Extract the first word of "gcc", so it can be a program name with args.
1954 set dummy gcc; ac_word=$2
1955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1957 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1958 echo $ECHO_N "(cached) $ECHO_C" >&6
1960 if test -n "$ac_ct_CC"; then
1961 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967 test -z "$as_dir" && as_dir=.
1968 for ac_exec_ext in '' $ac_executable_extensions; do
1969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1970 ac_cv_prog_ac_ct_CC="gcc"
1971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1980 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1981 if test -n "$ac_ct_CC"; then
1982 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1983 echo "${ECHO_T}$ac_ct_CC" >&6; }
1985 { echo "$as_me:$LINENO: result: no" >&5
1986 echo "${ECHO_T}no" >&6; }
1989 if test "x$ac_ct_CC" = x; then
1992 case $cross_compiling:$ac_tool_warned in
1994 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1995 whose name does not start with the host triplet. If you think this
1996 configuration is useful to you, please write to autoconf@gnu.org." >&5
1997 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1998 whose name does not start with the host triplet. If you think this
1999 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2000 ac_tool_warned=yes ;;
2008 if test -z "$CC"; then
2009 if test -n "$ac_tool_prefix"; then
2010 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2011 set dummy ${ac_tool_prefix}cc; ac_word=$2
2012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2014 if test "${ac_cv_prog_CC+set}" = set; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 if test -n "$CC"; then
2018 ac_cv_prog_CC="$CC" # Let the user override the test.
2020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2024 test -z "$as_dir" && as_dir=.
2025 for ac_exec_ext in '' $ac_executable_extensions; do
2026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2027 ac_cv_prog_CC="${ac_tool_prefix}cc"
2028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2038 if test -n "$CC"; then
2039 { echo "$as_me:$LINENO: result: $CC" >&5
2040 echo "${ECHO_T}$CC" >&6; }
2042 { echo "$as_me:$LINENO: result: no" >&5
2043 echo "${ECHO_T}no" >&6; }
2049 if test -z "$CC"; then
2050 # Extract the first word of "cc", so it can be a program name with args.
2051 set dummy cc; ac_word=$2
2052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2054 if test "${ac_cv_prog_CC+set}" = set; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2057 if test -n "$CC"; then
2058 ac_cv_prog_CC="$CC" # Let the user override the test.
2061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2065 test -z "$as_dir" && as_dir=.
2066 for ac_exec_ext in '' $ac_executable_extensions; do
2067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2068 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2069 ac_prog_rejected=yes
2073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 if test $ac_prog_rejected = yes; then
2081 # We found a bogon in the path, so make sure we never use it.
2082 set dummy $ac_cv_prog_CC
2084 if test $# != 0; then
2085 # We chose a different compiler from the bogus one.
2086 # However, it has the same basename, so the bogon will be chosen
2087 # first if we set CC to just the basename; use the full file name.
2089 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2095 if test -n "$CC"; then
2096 { echo "$as_me:$LINENO: result: $CC" >&5
2097 echo "${ECHO_T}$CC" >&6; }
2099 { echo "$as_me:$LINENO: result: no" >&5
2100 echo "${ECHO_T}no" >&6; }
2105 if test -z "$CC"; then
2106 if test -n "$ac_tool_prefix"; then
2107 for ac_prog in cl.exe
2109 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2110 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2113 if test "${ac_cv_prog_CC+set}" = set; then
2114 echo $ECHO_N "(cached) $ECHO_C" >&6
2116 if test -n "$CC"; then
2117 ac_cv_prog_CC="$CC" # Let the user override the test.
2119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123 test -z "$as_dir" && as_dir=.
2124 for ac_exec_ext in '' $ac_executable_extensions; do
2125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2126 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 if test -n "$CC"; then
2138 { echo "$as_me:$LINENO: result: $CC" >&5
2139 echo "${ECHO_T}$CC" >&6; }
2141 { echo "$as_me:$LINENO: result: no" >&5
2142 echo "${ECHO_T}no" >&6; }
2146 test -n "$CC" && break
2149 if test -z "$CC"; then
2151 for ac_prog in cl.exe
2153 # Extract the first word of "$ac_prog", so it can be a program name with args.
2154 set dummy $ac_prog; ac_word=$2
2155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2157 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 if test -n "$ac_ct_CC"; then
2161 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir=.
2168 for ac_exec_ext in '' $ac_executable_extensions; do
2169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2170 ac_cv_prog_ac_ct_CC="$ac_prog"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2181 if test -n "$ac_ct_CC"; then
2182 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2183 echo "${ECHO_T}$ac_ct_CC" >&6; }
2185 { echo "$as_me:$LINENO: result: no" >&5
2186 echo "${ECHO_T}no" >&6; }
2190 test -n "$ac_ct_CC" && break
2193 if test "x$ac_ct_CC" = x; then
2196 case $cross_compiling:$ac_tool_warned in
2198 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2199 whose name does not start with the host triplet. If you think this
2200 configuration is useful to you, please write to autoconf@gnu.org." >&5
2201 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2202 whose name does not start with the host triplet. If you think this
2203 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2204 ac_tool_warned=yes ;;
2213 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2214 See \`config.log
' for more details." >&5
2215 echo "$as_me: error: no acceptable C compiler found in \$PATH
2216 See \`config.log' for more details.
" >&2;}
2217 { (exit 1); exit 1; }; }
2219 # Provide some information about the compiler.
2220 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2221 ac_compiler=`set X $ac_compile; echo $2`
2222 { (ac_try="$ac_compiler --version >&5"
2224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2225 *) ac_try_echo=$ac_try;;
2227 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2228 (eval "$ac_compiler --version >&5") 2>&5
2230 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2231 (exit $ac_status); }
2232 { (ac_try="$ac_compiler -v >&5"
2234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2235 *) ac_try_echo=$ac_try;;
2237 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2238 (eval "$ac_compiler -v >&5") 2>&5
2240 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2241 (exit $ac_status); }
2242 { (ac_try="$ac_compiler -V >&5"
2244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2245 *) ac_try_echo=$ac_try;;
2247 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2248 (eval "$ac_compiler -V >&5") 2>&5
2250 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2251 (exit $ac_status); }
2253 cat >conftest.$ac_ext <<_ACEOF
2256 cat confdefs.h >>conftest.$ac_ext
2257 cat >>conftest.$ac_ext <<_ACEOF
2258 /* end confdefs.h. */
2268 ac_clean_files_save=$ac_clean_files
2269 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2270 # Try to create an executable without -o first, disregard a.out.
2271 # It will help us diagnose broken compilers, and finding out an intuition
2273 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2274 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2275 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2277 # List of possible output files, starting from the most likely.
2278 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2279 # only as a last resort. b.out is created by i960 compilers.
2280 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2282 # The IRIX 6 linker writes into existing files which may not be
2283 # executable, retaining their permissions. Remove them first so a
2284 # subsequent execution test works.
2286 for ac_file in $ac_files
2289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2290 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2295 if { (ac_try="$ac_link_default"
2297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2298 *) ac_try_echo=$ac_try;;
2300 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2301 (eval "$ac_link_default") 2>&5
2303 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2304 (exit $ac_status); }; then
2305 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2306 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2307 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2308 # so that the user can short-circuit this test for compilers unknown to
2310 for ac_file in $ac_files ''
2312 test -f "$ac_file" || continue
2314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2317 # We found the default executable, but exeext='' is most
2321 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2323 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2325 # We set ac_cv_exeext here because the later test for it is not
2326 # safe: cross compilers may not add the suffix if given an `-o'
2327 # argument, so we may need to know it at that point already.
2328 # Even if this section looks crufty: it has the advantage of
2335 test "$ac_cv_exeext" = no && ac_cv_exeext=
2341 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2342 echo "${ECHO_T}$ac_file" >&6; }
2343 if test -z "$ac_file"; then
2344 echo "$as_me: failed program was
:" >&5
2345 sed 's/^/| /' conftest.$ac_ext >&5
2347 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2348 See \
`config.log' for more details." >&5
2349 echo "$as_me: error: C compiler cannot create executables
2350 See \`config.log
' for more details." >&2;}
2351 { (exit 77); exit 77; }; }
2354 ac_exeext=$ac_cv_exeext
2356 # Check that the compiler produces executables we can run. If not, either
2357 # the compiler is broken, or we cross compile.
2358 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2359 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2360 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2361 # If not cross compiling, check that we can run a simple program.
2362 if test "$cross_compiling" != yes; then
2363 if { ac_try='.
/$ac_file'
2364 { (case "(($ac_try" in
2365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2366 *) ac_try_echo=$ac_try;;
2368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2369 (eval "$ac_try") 2>&5
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }; }; then
2375 if test "$cross_compiling" = maybe; then
2378 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2379 If you meant to cross compile, use \`--host'.
2380 See \
`config.log' for more details." >&5
2381 echo "$as_me: error: cannot run C compiled programs.
2382 If you meant to cross compile, use \`--host'.
2383 See \`config.log' for more details.
" >&2;}
2384 { (exit 1); exit 1; }; }
2388 { echo "$as_me:$LINENO: result
: yes" >&5
2389 echo "${ECHO_T}yes" >&6; }
2391 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2392 ac_clean_files=$ac_clean_files_save
2393 # Check that the compiler produces executables we can run. If not, either
2394 # the compiler is broken, or we cross compile.
2395 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2396 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2397 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2398 echo "${ECHO_T}$cross_compiling" >&6; }
2400 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2401 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2402 if { (ac_try="$ac_link"
2404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2405 *) ac_try_echo=$ac_try;;
2407 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2408 (eval "$ac_link") 2>&5
2410 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2411 (exit $ac_status); }; then
2412 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2413 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2414 # work properly (i.e., refer to `conftest.exe'), while it won't with
2416 for ac_file in conftest.exe conftest conftest.*; do
2417 test -f "$ac_file" || continue
2419 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2420 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2426 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2427 See \
`config.log' for more details." >&5
2428 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2429 See \`config.log
' for more details." >&2;}
2430 { (exit 1); exit 1; }; }
2433 rm -f conftest$ac_cv_exeext
2434 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2435 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2437 rm -f conftest.$ac_ext
2438 EXEEXT=$ac_cv_exeext
2440 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2441 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2442 if test "${ac_cv_objext+set}" = set; then
2443 echo $ECHO_N "(cached) $ECHO_C" >&6
2445 cat >conftest.$ac_ext <<_ACEOF
2448 cat confdefs.h >>conftest.$ac_ext
2449 cat >>conftest.$ac_ext <<_ACEOF
2450 /* end confdefs.h. */
2460 rm -f conftest.o conftest.obj
2461 if { (ac_try="$ac_compile"
2463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2464 *) ac_try_echo=$ac_try;;
2466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2467 (eval "$ac_compile") 2>&5
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); }; then
2471 for ac_file in conftest.o conftest.obj conftest.*; do
2472 test -f "$ac_file" || continue;
2474 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2475 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2480 echo "$as_me: failed program was:" >&5
2481 sed 's
/^
/|
/' conftest.$ac_ext >&5
2483 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2484 See \`config.log' for more details.
" >&5
2485 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2486 See \
`config.log' for more details." >&2;}
2487 { (exit 1); exit 1; }; }
2490 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2492 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2493 echo "${ECHO_T}$ac_cv_objext" >&6; }
2494 OBJEXT=$ac_cv_objext
2496 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2497 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2498 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2499 echo $ECHO_N "(cached) $ECHO_C" >&6
2501 cat >conftest.$ac_ext <<_ACEOF
2504 cat confdefs.h >>conftest.$ac_ext
2505 cat >>conftest.$ac_ext <<_ACEOF
2506 /* end confdefs.h. */
2519 rm -f conftest.$ac_objext
2520 if { (ac_try="$ac_compile"
2522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2523 *) ac_try_echo
=$ac_try;;
2525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2526 (eval "$ac_compile") 2>conftest.er1
2528 grep -v '^ *+' conftest.er1
>conftest.err
2530 cat conftest.err
>&5
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); } && {
2533 test -z "$ac_c_werror_flag" ||
2534 test ! -s conftest.err
2535 } && test -s conftest.
$ac_objext; then
2538 echo "$as_me: failed program was:" >&5
2539 sed 's/^/| /' conftest.
$ac_ext >&5
2544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2545 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2548 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2549 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2550 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2551 ac_test_CFLAGS
=${CFLAGS+set}
2552 ac_save_CFLAGS
=$CFLAGS
2553 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2554 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2555 if test "${ac_cv_prog_cc_g+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2558 ac_save_c_werror_flag
=$ac_c_werror_flag
2559 ac_c_werror_flag
=yes
2562 cat >conftest.
$ac_ext <<_ACEOF
2565 cat confdefs.h
>>conftest.
$ac_ext
2566 cat >>conftest.
$ac_ext <<_ACEOF
2567 /* end confdefs.h. */
2577 rm -f conftest.
$ac_objext
2578 if { (ac_try
="$ac_compile"
2580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2584 (eval "$ac_compile") 2>conftest.er1
2586 grep -v '^ *+' conftest.er1 >conftest.err
2588 cat conftest.err >&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); } && {
2591 test -z "$ac_c_werror_flag" ||
2592 test ! -s conftest.err
2593 } && test -s conftest.$ac_objext; then
2596 echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.$ac_ext >&5
2600 cat >conftest.$ac_ext <<_ACEOF
2603 cat confdefs.h >>conftest.$ac_ext
2604 cat >>conftest.$ac_ext <<_ACEOF
2605 /* end confdefs.h. */
2615 rm -f conftest.$ac_objext
2616 if { (ac_try="$ac_compile"
2618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2619 *) ac_try_echo
=$ac_try;;
2621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2622 (eval "$ac_compile") 2>conftest.er1
2624 grep -v '^ *+' conftest.er1
>conftest.err
2626 cat conftest.err
>&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); } && {
2629 test -z "$ac_c_werror_flag" ||
2630 test ! -s conftest.err
2631 } && test -s conftest.
$ac_objext; then
2634 echo "$as_me: failed program was:" >&5
2635 sed 's/^/| /' conftest.
$ac_ext >&5
2637 ac_c_werror_flag
=$ac_save_c_werror_flag
2639 cat >conftest.
$ac_ext <<_ACEOF
2642 cat confdefs.h
>>conftest.
$ac_ext
2643 cat >>conftest.
$ac_ext <<_ACEOF
2644 /* end confdefs.h. */
2654 rm -f conftest.
$ac_objext
2655 if { (ac_try
="$ac_compile"
2657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2658 *) ac_try_echo=$ac_try;;
2660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2661 (eval "$ac_compile") 2>conftest.er1
2663 grep -v '^ *+' conftest.er1 >conftest.err
2665 cat conftest.err >&5
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); } && {
2668 test -z "$ac_c_werror_flag" ||
2669 test ! -s conftest.err
2670 } && test -s conftest.$ac_objext; then
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2686 ac_c_werror_flag=$ac_save_c_werror_flag
2688 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2689 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2690 if test "$ac_test_CFLAGS" = set; then
2691 CFLAGS=$ac_save_CFLAGS
2692 elif test $ac_cv_prog_cc_g = yes; then
2693 if test "$GCC" = yes; then
2699 if test "$GCC" = yes; then
2705 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2706 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2707 if test "${ac_cv_prog_cc_c89+set}" = set; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 ac_cv_prog_cc_c89=no
2712 cat >conftest.$ac_ext <<_ACEOF
2715 cat confdefs.h >>conftest.$ac_ext
2716 cat >>conftest.$ac_ext <<_ACEOF
2717 /* end confdefs.h. */
2720 #include <sys/types.h>
2721 #include <sys/stat.h>
2722 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2723 struct buf { int x; };
2724 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2725 static char *e (p, i)
2731 static char *f (char * (*g) (char **, int), char **p, ...)
2736 s = g (p, va_arg (v,int));
2741 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2742 function prototypes and stuff, but not '\xHH' hex character constants.
2743 These don't provoke an error unfortunately, instead are silently treated
2744 as 'x'. The following induces an error, until -std is added to get
2745 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2746 array size at least. It's necessary to write '\x00'==0 to get something
2747 that's true only with -std. */
2748 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2750 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2751 inside strings and character constants. */
2753 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2755 int test (int i, double x);
2756 struct s1 {int (*f) (int a);};
2757 struct s2 {int (*f) (double a);};
2758 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2764 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2769 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2770 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2772 CC="$ac_save_CC $ac_arg"
2773 rm -f conftest.$ac_objext
2774 if { (ac_try="$ac_compile"
2776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2777 *) ac_try_echo
=$ac_try;;
2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_compile") 2>conftest.er1
2782 grep -v '^ *+' conftest.er1
>conftest.err
2784 cat conftest.err
>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); } && {
2787 test -z "$ac_c_werror_flag" ||
2788 test ! -s conftest.err
2789 } && test -s conftest.
$ac_objext; then
2790 ac_cv_prog_cc_c89
=$ac_arg
2792 echo "$as_me: failed program was:" >&5
2793 sed 's/^/| /' conftest.
$ac_ext >&5
2798 rm -f core conftest.err conftest.
$ac_objext
2799 test "x$ac_cv_prog_cc_c89" != "xno" && break
2801 rm -f conftest.
$ac_ext
2806 case "x$ac_cv_prog_cc_c89" in
2808 { echo "$as_me:$LINENO: result: none needed" >&5
2809 echo "${ECHO_T}none needed" >&6; } ;;
2811 { echo "$as_me:$LINENO: result: unsupported" >&5
2812 echo "${ECHO_T}unsupported" >&6; } ;;
2814 CC
="$CC $ac_cv_prog_cc_c89"
2815 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2816 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2821 ac_cpp
='$CPP $CPPFLAGS'
2822 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2823 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2824 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2827 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
2828 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
2829 if test "${ac_cv_search_strerror+set}" = set; then
2830 echo $ECHO_N "(cached) $ECHO_C" >&6
2832 ac_func_search_save_LIBS
=$LIBS
2833 cat >conftest.
$ac_ext <<_ACEOF
2836 cat confdefs.h
>>conftest.
$ac_ext
2837 cat >>conftest.
$ac_ext <<_ACEOF
2838 /* end confdefs.h. */
2840 /* Override any GCC internal prototype to avoid an error.
2841 Use char because int might match the return type of a GCC
2842 builtin and then its argument prototype would still apply. */
2855 for ac_lib
in '' cposix
; do
2856 if test -z "$ac_lib"; then
2857 ac_res
="none required"
2860 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2862 rm -f conftest.
$ac_objext conftest
$ac_exeext
2863 if { (ac_try
="$ac_link"
2865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2866 *) ac_try_echo=$ac_try;;
2868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2869 (eval "$ac_link") 2>conftest.er1
2871 grep -v '^ *+' conftest.er1 >conftest.err
2873 cat conftest.err >&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); } && {
2876 test -z "$ac_c_werror_flag" ||
2877 test ! -s conftest.err
2878 } && test -s conftest$ac_exeext &&
2879 $as_test_x conftest$ac_exeext; then
2880 ac_cv_search_strerror=$ac_res
2882 echo "$as_me: failed program was:" >&5
2883 sed 's/^/| /' conftest.$ac_ext >&5
2888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2890 if test "${ac_cv_search_strerror+set}" = set; then
2894 if test "${ac_cv_search_strerror+set}" = set; then
2897 ac_cv_search_strerror=no
2900 LIBS=$ac_func_search_save_LIBS
2902 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2903 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
2904 ac_res=$ac_cv_search_strerror
2905 if test "$ac_res" != no; then
2906 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2912 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2913 if test -f "$ac_dir/install-sh"; then
2915 ac_install_sh="$ac_aux_dir/install-sh -c"
2917 elif test -f "$ac_dir/install.sh"; then
2919 ac_install_sh="$ac_aux_dir/install.sh -c"
2921 elif test -f "$ac_dir/shtool"; then
2923 ac_install_sh="$ac_aux_dir/shtool install -c"
2927 if test -z "$ac_aux_dir"; then
2928 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2929 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2930 { (exit 1); exit 1; }; }
2933 # These three variables are undocumented and unsupported,
2934 # and are intended to be withdrawn in a future Autoconf release.
2935 # They can cause serious problems if a builder's source tree is in a directory
2936 # whose full name contains unusual characters.
2937 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2938 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2939 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2942 # Make sure we can run config.sub.
2943 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2944 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2945 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2946 { (exit 1); exit 1; }; }
2948 { echo "$as_me:$LINENO: checking build system type" >&5
2949 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2950 if test "${ac_cv_build+set}" = set; then
2951 echo $ECHO_N "(cached) $ECHO_C" >&6
2953 ac_build_alias=$build_alias
2954 test "x$ac_build_alias" = x &&
2955 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2956 test "x$ac_build_alias" = x &&
2957 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2958 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2959 { (exit 1); exit 1; }; }
2960 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2961 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2962 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2963 { (exit 1); exit 1; }; }
2966 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2967 echo "${ECHO_T}$ac_cv_build" >&6; }
2968 case $ac_cv_build in
2970 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2971 echo "$as_me: error: invalid value of canonical build" >&2;}
2972 { (exit 1); exit 1; }; };;
2975 ac_save_IFS=$IFS; IFS='-'
2981 # Remember, the first character of IFS is used to create $*,
2982 # except with old shells:
2985 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2988 { echo "$as_me:$LINENO: checking host system type" >&5
2989 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2990 if test "${ac_cv_host+set}" = set; then
2991 echo $ECHO_N "(cached) $ECHO_C" >&6
2993 if test "x$host_alias" = x; then
2994 ac_cv_host=$ac_cv_build
2996 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2997 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2998 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2999 { (exit 1); exit 1; }; }
3003 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3004 echo "${ECHO_T}$ac_cv_host" >&6; }
3007 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3008 echo "$as_me: error: invalid value of canonical host" >&2;}
3009 { (exit 1); exit 1; }; };;
3012 ac_save_IFS=$IFS; IFS='-'
3018 # Remember, the first character of IFS is used to create $*,
3019 # except with old shells:
3022 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3025 { echo "$as_me:$LINENO: checking target system type" >&5
3026 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
3027 if test "${ac_cv_target+set}" = set; then
3028 echo $ECHO_N "(cached) $ECHO_C" >&6
3030 if test "x$target_alias" = x; then
3031 ac_cv_target=$ac_cv_host
3033 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3034 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
3035 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
3036 { (exit 1); exit 1; }; }
3040 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
3041 echo "${ECHO_T}$ac_cv_target" >&6; }
3042 case $ac_cv_target in
3044 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
3045 echo "$as_me: error: invalid value of canonical target" >&2;}
3046 { (exit 1); exit 1; }; };;
3048 target=$ac_cv_target
3049 ac_save_IFS=$IFS; IFS='-'
3055 # Remember, the first character of IFS is used to create $*,
3056 # except with old shells:
3059 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
3062 # The aliases save the names the user supplied, while $host etc.
3063 # will get canonicalized.
3064 test -n "$target_alias" &&
3065 test "$program_prefix$program_suffix$program_transform_name" = \
3067 program_prefix=${target_alias}-
3069 mymakefile="Makefile"
3073 GCI_CONVERT_HEADER="gci_convert.unsupported"
3076 SYS_DEFS="-D_HPUX_SOURCE"
3079 SYS_DEFS="-D_ALL_SOURCE"
3080 # mymakefile="Makefile.aix"
3083 { echo "$as_me:$LINENO: checking for which Mac OSX -arch flags are supported" >&5
3084 echo $ECHO_N "checking for which Mac OSX -arch flags are supported... $ECHO_C" >&6; }
3087 arch_flags="ppc ppc64 x86_64 i386"
3088 for a in $arch_flags; do
3089 save_ldflags="$LDFLAGS"
3090 LDFLAGS="$LDFLAGS -arch $a"
3091 cat >conftest.$ac_ext <<_ACEOF
3094 cat confdefs.h >>conftest.$ac_ext
3095 cat >>conftest.$ac_ext <<_ACEOF
3096 /* end confdefs.h. */
3106 rm -f conftest.$ac_objext conftest$ac_exeext
3107 if { (ac_try="$ac_link"
3109 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3110 *) ac_try_echo
=$ac_try;;
3112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3113 (eval "$ac_link") 2>conftest.er1
3115 grep -v '^ *+' conftest.er1
>conftest.err
3117 cat conftest.err
>&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); } && {
3120 test -z "$ac_c_werror_flag" ||
3121 test ! -s conftest.err
3122 } && test -s conftest
$ac_exeext &&
3123 $as_test_x conftest
$ac_exeext; then
3124 valid_arch_flags
="$valid_arch_flags -arch $a";found_arch_flags
="$found_arch_flags $a"
3126 echo "$as_me: failed program was:" >&5
3127 sed 's/^/| /' conftest.
$ac_ext >&5
3133 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3134 conftest
$ac_exeext conftest.
$ac_ext
3135 LDFLAGS
="$save_ldflags"
3137 { echo "$as_me:$LINENO: result: $found_arch_flags" >&5
3138 echo "${ECHO_T}$found_arch_flags" >&6; }
3141 SYS_DEFS
="$valid_arch_flags"
3142 EEXTRA
="$valid_arch_flags"
3149 GCI_CONVERT_HEADER
="gci_convert.solaris.i86"
3153 GCI_CONVERT_HEADER
="gci_convert.solaris.sparc"
3159 GCI_CONVERT_HEADER
="gci_convert.linux.i86"
3163 GCI_CONVERT_HEADER
="gci_convert.linux.86_64"
3167 GCI_CONVERT_HEADER
="gci_convert.linux.alpha"
3171 GCI_CONVERT_HEADER
="gci_convert.linux.powerpc64"
3175 GCI_CONVERT_HEADER
="gci_convert.cygwin.i86"
3197 rc
=`lsconf -k | grep -c 64-bit`
3198 if test $rc -eq 1; then
3212 rc
=`isainfo -v | grep -c 64-bit`
3213 if test $rc -eq 1; then
3222 if test "$mach" = "x86_64" -o "$mach" = "ia86" -o "$mach" = "alpha" -o "$mach" = "ppc64"; then
3237 # Check whether --enable-32bit was given.
3238 if test "${enable_32bit+set}" = set; then
3239 enableval
=$enable_32bit; bitflag32
=yes
3244 # Check whether --enable-64bit was given.
3245 if test "${enable_64bit+set}" = set; then
3246 enableval
=$enable_64bit; bitflag64
=yes
3252 if test "x$bitflag32" = "xyes" -a "x$bitflag64" = "xyes"; then
3253 { { echo "$as_me:$LINENO: error: --enable-32bit and --enable-64bit flags cannot both be specified." >&5
3254 echo "$as_me: error: --enable-32bit and --enable-64bit flags cannot both be specified." >&2;}
3255 { (exit 1); exit 1; }; }
3258 if test "x$bitflag64" = "xyes" -a "$osis64bit" = "no"; then
3259 { { echo "$as_me:$LINENO: error: --enable-64bit cannot be specified on non-64bit OS." >&5
3260 echo "$as_me: error: --enable-64bit cannot be specified on non-64bit OS." >&2;}
3261 { (exit 1); exit 1; }; }
3265 if test "x$bitflag32" = "xyes"; then
3267 if test "$osis64bit" = "yes"; then
3268 binarybitprefix
="32"
3270 elif test "x$bitflag64" = "xyes"; then
3275 if test "$ac_cv_prog_CC" = "gcc" -o "$ac_cv_prog_CC" = "g++"; then
3276 if test "$bitflag" = "32"; then
3277 CFLAGS
="${CFLAGS} -m32"
3278 LDFLAGS
="${LDFLAGS} -m32"
3279 elif test "$bitflag" = "64"; then
3280 CFLAGS
="${CFLAGS} -m64"
3281 LDFLAGS
="${LDFLAGS} -m64"
3285 elif test "$ac_cv_prog_CC" = "xlc" -o "$ac_cv_prog_CC" = "xlC"; then
3286 if test "$bitflag" = "32"; then
3287 CFLAGS
="${CFLAGS} -q32"
3288 LDFLAGS
="${LDFLAGS} -q32"
3289 elif test "$bitflag" = "64"; then
3290 CFLAGS
="${CFLAGS} -q64"
3291 LDFLAGS
="${LDFLAGS} -q64"
3297 if test "$libdir" = '${exec_prefix}/lib'; then
3298 if test "$osis64bit" = "yes"; then
3299 if test -d "/usr/lib64"; then
3300 libdir64
='${exec_prefix}/lib64'
3301 libdir32
='${exec_prefix}/lib'
3302 elif test -d "/usr/lib32"; then
3303 libdir32
='${exec_prefix}/lib32'
3304 libdir64
='${exec_prefix}/lib'
3306 libdir64
='${exec_prefix}/lib64'
3307 libdir32
='${exec_prefix}/lib'
3310 libdir64
='${exec_prefix}/lib'
3311 libdir32
='${exec_prefix}/lib'
3313 if test "$bitflag" = "64"; then
3332 for mh_lib
in dld dl
; do
3333 if test "$on_qnx4" = yes -a "$ac_cv_prog_CC" != "gcc"; then
3334 { echo "$as_me:$LINENO: checking for library -l${mh_lib}" >&5
3335 echo $ECHO_N "checking for library -l${mh_lib}... $ECHO_C" >&6; }
3336 if test -r /usr
/lib
/${mh_lib}3r.lib
; then
3337 { echo "$as_me:$LINENO: result: found" >&5
3338 echo "${ECHO_T}found" >&6; }
3339 MH_EXTRA_LIBS
="${MH_EXTRA_LIBS} -l${mh_lib}"
3341 { echo "$as_me:$LINENO: result: not found" >&5
3342 echo "${ECHO_T}not found" >&6; }
3345 as_ac_Lib
=`echo "ac_cv_lib_$mh_lib''_main" | $as_tr_sh`
3346 { echo "$as_me:$LINENO: checking for main in -l$mh_lib" >&5
3347 echo $ECHO_N "checking for main in -l$mh_lib... $ECHO_C" >&6; }
3348 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
3349 echo $ECHO_N "(cached) $ECHO_C" >&6
3351 ac_check_lib_save_LIBS
=$LIBS
3352 LIBS
="-l$mh_lib $LIBS"
3353 cat >conftest.
$ac_ext <<_ACEOF
3356 cat confdefs.h
>>conftest.
$ac_ext
3357 cat >>conftest.
$ac_ext <<_ACEOF
3358 /* end confdefs.h. */
3369 rm -f conftest.
$ac_objext conftest
$ac_exeext
3370 if { (ac_try
="$ac_link"
3372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3373 *) ac_try_echo=$ac_try;;
3375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3376 (eval "$ac_link") 2>conftest.er1
3378 grep -v '^ *+' conftest.er1 >conftest.err
3380 cat conftest.err >&5
3381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382 (exit $ac_status); } && {
3383 test -z "$ac_c_werror_flag" ||
3384 test ! -s conftest.err
3385 } && test -s conftest$ac_exeext &&
3386 $as_test_x conftest$ac_exeext; then
3387 eval "$as_ac_Lib=yes"
3389 echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.$ac_ext >&5
3392 eval "$as_ac_Lib=no"
3395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3396 conftest$ac_exeext conftest.$ac_ext
3397 LIBS=$ac_check_lib_save_LIBS
3399 ac_res=`eval echo '${'$as_ac_Lib'}'`
3400 { echo "$as_me:$LINENO: result: $ac_res" >&5
3401 echo "${ECHO_T}$ac_res" >&6; }
3402 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
3408 if test "$mh_lib_found" = yes; then
3409 MH_EXTRA_LIBS="${MH_EXTRA_LIBS} -l${mh_lib}"
3414 SHLIBS="${MH_EXTRA_LIBS}"
3419 for mh_lib in m nsl nsl_s socket net; do
3420 if test "$on_qnx4" = yes -a "$ac_cv_prog_CC" != "gcc"; then
3421 { echo "$as_me:$LINENO: checking for library -l${mh_lib}" >&5
3422 echo $ECHO_N "checking for library -l${mh_lib}... $ECHO_C" >&6; }
3423 if test -r /usr/lib/${mh_lib}3r.lib; then
3424 { echo "$as_me:$LINENO: result: found" >&5
3425 echo "${ECHO_T}found" >&6; }
3426 MH_EXTRA_LIBS="${MH_EXTRA_LIBS} -l${mh_lib}"
3428 { echo "$as_me:$LINENO: result: not found" >&5
3429 echo "${ECHO_T}not found" >&6; }
3432 as_ac_Lib=`echo "ac_cv_lib_$mh_lib''_main" |
$as_tr_sh`
3433 { echo "$as_me:$LINENO: checking for main in -l$mh_lib" >&5
3434 echo $ECHO_N "checking for main in -l$mh_lib... $ECHO_C" >&6; }
3435 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
3436 echo $ECHO_N "(cached) $ECHO_C" >&6
3438 ac_check_lib_save_LIBS=$LIBS
3439 LIBS="-l$mh_lib $LIBS"
3440 cat >conftest.$ac_ext <<_ACEOF
3443 cat confdefs.h >>conftest.$ac_ext
3444 cat >>conftest.$ac_ext <<_ACEOF
3445 /* end confdefs.h. */
3456 rm -f conftest.$ac_objext conftest$ac_exeext
3457 if { (ac_try="$ac_link"
3459 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3460 *) ac_try_echo
=$ac_try;;
3462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3463 (eval "$ac_link") 2>conftest.er1
3465 grep -v '^ *+' conftest.er1
>conftest.err
3467 cat conftest.err
>&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); } && {
3470 test -z "$ac_c_werror_flag" ||
3471 test ! -s conftest.err
3472 } && test -s conftest
$ac_exeext &&
3473 $as_test_x conftest
$ac_exeext; then
3474 eval "$as_ac_Lib=yes"
3476 echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.
$ac_ext >&5
3479 eval "$as_ac_Lib=no"
3482 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3483 conftest
$ac_exeext conftest.
$ac_ext
3484 LIBS
=$ac_check_lib_save_LIBS
3486 ac_res
=`eval echo '${'$as_ac_Lib'}'`
3487 { echo "$as_me:$LINENO: result: $ac_res" >&5
3488 echo "${ECHO_T}$ac_res" >&6; }
3489 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
3495 if test "$mh_lib_found" = yes; then
3496 MH_EXTRA_LIBS
="${MH_EXTRA_LIBS} -l${mh_lib}"
3502 mh_save_libs
="$LIBS"
3504 if test "$on_qnx4" = no
; then
3505 { echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
3506 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
3507 if test "${ac_cv_lib_crypt_main+set}" = set; then
3508 echo $ECHO_N "(cached) $ECHO_C" >&6
3510 ac_check_lib_save_LIBS
=$LIBS
3511 LIBS
="-lcrypt $LIBS"
3512 cat >conftest.
$ac_ext <<_ACEOF
3515 cat confdefs.h
>>conftest.
$ac_ext
3516 cat >>conftest.
$ac_ext <<_ACEOF
3517 /* end confdefs.h. */
3528 rm -f conftest.
$ac_objext conftest
$ac_exeext
3529 if { (ac_try
="$ac_link"
3531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3532 *) ac_try_echo=$ac_try;;
3534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3535 (eval "$ac_link") 2>conftest.er1
3537 grep -v '^ *+' conftest.er1 >conftest.err
3539 cat conftest.err >&5
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); } && {
3542 test -z "$ac_c_werror_flag" ||
3543 test ! -s conftest.err
3544 } && test -s conftest$ac_exeext &&
3545 $as_test_x conftest$ac_exeext; then
3546 ac_cv_lib_crypt_main=yes
3548 echo "$as_me: failed program was:" >&5
3549 sed 's/^/| /' conftest.$ac_ext >&5
3551 ac_cv_lib_crypt_main=no
3554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3555 conftest$ac_exeext conftest.$ac_ext
3556 LIBS=$ac_check_lib_save_LIBS
3558 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
3559 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }
3560 if test $ac_cv_lib_crypt_main = yes; then
3566 if test "$mh_crypt_found" = yes; then
3567 LIBS="${LIBS} -lcrypt"
3571 { echo "$as_me:$LINENO: checking for crypt function" >&5
3572 echo $ECHO_N "checking for crypt function... $ECHO_C" >&6; }
3574 if test "${mh_cv_func_crypt+set}" = set; then
3575 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 cat >conftest.$ac_ext <<_ACEOF
3581 cat confdefs.h >>conftest.$ac_ext
3582 cat >>conftest.$ac_ext <<_ACEOF
3583 /* end confdefs.h. */
3593 rm -f conftest.$ac_objext conftest$ac_exeext
3594 if { (ac_try="$ac_link"
3596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3597 *) ac_try_echo
=$ac_try;;
3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3600 (eval "$ac_link") 2>conftest.er1
3602 grep -v '^ *+' conftest.er1
>conftest.err
3604 cat conftest.err
>&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } && {
3607 test -z "$ac_c_werror_flag" ||
3608 test ! -s conftest.err
3609 } && test -s conftest
$ac_exeext &&
3610 $as_test_x conftest
$ac_exeext; then
3611 mh_cv_func_crypt
=yes
3613 echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.
$ac_ext >&5
3620 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3621 conftest
$ac_exeext conftest.
$ac_ext
3624 { echo "$as_me:$LINENO: result: $mh_cv_func_crypt" >&5
3625 echo "${ECHO_T}$mh_cv_func_crypt" >&6; }
3626 if test "$mh_cv_func_crypt" = yes ; then
3627 cat >>confdefs.h
<<\_ACEOF
3628 #define HAVE_CRYPT 1
3631 if test "$mh_crypt_found" = yes; then
3632 MH_EXTRA_LIBS
="${MH_EXTRA_LIBS} -lcrypt"
3636 LIBS
="$mh_save_libs"
3639 if test "$on_qnx4" = "no"; then
3640 for ac_prog
in flex
lex
3642 # Extract the first word of "$ac_prog", so it can be a program name with args.
3643 set dummy
$ac_prog; ac_word
=$2
3644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3646 if test "${ac_cv_prog_LEX+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 if test -n "$LEX"; then
3650 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
3652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3656 test -z "$as_dir" && as_dir
=.
3657 for ac_exec_ext
in '' $ac_executable_extensions; do
3658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3659 ac_cv_prog_LEX
="$ac_prog"
3660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3670 if test -n "$LEX"; then
3671 { echo "$as_me:$LINENO: result: $LEX" >&5
3672 echo "${ECHO_T}$LEX" >&6; }
3674 { echo "$as_me:$LINENO: result: no" >&5
3675 echo "${ECHO_T}no" >&6; }
3679 test -n "$LEX" && break
3681 test -n "$LEX" || LEX
=":"
3683 if test "x$LEX" != "x:"; then
3684 cat >conftest.l
<<_ACEOF
3690 e { yyless (input () != 0); }
3691 f { unput (yytext[0]); }
3692 . { BEGIN INITIAL; }
3694 #ifdef YYTEXT_POINTER
3695 extern char *yytext;
3700 return ! yylex () + ! yywrap ();
3703 { (ac_try
="$LEX conftest.l"
3705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3706 *) ac_try_echo=$ac_try;;
3708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3709 (eval "$LEX conftest.l") 2>&5
3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 (exit $ac_status); }
3713 { echo "$as_me:$LINENO: checking lex output file root" >&5
3714 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
3715 if test "${ac_cv_prog_lex_root+set}" = set; then
3716 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 if test -f lex.yy.c; then
3720 ac_cv_prog_lex_root=lex.yy
3721 elif test -f lexyy.c; then
3722 ac_cv_prog_lex_root=lexyy
3724 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3725 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3726 { (exit 1); exit 1; }; }
3729 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3730 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
3731 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3733 if test -z "${LEXLIB+set}"; then
3734 { echo "$as_me:$LINENO: checking lex library" >&5
3735 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
3736 if test "${ac_cv_lib_lex+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 ac_cv_lib_lex='none needed'
3742 for ac_lib in '' -lfl -ll; do
3743 LIBS="$ac_lib $ac_save_LIBS"
3744 cat >conftest.$ac_ext <<_ACEOF
3745 `cat $LEX_OUTPUT_ROOT.c
`
3747 rm -f conftest.$ac_objext conftest$ac_exeext
3748 if { (ac_try="$ac_link"
3750 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3751 *) ac_try_echo
=$ac_try;;
3753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3754 (eval "$ac_link") 2>conftest.er1
3756 grep -v '^ *+' conftest.er1
>conftest.err
3758 cat conftest.err
>&5
3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); } && {
3761 test -z "$ac_c_werror_flag" ||
3762 test ! -s conftest.err
3763 } && test -s conftest
$ac_exeext &&
3764 $as_test_x conftest
$ac_exeext; then
3765 ac_cv_lib_lex
=$ac_lib
3767 echo "$as_me: failed program was:" >&5
3768 sed 's/^/| /' conftest.
$ac_ext >&5
3773 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3774 conftest
$ac_exeext conftest.
$ac_ext
3775 test "$ac_cv_lib_lex" != 'none needed' && break
3780 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
3781 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
3782 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB
=$ac_cv_lib_lex
3786 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3787 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
3788 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3789 echo $ECHO_N "(cached) $ECHO_C" >&6
3791 # POSIX says lex can declare yytext either as a pointer or an array; the
3792 # default is implementation-dependent. Figure out which it is, since
3793 # not all implementations provide the %pointer and %array declarations.
3794 ac_cv_prog_lex_yytext_pointer
=no
3796 LIBS
="$LEXLIB $ac_save_LIBS"
3797 cat >conftest.
$ac_ext <<_ACEOF
3798 #define YYTEXT_POINTER 1
3799 `cat $LEX_OUTPUT_ROOT.c`
3801 rm -f conftest.
$ac_objext conftest
$ac_exeext
3802 if { (ac_try
="$ac_link"
3804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3805 *) ac_try_echo=$ac_try;;
3807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3808 (eval "$ac_link") 2>conftest.er1
3810 grep -v '^ *+' conftest.er1 >conftest.err
3812 cat conftest.err >&5
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); } && {
3815 test -z "$ac_c_werror_flag" ||
3816 test ! -s conftest.err
3817 } && test -s conftest$ac_exeext &&
3818 $as_test_x conftest$ac_exeext; then
3819 ac_cv_prog_lex_yytext_pointer=yes
3821 echo "$as_me: failed program was:" >&5
3822 sed 's/^/| /' conftest.$ac_ext >&5
3827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3828 conftest$ac_exeext conftest.$ac_ext
3832 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3833 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
3834 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3836 cat >>confdefs.h <<\_ACEOF
3837 #define YYTEXT_POINTER 1
3841 rm -f conftest.l $LEX_OUTPUT_ROOT.c
3845 BOTHLIBS="${LEXLIB} ${MH_EXTRA_LIBS}"
3848 { echo "$as_me:$LINENO: checking if compiler supports ANSI prototypes" >&5
3849 echo $ECHO_N "checking if compiler supports ANSI prototypes... $ECHO_C" >&6; }
3850 ac_compile='$ac_cv_prog_CC conftest.$ac_ext $CFLAGS $CPPFLAGS -c 1>&5 2>&5'
3851 cat >conftest.$ac_ext <<_ACEOF
3854 cat confdefs.h >>conftest.$ac_ext
3855 cat >>conftest.$ac_ext <<_ACEOF
3856 /* end confdefs.h. */
3861 extern int xxx(int, char *);
3866 rm -f conftest.$ac_objext
3867 if { (ac_try="$ac_compile"
3869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3870 *) ac_try_echo
=$ac_try;;
3872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3873 (eval "$ac_compile") 2>conftest.er1
3875 grep -v '^ *+' conftest.er1
>conftest.err
3877 cat conftest.err
>&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); } && {
3880 test -z "$ac_c_werror_flag" ||
3881 test ! -s conftest.err
3882 } && test -s conftest.
$ac_objext; then
3883 mh_have_proto
=yes; cat >>confdefs.h
<<\_ACEOF
3884 #define HAVE_PROTO 1
3888 echo "$as_me: failed program was:" >&5
3889 sed 's/^/| /' conftest.
$ac_ext >&5
3894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3895 { echo "$as_me:$LINENO: result: $mh_have_proto" >&5
3896 echo "${ECHO_T}$mh_have_proto" >&6; }
3898 if test "$mh_have_proto" = "no"; then
3899 { { echo "$as_me:$LINENO: error: Regina requires an ANSI compiler; cannot continue" >&5
3900 echo "$as_me: error: Regina requires an ANSI compiler; cannot continue" >&2;}
3901 { (exit 1); exit 1; }; }
3904 if test -n "$ac_tool_prefix"; then
3905 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3906 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3909 if test "${ac_cv_prog_RANLIB+set}" = set; then
3910 echo $ECHO_N "(cached) $ECHO_C" >&6
3912 if test -n "$RANLIB"; then
3913 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3919 test -z "$as_dir" && as_dir
=.
3920 for ac_exec_ext
in '' $ac_executable_extensions; do
3921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3922 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3932 RANLIB
=$ac_cv_prog_RANLIB
3933 if test -n "$RANLIB"; then
3934 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3935 echo "${ECHO_T}$RANLIB" >&6; }
3937 { echo "$as_me:$LINENO: result: no" >&5
3938 echo "${ECHO_T}no" >&6; }
3943 if test -z "$ac_cv_prog_RANLIB"; then
3944 ac_ct_RANLIB
=$RANLIB
3945 # Extract the first word of "ranlib", so it can be a program name with args.
3946 set dummy ranlib
; ac_word
=$2
3947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3949 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3952 if test -n "$ac_ct_RANLIB"; then
3953 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3959 test -z "$as_dir" && as_dir
=.
3960 for ac_exec_ext
in '' $ac_executable_extensions; do
3961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3962 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3972 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3973 if test -n "$ac_ct_RANLIB"; then
3974 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3975 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3977 { echo "$as_me:$LINENO: result: no" >&5
3978 echo "${ECHO_T}no" >&6; }
3981 if test "x$ac_ct_RANLIB" = x
; then
3984 case $cross_compiling:$ac_tool_warned in
3986 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3987 whose name does not start with the host triplet. If you think this
3988 configuration is useful to you, please write to autoconf@gnu.org." >&5
3989 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3990 whose name does not start with the host triplet. If you think this
3991 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3992 ac_tool_warned
=yes ;;
3994 RANLIB
=$ac_ct_RANLIB
3997 RANLIB
="$ac_cv_prog_RANLIB"
4001 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4002 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4004 if test "$LN_S" = "ln -s"; then
4005 { echo "$as_me:$LINENO: result: yes" >&5
4006 echo "${ECHO_T}yes" >&6; }
4008 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4009 echo "${ECHO_T}no, using $LN_S" >&6; }
4012 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4013 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4014 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4015 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4016 echo $ECHO_N "(cached) $ECHO_C" >&6
4018 cat >conftest.
make <<\_ACEOF
4021 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4023 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4024 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4026 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4028 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4032 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4033 { echo "$as_me:$LINENO: result: yes" >&5
4034 echo "${ECHO_T}yes" >&6; }
4037 { echo "$as_me:$LINENO: result: no" >&5
4038 echo "${ECHO_T}no" >&6; }
4039 SET_MAKE
="MAKE=${MAKE-make}"
4044 ac_cpp
='$CPP $CPPFLAGS'
4045 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4046 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4047 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4048 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4049 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4050 # On Suns, sometimes $CPP names a directory.
4051 if test -n "$CPP" && test -d "$CPP"; then
4054 if test -z "$CPP"; then
4055 if test "${ac_cv_prog_CPP+set}" = set; then
4056 echo $ECHO_N "(cached) $ECHO_C" >&6
4058 # Double quotes because CPP needs to be expanded
4059 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4062 for ac_c_preproc_warn_flag
in '' yes
4064 # Use a header file that comes with gcc, so configuring glibc
4065 # with a fresh cross-compiler works.
4066 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4067 # <limits.h> exists even on freestanding compilers.
4068 # On the NeXT, cc -E runs the code through the compiler's parser,
4069 # not just through cpp. "Syntax error" is here to catch this case.
4070 cat >conftest.
$ac_ext <<_ACEOF
4073 cat confdefs.h
>>conftest.
$ac_ext
4074 cat >>conftest.
$ac_ext <<_ACEOF
4075 /* end confdefs.h. */
4077 # include <limits.h>
4079 # include <assert.h>
4083 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4089 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4091 grep -v '^ *+' conftest.er1 >conftest.err
4093 cat conftest.err >&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); } >/dev/null && {
4096 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4097 test ! -s conftest.err
4101 echo "$as_me: failed program was:" >&5
4102 sed 's/^/| /' conftest.$ac_ext >&5
4104 # Broken: fails on valid input.
4108 rm -f conftest.err conftest.$ac_ext
4110 # OK, works on sane cases. Now check whether nonexistent headers
4111 # can be detected and how.
4112 cat >conftest.$ac_ext <<_ACEOF
4115 cat confdefs.h >>conftest.$ac_ext
4116 cat >>conftest.$ac_ext <<_ACEOF
4117 /* end confdefs.h. */
4118 #include <ac_nonexistent.h>
4120 if { (ac_try="$ac_cpp conftest.$ac_ext"
4122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4123 *) ac_try_echo
=$ac_try;;
4125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4126 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4128 grep -v '^ *+' conftest.er1
>conftest.err
4130 cat conftest.err
>&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); } >/dev
/null
&& {
4133 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4134 test ! -s conftest.err
4136 # Broken: success on invalid input.
4139 echo "$as_me: failed program was:" >&5
4140 sed 's/^/| /' conftest.
$ac_ext >&5
4142 # Passes both tests.
4147 rm -f conftest.err conftest.
$ac_ext
4150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4151 rm -f conftest.err conftest.
$ac_ext
4152 if $ac_preproc_ok; then
4164 { echo "$as_me:$LINENO: result: $CPP" >&5
4165 echo "${ECHO_T}$CPP" >&6; }
4167 for ac_c_preproc_warn_flag
in '' yes
4169 # Use a header file that comes with gcc, so configuring glibc
4170 # with a fresh cross-compiler works.
4171 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4172 # <limits.h> exists even on freestanding compilers.
4173 # On the NeXT, cc -E runs the code through the compiler's parser,
4174 # not just through cpp. "Syntax error" is here to catch this case.
4175 cat >conftest.
$ac_ext <<_ACEOF
4178 cat confdefs.h
>>conftest.
$ac_ext
4179 cat >>conftest.
$ac_ext <<_ACEOF
4180 /* end confdefs.h. */
4182 # include <limits.h>
4184 # include <assert.h>
4188 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4190 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4191 *) ac_try_echo=$ac_try;;
4193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4194 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4196 grep -v '^ *+' conftest.er1 >conftest.err
4198 cat conftest.err >&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); } >/dev/null && {
4201 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4202 test ! -s conftest.err
4206 echo "$as_me: failed program was:" >&5
4207 sed 's/^/| /' conftest.$ac_ext >&5
4209 # Broken: fails on valid input.
4213 rm -f conftest.err conftest.$ac_ext
4215 # OK, works on sane cases. Now check whether nonexistent headers
4216 # can be detected and how.
4217 cat >conftest.$ac_ext <<_ACEOF
4220 cat confdefs.h >>conftest.$ac_ext
4221 cat >>conftest.$ac_ext <<_ACEOF
4222 /* end confdefs.h. */
4223 #include <ac_nonexistent.h>
4225 if { (ac_try="$ac_cpp conftest.$ac_ext"
4227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4228 *) ac_try_echo
=$ac_try;;
4230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4231 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4233 grep -v '^ *+' conftest.er1
>conftest.err
4235 cat conftest.err
>&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); } >/dev
/null
&& {
4238 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4239 test ! -s conftest.err
4241 # Broken: success on invalid input.
4244 echo "$as_me: failed program was:" >&5
4245 sed 's/^/| /' conftest.
$ac_ext >&5
4247 # Passes both tests.
4252 rm -f conftest.err conftest.
$ac_ext
4255 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4256 rm -f conftest.err conftest.
$ac_ext
4257 if $ac_preproc_ok; then
4260 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4261 See \`config.log' for more details." >&5
4262 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4263 See \`config.log' for more details." >&2;}
4264 { (exit 1); exit 1; }; }
4268 ac_cpp
='$CPP $CPPFLAGS'
4269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4274 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4275 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4276 if test "${ac_cv_path_GREP+set}" = set; then
4277 echo $ECHO_N "(cached) $ECHO_C" >&6
4279 # Extract the first word of "grep ggrep" to use in msg output
4280 if test -z "$GREP"; then
4281 set dummy
grep ggrep
; ac_prog_name
=$2
4282 if test "${ac_cv_path_GREP+set}" = set; then
4283 echo $ECHO_N "(cached) $ECHO_C" >&6
4285 ac_path_GREP_found
=false
4286 # Loop through the user's path and test for each of PROGNAME-LIST
4287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4288 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4291 test -z "$as_dir" && as_dir
=.
4292 for ac_prog
in grep ggrep
; do
4293 for ac_exec_ext
in '' $ac_executable_extensions; do
4294 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4295 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4296 # Check for GNU ac_path_GREP and select it if it is found.
4297 # Check for GNU $ac_path_GREP
4298 case `"$ac_path_GREP" --version 2>&1` in
4300 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4303 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4306 cat "conftest.in" "conftest.in" >"conftest.tmp"
4307 mv "conftest.tmp" "conftest.in"
4308 cp "conftest.in" "conftest.nl"
4309 echo 'GREP' >> "conftest.nl"
4310 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4311 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4312 ac_count
=`expr $ac_count + 1`
4313 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4314 # Best one so far, save it but keep looking for a better one
4315 ac_cv_path_GREP
="$ac_path_GREP"
4316 ac_path_GREP_max
=$ac_count
4318 # 10*(2^10) chars as input seems more than enough
4319 test $ac_count -gt 10 && break
4321 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4325 $ac_path_GREP_found && break 3
4335 GREP
="$ac_cv_path_GREP"
4336 if test -z "$GREP"; then
4337 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4338 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4339 { (exit 1); exit 1; }; }
4343 ac_cv_path_GREP
=$GREP
4348 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4349 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4350 GREP
="$ac_cv_path_GREP"
4353 { echo "$as_me:$LINENO: checking for egrep" >&5
4354 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4355 if test "${ac_cv_path_EGREP+set}" = set; then
4356 echo $ECHO_N "(cached) $ECHO_C" >&6
4358 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4359 then ac_cv_path_EGREP
="$GREP -E"
4361 # Extract the first word of "egrep" to use in msg output
4362 if test -z "$EGREP"; then
4363 set dummy
egrep; ac_prog_name
=$2
4364 if test "${ac_cv_path_EGREP+set}" = set; then
4365 echo $ECHO_N "(cached) $ECHO_C" >&6
4367 ac_path_EGREP_found
=false
4368 # Loop through the user's path and test for each of PROGNAME-LIST
4369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4370 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4373 test -z "$as_dir" && as_dir
=.
4374 for ac_prog
in egrep; do
4375 for ac_exec_ext
in '' $ac_executable_extensions; do
4376 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4377 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4378 # Check for GNU ac_path_EGREP and select it if it is found.
4379 # Check for GNU $ac_path_EGREP
4380 case `"$ac_path_EGREP" --version 2>&1` in
4382 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4385 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4388 cat "conftest.in" "conftest.in" >"conftest.tmp"
4389 mv "conftest.tmp" "conftest.in"
4390 cp "conftest.in" "conftest.nl"
4391 echo 'EGREP' >> "conftest.nl"
4392 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4393 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4394 ac_count
=`expr $ac_count + 1`
4395 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4396 # Best one so far, save it but keep looking for a better one
4397 ac_cv_path_EGREP
="$ac_path_EGREP"
4398 ac_path_EGREP_max
=$ac_count
4400 # 10*(2^10) chars as input seems more than enough
4401 test $ac_count -gt 10 && break
4403 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4407 $ac_path_EGREP_found && break 3
4417 EGREP
="$ac_cv_path_EGREP"
4418 if test -z "$EGREP"; then
4419 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4420 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4421 { (exit 1); exit 1; }; }
4425 ac_cv_path_EGREP
=$EGREP
4431 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4432 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4433 EGREP
="$ac_cv_path_EGREP"
4436 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4437 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4438 if test "${ac_cv_header_stdc+set}" = set; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 cat >conftest.
$ac_ext <<_ACEOF
4444 cat confdefs.h
>>conftest.
$ac_ext
4445 cat >>conftest.
$ac_ext <<_ACEOF
4446 /* end confdefs.h. */
4460 rm -f conftest.
$ac_objext
4461 if { (ac_try
="$ac_compile"
4463 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4467 (eval "$ac_compile") 2>conftest.er1
4469 grep -v '^ *+' conftest.er1 >conftest.err
4471 cat conftest.err >&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); } && {
4474 test -z "$ac_c_werror_flag" ||
4475 test ! -s conftest.err
4476 } && test -s conftest.$ac_objext; then
4477 ac_cv_header_stdc=yes
4479 echo "$as_me: failed program was:" >&5
4480 sed 's/^/| /' conftest.$ac_ext >&5
4482 ac_cv_header_stdc=no
4485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4487 if test $ac_cv_header_stdc = yes; then
4488 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4489 cat >conftest.$ac_ext <<_ACEOF
4492 cat confdefs.h >>conftest.$ac_ext
4493 cat >>conftest.$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4499 $EGREP "memchr" >/dev/null 2>&1; then
4502 ac_cv_header_stdc=no
4508 if test $ac_cv_header_stdc = yes; then
4509 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4510 cat >conftest.$ac_ext <<_ACEOF
4513 cat confdefs.h >>conftest.$ac_ext
4514 cat >>conftest.$ac_ext <<_ACEOF
4515 /* end confdefs.h. */
4519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4520 $EGREP "free" >/dev/null 2>&1; then
4523 ac_cv_header_stdc=no
4529 if test $ac_cv_header_stdc = yes; then
4530 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4531 if test "$cross_compiling" = yes; then
4534 cat >conftest.$ac_ext <<_ACEOF
4537 cat confdefs.h >>conftest.$ac_ext
4538 cat >>conftest.$ac_ext <<_ACEOF
4539 /* end confdefs.h. */
4542 #if ((' ' & 0x0FF) == 0x020)
4543 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4544 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4546 # define ISLOWER(c) \
4547 (('a' <= (c) && (c) <= 'i') \
4548 || ('j' <= (c) && (c) <= 'r') \
4549 || ('s' <= (c) && (c) <= 'z'))
4550 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4553 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4558 for (i = 0; i < 256; i++)
4559 if (XOR (islower (i), ISLOWER (i))
4560 || toupper (i) != TOUPPER (i))
4565 rm -f conftest$ac_exeext
4566 if { (ac_try="$ac_link"
4568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4569 *) ac_try_echo
=$ac_try;;
4571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4572 (eval "$ac_link") 2>&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4576 { (case "(($ac_try" in
4577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4578 *) ac_try_echo=$ac_try;;
4580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4581 (eval "$ac_try") 2>&5
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); }; }; then
4587 echo "$as_me: program exited with status $ac_status" >&5
4588 echo "$as_me: failed program was:" >&5
4589 sed 's/^/| /' conftest.$ac_ext >&5
4592 ac_cv_header_stdc=no
4594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4600 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4601 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4602 if test $ac_cv_header_stdc = yes; then
4604 cat >>confdefs.h <<\_ACEOF
4605 #define STDC_HEADERS 1
4610 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4620 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4621 inttypes.h stdint.h unistd.h
4623 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4624 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4627 echo $ECHO_N "(cached) $ECHO_C" >&6
4629 cat >conftest.$ac_ext <<_ACEOF
4632 cat confdefs.h >>conftest.$ac_ext
4633 cat >>conftest.$ac_ext <<_ACEOF
4634 /* end confdefs.h. */
4635 $ac_includes_default
4637 #include <$ac_header>
4639 rm -f conftest.$ac_objext
4640 if { (ac_try="$ac_compile"
4642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4643 *) ac_try_echo
=$ac_try;;
4645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4646 (eval "$ac_compile") 2>conftest.er1
4648 grep -v '^ *+' conftest.er1
>conftest.err
4650 cat conftest.err
>&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); } && {
4653 test -z "$ac_c_werror_flag" ||
4654 test ! -s conftest.err
4655 } && test -s conftest.
$ac_objext; then
4656 eval "$as_ac_Header=yes"
4658 echo "$as_me: failed program was:" >&5
4659 sed 's/^/| /' conftest.
$ac_ext >&5
4661 eval "$as_ac_Header=no"
4664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4666 ac_res
=`eval echo '${'$as_ac_Header'}'`
4667 { echo "$as_me:$LINENO: result: $ac_res" >&5
4668 echo "${ECHO_T}$ac_res" >&6; }
4669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4670 cat >>confdefs.h
<<_ACEOF
4671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4774 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4775 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4776 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4778 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4779 echo $ECHO_N "(cached) $ECHO_C" >&6
4781 ac_res
=`eval echo '${'$as_ac_Header'}'`
4782 { echo "$as_me:$LINENO: result: $ac_res" >&5
4783 echo "${ECHO_T}$ac_res" >&6; }
4785 # Is the header compilable?
4786 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4787 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4788 cat >conftest.
$ac_ext <<_ACEOF
4791 cat confdefs.h
>>conftest.
$ac_ext
4792 cat >>conftest.
$ac_ext <<_ACEOF
4793 /* end confdefs.h. */
4794 $ac_includes_default
4795 #include <$ac_header>
4797 rm -f conftest.
$ac_objext
4798 if { (ac_try
="$ac_compile"
4800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4801 *) ac_try_echo=$ac_try;;
4803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4804 (eval "$ac_compile") 2>conftest.er1
4806 grep -v '^ *+' conftest.er1 >conftest.err
4808 cat conftest.err >&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); } && {
4811 test -z "$ac_c_werror_flag" ||
4812 test ! -s conftest.err
4813 } && test -s conftest.$ac_objext; then
4814 ac_header_compiler=yes
4816 echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.$ac_ext >&5
4819 ac_header_compiler=no
4822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4823 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4824 echo "${ECHO_T}$ac_header_compiler" >&6; }
4826 # Is the header present?
4827 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4828 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4829 cat >conftest.$ac_ext <<_ACEOF
4832 cat confdefs.h >>conftest.$ac_ext
4833 cat >>conftest.$ac_ext <<_ACEOF
4834 /* end confdefs.h. */
4835 #include <$ac_header>
4837 if { (ac_try="$ac_cpp conftest.$ac_ext"
4839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4840 *) ac_try_echo
=$ac_try;;
4842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4843 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4845 grep -v '^ *+' conftest.er1
>conftest.err
4847 cat conftest.err
>&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } >/dev
/null
&& {
4850 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4851 test ! -s conftest.err
4853 ac_header_preproc
=yes
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.
$ac_ext >&5
4858 ac_header_preproc
=no
4861 rm -f conftest.err conftest.
$ac_ext
4862 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4863 echo "${ECHO_T}$ac_header_preproc" >&6; }
4865 # So? What about this header?
4866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4868 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4869 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4871 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4872 ac_header_preproc
=yes
4875 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4876 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4877 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4878 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4879 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4880 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4881 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4882 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4884 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4885 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4886 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4888 ## ---------------------------- ##
4889 ## Report this to mark@rexx.org ##
4890 ## ---------------------------- ##
4892 ) |
sed "s/^/$as_me: WARNING: /" >&2
4895 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4897 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4898 echo $ECHO_N "(cached) $ECHO_C" >&6
4900 eval "$as_ac_Header=\$ac_header_preproc"
4902 ac_res
=`eval echo '${'$as_ac_Header'}'`
4903 { echo "$as_me:$LINENO: result: $ac_res" >&5
4904 echo "${ECHO_T}$ac_res" >&6; }
4907 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4908 cat >>confdefs.h
<<_ACEOF
4909 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4952 for ac_func
in sysconf div raise putenv
usleep random ftruncate \
4953 memcpy memmove strerror strerror_r gettimeofday ftime poll \
4954 _fullpath vsprintf _splitpath2 _splitpath sigaction \
4955 lstat mkstemp inet_ntop gmtime_r localtime_r \
4956 getgrgid_r getpwuid_r gethostbyname_r \
4957 readlink realpath getbootfile tgetstr statfs mbstowcs mmap
iconv
4959 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4960 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4962 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4963 echo $ECHO_N "(cached) $ECHO_C" >&6
4965 cat >conftest.
$ac_ext <<_ACEOF
4968 cat confdefs.h
>>conftest.
$ac_ext
4969 cat >>conftest.
$ac_ext <<_ACEOF
4970 /* end confdefs.h. */
4971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4973 #define $ac_func innocuous_$ac_func
4975 /* System header to define __stub macros and hopefully few prototypes,
4976 which can conflict with char $ac_func (); below.
4977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4978 <limits.h> exists even on freestanding compilers. */
4981 # include <limits.h>
4983 # include <assert.h>
4988 /* Override any GCC internal prototype to avoid an error.
4989 Use char because int might match the return type of a GCC
4990 builtin and then its argument prototype would still apply. */
4995 /* The GNU C library defines this for functions which it implements
4996 to always fail with ENOSYS. Some functions are actually named
4997 something starting with __ and the normal name is an alias. */
4998 #if defined __stub_$ac_func || defined __stub___$ac_func
5010 rm -f conftest.
$ac_objext conftest
$ac_exeext
5011 if { (ac_try
="$ac_link"
5013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5014 *) ac_try_echo=$ac_try;;
5016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5017 (eval "$ac_link") 2>conftest.er1
5019 grep -v '^ *+' conftest.er1 >conftest.err
5021 cat conftest.err >&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); } && {
5024 test -z "$ac_c_werror_flag" ||
5025 test ! -s conftest.err
5026 } && test -s conftest$ac_exeext &&
5027 $as_test_x conftest$ac_exeext; then
5028 eval "$as_ac_var=yes"
5030 echo "$as_me: failed program was:" >&5
5031 sed 's/^/| /' conftest.$ac_ext >&5
5033 eval "$as_ac_var=no"
5036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5037 conftest$ac_exeext conftest.$ac_ext
5039 ac_res=`eval echo '${'$as_ac_var'}'`
5040 { echo "$as_me:$LINENO: result: $ac_res" >&5
5041 echo "${ECHO_T}$ac_res" >&6; }
5042 if test `eval echo '${'$as_ac_var'}'` = yes; then
5043 cat >>confdefs.h <<_ACEOF
5044 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
5051 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5052 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5053 if test "${ac_cv_c_const+set}" = set; then
5054 echo $ECHO_N "(cached) $ECHO_C" >&6
5056 cat >conftest.$ac_ext <<_ACEOF
5059 cat confdefs.h >>conftest.$ac_ext
5060 cat >>conftest.$ac_ext <<_ACEOF
5061 /* end confdefs.h. */
5066 /* FIXME: Include the comments suggested by Paul. */
5068 /* Ultrix mips cc rejects this. */
5069 typedef int charset[2];
5071 /* SunOS 4.1.1 cc rejects this. */
5072 char const *const *pcpcc;
5074 /* NEC SVR4.0.2 mips cc rejects this. */
5075 struct point {int x, y;};
5076 static struct point const zero = {0,0};
5077 /* AIX XL C 1.02.0.0 rejects this.
5078 It does not let you subtract one const X* pointer from another in
5079 an arm of an if-expression whose if-part is not a constant
5081 const char *g = "string";
5082 pcpcc = &g + (g ? g-g : 0);
5083 /* HPUX 7.0 cc rejects these. */
5085 ppc = (char**) pcpcc;
5086 pcpcc = (char const *const *) ppc;
5087 { /* SCO 3.2v4 cc rejects this. */
5089 char const *s = 0 ? (char *) 0 : (char const *) 0;
5094 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5096 const int *foo = &x[0];
5099 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5100 typedef const int *iptr;
5104 { /* AIX XL C 1.02.0.0 rejects this saying
5105 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5106 struct s { int j; const int *ap[3]; };
5107 struct s *b; b->j = 5;
5109 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5113 return !cs[0] && !zero.x;
5120 rm -f conftest.$ac_objext
5121 if { (ac_try="$ac_compile"
5123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5124 *) ac_try_echo
=$ac_try;;
5126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5127 (eval "$ac_compile") 2>conftest.er1
5129 grep -v '^ *+' conftest.er1
>conftest.err
5131 cat conftest.err
>&5
5132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5133 (exit $ac_status); } && {
5134 test -z "$ac_c_werror_flag" ||
5135 test ! -s conftest.err
5136 } && test -s conftest.
$ac_objext; then
5139 echo "$as_me: failed program was:" >&5
5140 sed 's/^/| /' conftest.
$ac_ext >&5
5145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5147 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5148 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5149 if test $ac_cv_c_const = no
; then
5151 cat >>confdefs.h
<<\_ACEOF
5157 { echo "$as_me:$LINENO: checking for size_t" >&5
5158 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5159 if test "${ac_cv_type_size_t+set}" = set; then
5160 echo $ECHO_N "(cached) $ECHO_C" >&6
5162 cat >conftest.
$ac_ext <<_ACEOF
5165 cat confdefs.h
>>conftest.
$ac_ext
5166 cat >>conftest.
$ac_ext <<_ACEOF
5167 /* end confdefs.h. */
5168 $ac_includes_default
5169 typedef size_t ac__type_new_;
5173 if ((ac__type_new_ *) 0)
5175 if (sizeof (ac__type_new_))
5181 rm -f conftest.
$ac_objext
5182 if { (ac_try
="$ac_compile"
5184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5185 *) ac_try_echo=$ac_try;;
5187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5188 (eval "$ac_compile") 2>conftest.er1
5190 grep -v '^ *+' conftest.er1 >conftest.err
5192 cat conftest.err >&5
5193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194 (exit $ac_status); } && {
5195 test -z "$ac_c_werror_flag" ||
5196 test ! -s conftest.err
5197 } && test -s conftest.$ac_objext; then
5198 ac_cv_type_size_t=yes
5200 echo "$as_me: failed program was:" >&5
5201 sed 's/^/| /' conftest.$ac_ext >&5
5203 ac_cv_type_size_t=no
5206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5208 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5209 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5210 if test $ac_cv_type_size_t = yes; then
5214 cat >>confdefs.h <<_ACEOF
5215 #define size_t unsigned int
5220 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5221 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
5222 if test "${ac_cv_header_time+set}" = set; then
5223 echo $ECHO_N "(cached) $ECHO_C" >&6
5225 cat >conftest.$ac_ext <<_ACEOF
5228 cat confdefs.h >>conftest.$ac_ext
5229 cat >>conftest.$ac_ext <<_ACEOF
5230 /* end confdefs.h. */
5231 #include <sys/types.h>
5232 #include <sys/time.h>
5238 if ((struct tm *) 0)
5244 rm -f conftest.$ac_objext
5245 if { (ac_try="$ac_compile"
5247 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5248 *) ac_try_echo
=$ac_try;;
5250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5251 (eval "$ac_compile") 2>conftest.er1
5253 grep -v '^ *+' conftest.er1
>conftest.err
5255 cat conftest.err
>&5
5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); } && {
5258 test -z "$ac_c_werror_flag" ||
5259 test ! -s conftest.err
5260 } && test -s conftest.
$ac_objext; then
5261 ac_cv_header_time
=yes
5263 echo "$as_me: failed program was:" >&5
5264 sed 's/^/| /' conftest.
$ac_ext >&5
5266 ac_cv_header_time
=no
5269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5271 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5272 echo "${ECHO_T}$ac_cv_header_time" >&6; }
5273 if test $ac_cv_header_time = yes; then
5275 cat >>confdefs.h
<<\_ACEOF
5276 #define TIME_WITH_SYS_TIME 1
5281 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5282 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
5283 if test "${ac_cv_struct_tm+set}" = set; then
5284 echo $ECHO_N "(cached) $ECHO_C" >&6
5286 cat >conftest.
$ac_ext <<_ACEOF
5289 cat confdefs.h
>>conftest.
$ac_ext
5290 cat >>conftest.
$ac_ext <<_ACEOF
5291 /* end confdefs.h. */
5292 #include <sys/types.h>
5299 int *p = &tm.tm_sec;
5305 rm -f conftest.
$ac_objext
5306 if { (ac_try
="$ac_compile"
5308 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5309 *) ac_try_echo=$ac_try;;
5311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5312 (eval "$ac_compile") 2>conftest.er1
5314 grep -v '^ *+' conftest.er1 >conftest.err
5316 cat conftest.err >&5
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); } && {
5319 test -z "$ac_c_werror_flag" ||
5320 test ! -s conftest.err
5321 } && test -s conftest.$ac_objext; then
5322 ac_cv_struct_tm=time.h
5324 echo "$as_me: failed program was:" >&5
5325 sed 's/^/| /' conftest.$ac_ext >&5
5327 ac_cv_struct_tm=sys/time.h
5330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5332 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5333 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
5334 if test $ac_cv_struct_tm = sys/time.h; then
5336 cat >>confdefs.h <<\_ACEOF
5337 #define TM_IN_SYS_TIME 1
5343 { echo "$as_me:$LINENO: checking whether $CC understands -c and -o together" >&5
5344 echo $ECHO_N "checking whether $CC understands -c and -o together... $ECHO_C" >&6; }
5345 set dummy $CC; ac_cc="`echo $2 |
5346 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
5347 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5350 echo 'int foo(){}' > conftest.c
5351 # We do the test twice because some compilers refuse to overwrite an
5352 # existing .o file with -o, though they will create one.
5353 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5354 ac_try='${CC-cc} -c conftest.c -o conftest.ooo 1>&5'
5355 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); } && test -f conftest.ooo && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); };
5365 ac_try='${CC-cc} -c conftest.c -o conftest.ooo 1>&5'
5366 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); } && test -f conftest.ooo && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 (exit $ac_status); };
5376 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5382 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o
`\" = yes"; then
5390 { echo "$as_me:$LINENO: result: yes" >&5
5391 echo "${ECHO_T}yes" >&6; }
5393 O2SHO="-mv \`basename "$'@'" .so.o\
`.o "$'@'
5394 O2SAVE="-mv \`basename "$'@'" .so.o\
`.o \`basename "$'@'" .so.o\
`.o.save"
5395 SAVE2O="-mv \`basename "$'@'" .so.o\
`.o.save \`basename "$'@'" .so.o\
`.o"
5396 O2TSO="-mv \`basename "$'@'" .tso\
`.o "$'@'
5397 O2TSAVE="-mv \`basename "$'@'" .tso\
`.o \`basename "$'@'" .tso\
`.tso.save"
5398 TSAVE2O="-mv \`basename "$'@'" .tso\
`.tso.save \`basename "$'@'" .tso\
`.o"
5400 { echo "$as_me:$LINENO: result: no" >&5
5401 echo "${ECHO_T}no" >&6; }
5405 { echo "$as_me:$LINENO: checking whether __sighandler_t is defined" >&5
5406 echo $ECHO_N "checking whether __sighandler_t is defined... $ECHO_C" >&6; }
5408 if test "${mh_cv__sighandler_t+set}" = set; then
5409 echo $ECHO_N "(cached) $ECHO_C" >&6
5412 cat >conftest.$ac_ext <<_ACEOF
5415 cat confdefs.h >>conftest.$ac_ext
5416 cat >>conftest.$ac_ext <<_ACEOF
5417 /* end confdefs.h. */
5418 #include <sys/types.h>
5428 rm -f conftest.$ac_objext
5429 if { (ac_try="$ac_compile"
5431 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5432 *) ac_try_echo
=$ac_try;;
5434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5435 (eval "$ac_compile") 2>conftest.er1
5437 grep -v '^ *+' conftest.er1
>conftest.err
5439 cat conftest.err
>&5
5440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441 (exit $ac_status); } && {
5442 test -z "$ac_c_werror_flag" ||
5443 test ! -s conftest.err
5444 } && test -s conftest.
$ac_objext; then
5445 mh_cv__sighandler_t
=yes
5447 echo "$as_me: failed program was:" >&5
5448 sed 's/^/| /' conftest.
$ac_ext >&5
5450 mh_cv__sighandler_t
=no
5454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5458 { echo "$as_me:$LINENO: result: $mh_cv__sighandler_t" >&5
5459 echo "${ECHO_T}$mh_cv__sighandler_t" >&6; }
5460 if test "$mh_cv__sighandler_t" = yes ; then
5461 cat >>confdefs.h
<<\_ACEOF
5462 #define HAVE__SIGHANDLER_T 1
5467 { echo "$as_me:$LINENO: checking for struct random_data" >&5
5468 echo $ECHO_N "checking for struct random_data... $ECHO_C" >&6; }
5469 if test "${mh_cv_struct_random_data+set}" = set; then
5470 echo $ECHO_N "(cached) $ECHO_C" >&6
5472 cat >conftest.
$ac_ext <<_ACEOF
5475 cat confdefs.h
>>conftest.
$ac_ext
5476 cat >>conftest.
$ac_ext <<_ACEOF
5477 /* end confdefs.h. */
5483 struct random_data s;
5488 rm -f conftest.
$ac_objext
5489 if { (ac_try
="$ac_compile"
5491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5492 *) ac_try_echo=$ac_try;;
5494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5495 (eval "$ac_compile") 2>conftest.er1
5497 grep -v '^ *+' conftest.er1 >conftest.err
5499 cat conftest.err >&5
5500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); } && {
5502 test -z "$ac_c_werror_flag" ||
5503 test ! -s conftest.err
5504 } && test -s conftest.$ac_objext; then
5505 mh_cv_struct_random_data=yes
5507 echo "$as_me: failed program was:" >&5
5508 sed 's/^/| /' conftest.$ac_ext >&5
5510 mh_cv_struct_random_data=no
5513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5515 { echo "$as_me:$LINENO: result: $mh_cv_struct_random_data" >&5
5516 echo "${ECHO_T}$mh_cv_struct_random_data" >&6; }
5517 if test $mh_cv_struct_random_data = yes; then
5518 cat >>confdefs.h <<\_ACEOF
5519 #define HAVE_RANDOM_DATA 1
5525 { echo "$as_me:$LINENO: checking whether compiler supports __builtin_return_address inline function" >&5
5526 echo $ECHO_N "checking whether compiler supports __builtin_return_address inline function... $ECHO_C" >&6; }
5527 if test "${mh_cv_builtin_return_address+set}" = set; then
5528 echo $ECHO_N "(cached) $ECHO_C" >&6
5531 cat >conftest.$ac_ext <<_ACEOF
5534 cat confdefs.h >>conftest.$ac_ext
5535 cat >>conftest.$ac_ext <<_ACEOF
5536 /* end confdefs.h. */
5541 __builtin_return_address(0)
5546 rm -f conftest.$ac_objext conftest$ac_exeext
5547 if { (ac_try="$ac_link"
5549 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5550 *) ac_try_echo
=$ac_try;;
5552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5553 (eval "$ac_link") 2>conftest.er1
5555 grep -v '^ *+' conftest.er1
>conftest.err
5557 cat conftest.err
>&5
5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559 (exit $ac_status); } && {
5560 test -z "$ac_c_werror_flag" ||
5561 test ! -s conftest.err
5562 } && test -s conftest
$ac_exeext &&
5563 $as_test_x conftest
$ac_exeext; then
5564 mh_cv_builtin_return_address
=yes
5566 echo "$as_me: failed program was:" >&5
5567 sed 's/^/| /' conftest.
$ac_ext >&5
5569 mh_cv_builtin_return_address
=no
5573 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5574 conftest
$ac_exeext conftest.
$ac_ext
5578 { echo "$as_me:$LINENO: result: $mh_cv_builtin_return_address" >&5
5579 echo "${ECHO_T}$mh_cv_builtin_return_address" >&6; }
5580 if test "$mh_cv_builtin_return_address" = yes; then
5581 cat >>confdefs.h
<<\_ACEOF
5582 #define HAVE_BUILTIN_RETURN_ADDRESS 1
5587 { echo "$as_me:$LINENO: checking for long long int" >&5
5588 echo $ECHO_N "checking for long long int... $ECHO_C" >&6; }
5589 if test "${mh_cv_c_long_long+set}" = set; then
5590 echo $ECHO_N "(cached) $ECHO_C" >&6
5592 if test "$ac_cv_prog_CC" = "gcc" -o "$ac_cv_prog_CC" = "g++"; then
5593 mh_cv_c_long_long
=yes
5595 cat >conftest.
$ac_ext <<_ACEOF
5598 cat confdefs.h
>>conftest.
$ac_ext
5599 cat >>conftest.
$ac_ext <<_ACEOF
5600 /* end confdefs.h. */
5610 rm -f conftest.
$ac_objext
5611 if { (ac_try
="$ac_compile"
5613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5614 *) ac_try_echo=$ac_try;;
5616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5617 (eval "$ac_compile") 2>conftest.er1
5619 grep -v '^ *+' conftest.er1 >conftest.err
5621 cat conftest.err >&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); } && {
5624 test -z "$ac_c_werror_flag" ||
5625 test ! -s conftest.err
5626 } && test -s conftest.$ac_objext; then
5627 mh_cv_c_long_long=yes
5629 echo "$as_me: failed program was:" >&5
5630 sed 's/^/| /' conftest.$ac_ext >&5
5632 mh_cv_c_long_long=no
5635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5638 { echo "$as_me:$LINENO: result: $mh_cv_c_long_long" >&5
5639 echo "${ECHO_T}$mh_cv_c_long_long" >&6; }
5640 if test $mh_cv_c_long_long = yes; then
5642 cat >>confdefs.h <<\_ACEOF
5643 #define HAVE_LONG_LONG 1
5648 { echo "$as_me:$LINENO: checking for socklen_t" >&5
5649 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
5650 if test "${ac_cv_type_socklen_t+set}" = set; then
5651 echo $ECHO_N "(cached) $ECHO_C" >&6
5654 cat >conftest.$ac_ext <<_ACEOF
5657 cat confdefs.h >>conftest.$ac_ext
5658 cat >>conftest.$ac_ext <<_ACEOF
5659 /* end confdefs.h. */
5660 #include <sys/types.h>
5661 #include <sys/socket.h>
5665 socklen_t len = 42; return 0;
5670 rm -f conftest.$ac_objext
5671 if { (ac_try="$ac_compile"
5673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5674 *) ac_try_echo
=$ac_try;;
5676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5677 (eval "$ac_compile") 2>conftest.er1
5679 grep -v '^ *+' conftest.er1
>conftest.err
5681 cat conftest.err
>&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); } && {
5684 test -z "$ac_c_werror_flag" ||
5685 test ! -s conftest.err
5686 } && test -s conftest.
$ac_objext; then
5687 ac_cv_type_socklen_t
=yes
5689 echo "$as_me: failed program was:" >&5
5690 sed 's/^/| /' conftest.
$ac_ext >&5
5692 ac_cv_type_socklen_t
=no
5695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5698 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
5699 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
5700 if test $ac_cv_type_socklen_t = yes; then
5702 cat >>confdefs.h
<<\_ACEOF
5703 #define HAVE_SOCKLEN_T 1
5708 { echo "$as_me:$LINENO: checking for union semun" >&5
5709 echo $ECHO_N "checking for union semun... $ECHO_C" >&6; }
5710 if test "${ac_cv_type_union_semun+set}" = set; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5713 cat >conftest.
$ac_ext <<_ACEOF
5716 cat confdefs.h
>>conftest.
$ac_ext
5717 cat >>conftest.
$ac_ext <<_ACEOF
5718 /* end confdefs.h. */
5719 #include <sys/types.h>
5720 #include <sys/ipc.h>
5721 #include <sys/sem.h>
5723 typedef union semun ac__type_new_;
5727 if ((ac__type_new_ *) 0)
5729 if (sizeof (ac__type_new_))
5735 rm -f conftest.
$ac_objext
5736 if { (ac_try
="$ac_compile"
5738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5739 *) ac_try_echo=$ac_try;;
5741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5742 (eval "$ac_compile") 2>conftest.er1
5744 grep -v '^ *+' conftest.er1 >conftest.err
5746 cat conftest.err >&5
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); } && {
5749 test -z "$ac_c_werror_flag" ||
5750 test ! -s conftest.err
5751 } && test -s conftest.$ac_objext; then
5752 ac_cv_type_union_semun=yes
5754 echo "$as_me: failed program was:" >&5
5755 sed 's/^/| /' conftest.$ac_ext >&5
5757 ac_cv_type_union_semun=no
5760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5762 { echo "$as_me:$LINENO: result: $ac_cv_type_union_semun" >&5
5763 echo "${ECHO_T}$ac_cv_type_union_semun" >&6; }
5764 if test $ac_cv_type_union_semun = yes; then
5766 cat >>confdefs.h <<_ACEOF
5767 #define HAVE_UNION_SEMUN 1
5774 { echo "$as_me:$LINENO: checking if statvfs.f_mntfromname exists..." >&5
5775 echo "$as_me: checking if statvfs.f_mntfromname exists..." >&6;}
5776 cat >conftest.$ac_ext <<_ACEOF
5779 cat confdefs.h >>conftest.$ac_ext
5780 cat >>conftest.$ac_ext <<_ACEOF
5781 /* end confdefs.h. */
5783 #include <sys/types.h>
5784 #include <sys/statvfs.h>
5791 char *p = buf.f_mntfromname;
5799 rm -f conftest.$ac_objext
5800 if { (ac_try="$ac_compile"
5802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5803 *) ac_try_echo
=$ac_try;;
5805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5806 (eval "$ac_compile") 2>conftest.er1
5808 grep -v '^ *+' conftest.er1
>conftest.err
5810 cat conftest.err
>&5
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); } && {
5813 test -z "$ac_c_werror_flag" ||
5814 test ! -s conftest.err
5815 } && test -s conftest.
$ac_objext; then
5818 cat >>confdefs.h
<<\_ACEOF
5819 #define HAVE_STATVFS_F_MNTFROMNAME
5822 { echo "$as_me:$LINENO: result: yes" >&5
5823 echo "${ECHO_T}yes" >&6; }
5826 echo "$as_me: failed program was:" >&5
5827 sed 's/^/| /' conftest.
$ac_ext >&5
5830 { echo "$as_me:$LINENO: result: no" >&5
5831 echo "${ECHO_T}no" >&6; }
5835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5838 { echo "$as_me:$LINENO: checking for working memcmp" >&5
5839 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
5840 if test "${ac_cv_func_memcmp_working+set}" = set; then
5841 echo $ECHO_N "(cached) $ECHO_C" >&6
5843 if test "$cross_compiling" = yes; then
5844 ac_cv_func_memcmp_working
=no
5846 cat >conftest.
$ac_ext <<_ACEOF
5849 cat confdefs.h
>>conftest.
$ac_ext
5850 cat >>conftest.
$ac_ext <<_ACEOF
5851 /* end confdefs.h. */
5852 $ac_includes_default
5857 /* Some versions of memcmp are not 8-bit clean. */
5858 char c0 = '\100', c1 = '\200', c2 = '\201';
5859 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
5862 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
5863 or more and with at least one buffer not starting on a 4-byte boundary.
5864 William Lewis provided this test program. */
5869 for (i = 0; i < 4; i++)
5873 strcpy (a, "--------01111111");
5874 strcpy (b, "--------10000000");
5875 if (memcmp (a, b, 16) >= 0)
5885 rm -f conftest
$ac_exeext
5886 if { (ac_try
="$ac_link"
5888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5889 *) ac_try_echo=$ac_try;;
5891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5892 (eval "$ac_link") 2>&5
5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5895 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5896 { (case "(($ac_try" in
5897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5898 *) ac_try_echo
=$ac_try;;
5900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5901 (eval "$ac_try") 2>&5
5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904 (exit $ac_status); }; }; then
5905 ac_cv_func_memcmp_working
=yes
5907 echo "$as_me: program exited with status $ac_status" >&5
5908 echo "$as_me: failed program was:" >&5
5909 sed 's/^/| /' conftest.
$ac_ext >&5
5912 ac_cv_func_memcmp_working
=no
5914 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5919 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
5920 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
5921 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
5922 *" memcmp.$ac_objext "* ) ;;
5923 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
5928 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5929 # for constant arguments. Useless!
5930 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
5931 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
5932 if test "${ac_cv_working_alloca_h+set}" = set; then
5933 echo $ECHO_N "(cached) $ECHO_C" >&6
5935 cat >conftest.
$ac_ext <<_ACEOF
5938 cat confdefs.h
>>conftest.
$ac_ext
5939 cat >>conftest.
$ac_ext <<_ACEOF
5940 /* end confdefs.h. */
5945 char *p = (char *) alloca (2 * sizeof (int));
5951 rm -f conftest.
$ac_objext conftest
$ac_exeext
5952 if { (ac_try
="$ac_link"
5954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5955 *) ac_try_echo=$ac_try;;
5957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5958 (eval "$ac_link") 2>conftest.er1
5960 grep -v '^ *+' conftest.er1 >conftest.err
5962 cat conftest.err >&5
5963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5964 (exit $ac_status); } && {
5965 test -z "$ac_c_werror_flag" ||
5966 test ! -s conftest.err
5967 } && test -s conftest$ac_exeext &&
5968 $as_test_x conftest$ac_exeext; then
5969 ac_cv_working_alloca_h=yes
5971 echo "$as_me: failed program was:" >&5
5972 sed 's/^/| /' conftest.$ac_ext >&5
5974 ac_cv_working_alloca_h=no
5977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5978 conftest$ac_exeext conftest.$ac_ext
5980 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5981 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
5982 if test $ac_cv_working_alloca_h = yes; then
5984 cat >>confdefs.h <<\_ACEOF
5985 #define HAVE_ALLOCA_H 1
5990 { echo "$as_me:$LINENO: checking for alloca" >&5
5991 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
5992 if test "${ac_cv_func_alloca_works+set}" = set; then
5993 echo $ECHO_N "(cached) $ECHO_C" >&6
5995 cat >conftest.$ac_ext <<_ACEOF
5998 cat confdefs.h >>conftest.$ac_ext
5999 cat >>conftest.$ac_ext <<_ACEOF
6000 /* end confdefs.h. */
6002 # define alloca __builtin_alloca
6005 # include <malloc.h>
6006 # define alloca _alloca
6008 # ifdef HAVE_ALLOCA_H
6009 # include <alloca.h>
6014 # ifndef alloca /* predefined by HP cc +Olibcalls */
6025 char *p = (char *) alloca (1);
6031 rm -f conftest.$ac_objext conftest$ac_exeext
6032 if { (ac_try="$ac_link"
6034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6035 *) ac_try_echo
=$ac_try;;
6037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6038 (eval "$ac_link") 2>conftest.er1
6040 grep -v '^ *+' conftest.er1
>conftest.err
6042 cat conftest.err
>&5
6043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 (exit $ac_status); } && {
6045 test -z "$ac_c_werror_flag" ||
6046 test ! -s conftest.err
6047 } && test -s conftest
$ac_exeext &&
6048 $as_test_x conftest
$ac_exeext; then
6049 ac_cv_func_alloca_works
=yes
6051 echo "$as_me: failed program was:" >&5
6052 sed 's/^/| /' conftest.
$ac_ext >&5
6054 ac_cv_func_alloca_works
=no
6057 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6058 conftest
$ac_exeext conftest.
$ac_ext
6060 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6061 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
6063 if test $ac_cv_func_alloca_works = yes; then
6065 cat >>confdefs.h
<<\_ACEOF
6066 #define HAVE_ALLOCA 1
6070 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6071 # that cause trouble. Some versions do not even contain alloca or
6072 # contain a buggy version. If you still want to use their alloca,
6073 # use ar to extract alloca.o from them instead of compiling alloca.c.
6075 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6077 cat >>confdefs.h
<<\_ACEOF
6082 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6083 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
6084 if test "${ac_cv_os_cray+set}" = set; then
6085 echo $ECHO_N "(cached) $ECHO_C" >&6
6087 cat >conftest.
$ac_ext <<_ACEOF
6090 cat confdefs.h
>>conftest.
$ac_ext
6091 cat >>conftest.
$ac_ext <<_ACEOF
6092 /* end confdefs.h. */
6093 #if defined CRAY && ! defined CRAY2
6100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6101 $EGREP "webecray" >/dev
/null
2>&1; then
6109 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6110 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
6111 if test $ac_cv_os_cray = yes; then
6112 for ac_func
in _getb67 GETB67 getb67
; do
6113 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6114 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6116 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6117 echo $ECHO_N "(cached) $ECHO_C" >&6
6119 cat >conftest.
$ac_ext <<_ACEOF
6122 cat confdefs.h
>>conftest.
$ac_ext
6123 cat >>conftest.
$ac_ext <<_ACEOF
6124 /* end confdefs.h. */
6125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6127 #define $ac_func innocuous_$ac_func
6129 /* System header to define __stub macros and hopefully few prototypes,
6130 which can conflict with char $ac_func (); below.
6131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6132 <limits.h> exists even on freestanding compilers. */
6135 # include <limits.h>
6137 # include <assert.h>
6142 /* Override any GCC internal prototype to avoid an error.
6143 Use char because int might match the return type of a GCC
6144 builtin and then its argument prototype would still apply. */
6149 /* The GNU C library defines this for functions which it implements
6150 to always fail with ENOSYS. Some functions are actually named
6151 something starting with __ and the normal name is an alias. */
6152 #if defined __stub_$ac_func || defined __stub___$ac_func
6164 rm -f conftest.
$ac_objext conftest
$ac_exeext
6165 if { (ac_try
="$ac_link"
6167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6168 *) ac_try_echo=$ac_try;;
6170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6171 (eval "$ac_link") 2>conftest.er1
6173 grep -v '^ *+' conftest.er1 >conftest.err
6175 cat conftest.err >&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); } && {
6178 test -z "$ac_c_werror_flag" ||
6179 test ! -s conftest.err
6180 } && test -s conftest$ac_exeext &&
6181 $as_test_x conftest$ac_exeext; then
6182 eval "$as_ac_var=yes"
6184 echo "$as_me: failed program was:" >&5
6185 sed 's/^/| /' conftest.$ac_ext >&5
6187 eval "$as_ac_var=no"
6190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6191 conftest$ac_exeext conftest.$ac_ext
6193 ac_res=`eval echo '${'$as_ac_var'}'`
6194 { echo "$as_me:$LINENO: result: $ac_res" >&5
6195 echo "${ECHO_T}$ac_res" >&6; }
6196 if test `eval echo '${'$as_ac_var'}'` = yes; then
6198 cat >>confdefs.h <<_ACEOF
6199 #define CRAY_STACKSEG_END $ac_func
6208 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6209 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
6210 if test "${ac_cv_c_stack_direction+set}" = set; then
6211 echo $ECHO_N "(cached) $ECHO_C" >&6
6213 if test "$cross_compiling" = yes; then
6214 ac_cv_c_stack_direction=0
6216 cat >conftest.$ac_ext <<_ACEOF
6219 cat confdefs.h >>conftest.$ac_ext
6220 cat >>conftest.$ac_ext <<_ACEOF
6221 /* end confdefs.h. */
6222 $ac_includes_default
6224 find_stack_direction ()
6226 static char *addr = 0;
6231 return find_stack_direction ();
6234 return (&dummy > addr) ? 1 : -1;
6240 return find_stack_direction () < 0;
6243 rm -f conftest$ac_exeext
6244 if { (ac_try="$ac_link"
6246 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6247 *) ac_try_echo
=$ac_try;;
6249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6250 (eval "$ac_link") 2>&5
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6254 { (case "(($ac_try" in
6255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6256 *) ac_try_echo=$ac_try;;
6258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6259 (eval "$ac_try") 2>&5
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); }; }; then
6263 ac_cv_c_stack_direction=1
6265 echo "$as_me: program exited with status $ac_status" >&5
6266 echo "$as_me: failed program was:" >&5
6267 sed 's/^/| /' conftest.$ac_ext >&5
6270 ac_cv_c_stack_direction=-1
6272 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6277 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6278 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
6280 cat >>confdefs.h <<_ACEOF
6281 #define STACK_DIRECTION $ac_cv_c_stack_direction
6287 if test $ac_cv_func_alloca_works = yes; then
6293 ALLOCA_SHO="alloca.so.o"
6294 ALLOCA_TSO="alloca.tso.o"
6299 if test $ac_cv_header_fnmatch_h = yes; then
6305 FNMATCH_SHO="fnmatch.so.o"
6306 FNMATCH_TSO="fnmatch.tso.o"
6311 { echo "$as_me:$LINENO: checking for library containing tgetent" >&5
6312 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6; }
6313 if test "${ac_cv_search_tgetent+set}" = set; then
6314 echo $ECHO_N "(cached) $ECHO_C" >&6
6316 ac_func_search_save_LIBS=$LIBS
6317 cat >conftest.$ac_ext <<_ACEOF
6320 cat confdefs.h >>conftest.$ac_ext
6321 cat >>conftest.$ac_ext <<_ACEOF
6322 /* end confdefs.h. */
6324 /* Override any GCC internal prototype to avoid an error.
6325 Use char because int might match the return type of a GCC
6326 builtin and then its argument prototype would still apply. */
6339 for ac_lib in '' ncurses termcap curses termlib; do
6340 if test -z "$ac_lib"; then
6341 ac_res="none required"
6344 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6346 rm -f conftest.$ac_objext conftest$ac_exeext
6347 if { (ac_try="$ac_link"
6349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6350 *) ac_try_echo
=$ac_try;;
6352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6353 (eval "$ac_link") 2>conftest.er1
6355 grep -v '^ *+' conftest.er1
>conftest.err
6357 cat conftest.err
>&5
6358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359 (exit $ac_status); } && {
6360 test -z "$ac_c_werror_flag" ||
6361 test ! -s conftest.err
6362 } && test -s conftest
$ac_exeext &&
6363 $as_test_x conftest
$ac_exeext; then
6364 ac_cv_search_tgetent
=$ac_res
6366 echo "$as_me: failed program was:" >&5
6367 sed 's/^/| /' conftest.
$ac_ext >&5
6372 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6374 if test "${ac_cv_search_tgetent+set}" = set; then
6378 if test "${ac_cv_search_tgetent+set}" = set; then
6381 ac_cv_search_tgetent
=no
6384 LIBS
=$ac_func_search_save_LIBS
6386 { echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
6387 echo "${ECHO_T}$ac_cv_search_tgetent" >&6; }
6388 ac_res
=$ac_cv_search_tgetent
6389 if test "$ac_res" != no
; then
6390 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6391 REGUTIL_TERM_LIB
="$ac_cv_search_tgetent"
6399 # Check whether --enable-debug was given.
6400 if test "${enable_debug+set}" = set; then
6401 enableval
=$enable_debug; with_debug
=$enableval
6408 cflags_g
="`echo $CFLAGS | grep -c '\-g'`"
6409 cflags_O
="`echo $CFLAGS | grep -c '\-O'`"
6411 if test "$with_debug" = yes; then
6414 if test "$cflags_g" = "0"; then
6415 CFLAGS
="${CFLAGS} -g"
6417 if test "$cflags_O" != "0"; then
6418 CFLAGS
="`echo ${CFLAGS} | sed -e s/-O.//`"
6422 if test "$cflags_O" = "0"; then
6423 CFLAGS
="${CFLAGS} -O"
6425 if test "$cflags_g" != "0"; then
6426 CFLAGS
="`echo ${CFLAGS} | sed -e s/-g//`"
6429 if test "$ac_cv_prog_CC" = "gcc" -o "$ac_cv_prog_CC" = "g++"; then
6430 if test "$with_debug" = yes; then
6431 CFLAGS
="${CFLAGS} -Wall"
6433 CFLAGS
="${CFLAGS} -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts"
6436 if test "$on_qnx4" = yes; then
6437 if test "$ac_cv_prog_CC" = "gcc"; then
6440 QNX4_CFLAGS
="-Wc,-r -b -j -Wc,-ei -N4096000 -zp4 -mf -DNO_REGEX -DQNX -DQNX4 -D__QNX__ -DSTRINGS_ALIGNED -Q"
6442 if test "$with_debug" = yes; then
6443 CFLAGS
="-g $QNX4_CFLAGS"
6445 CFLAGS
="-Otax $QNX4_CFLAGS"
6448 if test "$on_beos" = yes; then
6449 if test "$with_debug" = yes; then
6450 CFLAGS
="${CFLAGS} -Wall"
6452 CFLAGS
="${CFLAGS} -O2 -Wall"
6454 if test "$datadir" = "\${prefix}/share"; then
6455 datadir
="/boot/home/config/add-ons"
6461 # Check whether --enable-purify was given.
6462 if test "${enable_purify+set}" = set; then
6463 enableval
=$enable_purify; with_purify
=$enableval
6468 if test "$with_purify" = yes; then
6475 # Check whether --enable-efence was given.
6476 if test "${enable_efence+set}" = set; then
6477 enableval
=$enable_efence; with_efence
=$enableval
6482 if test "$with_efence" = yes; then
6489 # Check whether --enable-hpux_portable was given.
6490 if test "${enable_hpux_portable+set}" = set; then
6491 enableval
=$enable_hpux_portable; enable_hpux_portable
=$enableval
6493 enable_hpux_portable
=no
6498 # Check whether --with-dlfcnincdir was given.
6499 if test "${with_dlfcnincdir+set}" = set; then
6500 withval
=$with_dlfcnincdir; with_dlfcnincdir
=$withval
6505 if test "$with_dlfcnincdir" = no
; then
6508 for ac_header
in dlfcn.h
6510 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6511 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6512 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6514 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6515 echo $ECHO_N "(cached) $ECHO_C" >&6
6517 ac_res
=`eval echo '${'$as_ac_Header'}'`
6518 { echo "$as_me:$LINENO: result: $ac_res" >&5
6519 echo "${ECHO_T}$ac_res" >&6; }
6521 # Is the header compilable?
6522 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6523 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6524 cat >conftest.
$ac_ext <<_ACEOF
6527 cat confdefs.h
>>conftest.
$ac_ext
6528 cat >>conftest.
$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6530 $ac_includes_default
6531 #include <$ac_header>
6533 rm -f conftest.
$ac_objext
6534 if { (ac_try
="$ac_compile"
6536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6537 *) ac_try_echo=$ac_try;;
6539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6540 (eval "$ac_compile") 2>conftest.er1
6542 grep -v '^ *+' conftest.er1 >conftest.err
6544 cat conftest.err >&5
6545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546 (exit $ac_status); } && {
6547 test -z "$ac_c_werror_flag" ||
6548 test ! -s conftest.err
6549 } && test -s conftest.$ac_objext; then
6550 ac_header_compiler=yes
6552 echo "$as_me: failed program was:" >&5
6553 sed 's/^/| /' conftest.$ac_ext >&5
6555 ac_header_compiler=no
6558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6559 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6560 echo "${ECHO_T}$ac_header_compiler" >&6; }
6562 # Is the header present?
6563 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6565 cat >conftest.$ac_ext <<_ACEOF
6568 cat confdefs.h >>conftest.$ac_ext
6569 cat >>conftest.$ac_ext <<_ACEOF
6570 /* end confdefs.h. */
6571 #include <$ac_header>
6573 if { (ac_try="$ac_cpp conftest.$ac_ext"
6575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6576 *) ac_try_echo
=$ac_try;;
6578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6581 grep -v '^ *+' conftest.er1
>conftest.err
6583 cat conftest.err
>&5
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); } >/dev
/null
&& {
6586 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6587 test ! -s conftest.err
6589 ac_header_preproc
=yes
6591 echo "$as_me: failed program was:" >&5
6592 sed 's/^/| /' conftest.
$ac_ext >&5
6594 ac_header_preproc
=no
6597 rm -f conftest.err conftest.
$ac_ext
6598 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6599 echo "${ECHO_T}$ac_header_preproc" >&6; }
6601 # So? What about this header?
6602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6604 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6605 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6607 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6608 ac_header_preproc
=yes
6611 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6612 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6613 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6614 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6615 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6616 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6617 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6618 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6621 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6622 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6624 ## ---------------------------- ##
6625 ## Report this to mark@rexx.org ##
6626 ## ---------------------------- ##
6628 ) |
sed "s/^/$as_me: WARNING: /" >&2
6631 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6633 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6634 echo $ECHO_N "(cached) $ECHO_C" >&6
6636 eval "$as_ac_Header=\$ac_header_preproc"
6638 ac_res
=`eval echo '${'$as_ac_Header'}'`
6639 { echo "$as_me:$LINENO: result: $ac_res" >&5
6640 echo "${ECHO_T}$ac_res" >&6; }
6643 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6644 cat >>confdefs.h
<<_ACEOF
6645 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6652 if test "$ac_cv_header_dlfcn_h" = "yes" -o "$HAVE_DLFCN_H" = "1"; then
6656 # Ignore the warning messages for specified platforms
6662 { echo "$as_me:$LINENO: WARNING: Could not find dlfcn.h in the standard header locations." >&5
6663 echo "$as_me: WARNING: Could not find dlfcn.h in the standard header locations." >&2;}
6664 { echo "$as_me:$LINENO: WARNING: If your platform does support dynamic loading ie you have dlfcn.h " >&5
6665 echo "$as_me: WARNING: If your platform does support dynamic loading ie you have dlfcn.h " >&2;}
6666 { echo "$as_me:$LINENO: WARNING: then you may need to specify the location of dlfcn.h with the --with-dlfcnincdir switch" >&5
6667 echo "$as_me: WARNING: then you may need to specify the location of dlfcn.h with the --with-dlfcnincdir switch" >&2;}
6668 { echo "$as_me:$LINENO: WARNING: and the location of libdl.so with the --with-dlfcnlibdir switch." >&5
6669 echo "$as_me: WARNING: and the location of libdl.so with the --with-dlfcnlibdir switch." >&2;}
6674 if test -f "$with_dlfcnincdir/dlfcn.h"; then
6675 DLFCNINCDIR
="-I$with_dlfcnincdir"
6677 cat >>confdefs.h
<<\_ACEOF
6678 #define HAVE_DLFCN_H 1
6682 { { echo "$as_me:$LINENO: error: dlfcn.h not found in \"$with_dlfcnincdir\" as specified in --with-dlfcnincdir switch; cannot continue" >&5
6683 echo "$as_me: error: dlfcn.h not found in \"$with_dlfcnincdir\" as specified in --with-dlfcnincdir switch; cannot continue" >&2;}
6684 { (exit 1); exit 1; }; }
6690 { echo "$as_me:$LINENO: checking shared library/external function extensions" >&5
6691 echo $ECHO_N "checking shared library/external function extensions... $ECHO_C" >&6; }
6728 { echo "$as_me:$LINENO: result: $SHLPST/$MODPST" >&5
6729 echo "${ECHO_T}$SHLPST/$MODPST" >&6; }
6732 # Check whether --with-dlfcnlibdir was given.
6733 if test "${with_dlfcnlibdir+set}" = set; then
6734 withval
=$with_dlfcnlibdir; with_dlfcnlibdir
=$withval
6739 if test "$with_dlfcnlibdir" = no
; then
6742 if test -f "$with_dlfcnlibdir/libdl$SHLPST"; then
6743 DLFCNLIBDIR
="-L$with_dlfcnlibdir -ldl"
6745 { { echo "$as_me:$LINENO: error: libdl$SHLPST not found in \"$with_dlfcnlibdir\" as specified in --with-dlfcnlibdir switch; cannot continue" >&5
6746 echo "$as_me: error: libdl$SHLPST not found in \"$with_dlfcnlibdir\" as specified in --with-dlfcnlibdir switch; cannot continue" >&2;}
6747 { (exit 1); exit 1; }; }
6753 # Check whether --enable-orexx-binary-compatible was given.
6754 if test "${enable_orexx_binary_compatible+set}" = set; then
6755 enableval
=$enable_orexx_binary_compatible; with_orexx_bc
=$enableval
6760 if test "$with_orexx_bc" = yes; then
6761 OREXX_BINARY_COMPATIBLE
="1"
6762 cat >>confdefs.h
<<\_ACEOF
6763 #define OREXX_BINARY_COMPATIBLE 1
6768 # Check whether --enable-posix-threads was given.
6769 if test "${enable_posix_threads+set}" = set; then
6770 enableval
=$enable_posix_threads; enable_posix_threads
=no
6772 enable_posix_threads
=yes
6776 # Check whether --enable-gci was given.
6777 if test "${enable_gci+set}" = set; then
6778 enableval
=$enable_gci; with_gci
=no
6780 with_gci
=$gci_available
6783 if test "$with_gci" = yes; then
6784 GCI_SHO
="gci_call.so.o gci_convert.so.o gci_execute.so.o gci_helper.so.o gci_prepare.so.o gci_reginabridge.so.o gci_rxfuncdefine.so.o gci_tree.so.o"
6785 HAVE_GCI
="-DHAVE_GCI -I\$(gcidir)"
6793 if test "$ac_cv_prog_CC" = "gcc" -o "$ac_cv_prog_CC" = "g++"; then
6795 { echo "$as_me:$LINENO: checking whether gcc understands --version-script" >&5
6796 echo $ECHO_N "checking whether gcc understands --version-script... $ECHO_C" >&6; }
6797 if test "${mh_cv_version_script+set}" = set; then
6798 echo $ECHO_N "(cached) $ECHO_C" >&6
6801 echo "TEST {" > conftest.def
6802 echo "global:" >> conftest.def
6803 echo "Test;" >> conftest.def
6804 echo "};" >> conftest.def
6805 mh_save_libs
="$LDFLAGS"
6806 LDFLAGS
="$LDFLAGS -Wl,--version-script=conftest.def"
6807 cat >conftest.
$ac_ext <<_ACEOF
6810 cat confdefs.h
>>conftest.
$ac_ext
6811 cat >>conftest.
$ac_ext <<_ACEOF
6812 /* end confdefs.h. */
6822 rm -f conftest.
$ac_objext conftest
$ac_exeext
6823 if { (ac_try
="$ac_link"
6825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6826 *) ac_try_echo=$ac_try;;
6828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6829 (eval "$ac_link") 2>conftest.er1
6831 grep -v '^ *+' conftest.er1 >conftest.err
6833 cat conftest.err >&5
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); } && {
6836 test -z "$ac_c_werror_flag" ||
6837 test ! -s conftest.err
6838 } && test -s conftest$ac_exeext &&
6839 $as_test_x conftest$ac_exeext; then
6840 mh_cv_version_script=yes
6842 echo "$as_me: failed program was:" >&5
6843 sed 's/^/| /' conftest.$ac_ext >&5
6845 mh_cv_version_script=no
6849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6850 conftest$ac_exeext conftest.$ac_ext
6851 LDFLAGS="$mh_save_libs"
6856 if test "$mh_cv_version_script" = yes; then
6857 SHL_SCRIPT="-Wl,--version-script=${srcdir}/regina_elf.def"
6862 { echo "$as_me:$LINENO: result: $mh_cv_version_script" >&5
6863 echo "${ECHO_T}$mh_cv_version_script" >&6; }
6869 THREADING_COMPILE=""
6871 THREADSAFE_TARGET=""
6873 if test "$enable_posix_threads" = yes; then
6874 { echo "$as_me:$LINENO: checking for main in -lrt" >&5
6875 echo $ECHO_N "checking for main in -lrt... $ECHO_C" >&6; }
6876 if test "${ac_cv_lib_rt_main+set}" = set; then
6877 echo $ECHO_N "(cached) $ECHO_C" >&6
6879 ac_check_lib_save_LIBS=$LIBS
6881 cat >conftest.$ac_ext <<_ACEOF
6884 cat confdefs.h >>conftest.$ac_ext
6885 cat >>conftest.$ac_ext <<_ACEOF
6886 /* end confdefs.h. */
6897 rm -f conftest.$ac_objext conftest$ac_exeext
6898 if { (ac_try="$ac_link"
6900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6901 *) ac_try_echo
=$ac_try;;
6903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6904 (eval "$ac_link") 2>conftest.er1
6906 grep -v '^ *+' conftest.er1
>conftest.err
6908 cat conftest.err
>&5
6909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); } && {
6911 test -z "$ac_c_werror_flag" ||
6912 test ! -s conftest.err
6913 } && test -s conftest
$ac_exeext &&
6914 $as_test_x conftest
$ac_exeext; then
6915 ac_cv_lib_rt_main
=yes
6917 echo "$as_me: failed program was:" >&5
6918 sed 's/^/| /' conftest.
$ac_ext >&5
6920 ac_cv_lib_rt_main
=no
6923 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6924 conftest
$ac_exeext conftest.
$ac_ext
6925 LIBS
=$ac_check_lib_save_LIBS
6927 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_main" >&5
6928 echo "${ECHO_T}$ac_cv_lib_rt_main" >&6; }
6929 if test $ac_cv_lib_rt_main = yes; then
6935 { echo "$as_me:$LINENO: checking whether Posix Threads are supported" >&5
6936 echo $ECHO_N "checking whether Posix Threads are supported... $ECHO_C" >&6; }
6938 save_cflags
="$CFLAGS"
6939 pthread_libs
="pthreads pthread c_r"
6942 CFLAGS
="$CFLAGS -pthread"
6945 for mh_lib
in $pthread_libs; do
6946 LIBS
="$tmpLIBS -l${mh_lib}"
6947 cat >conftest.
$ac_ext <<_ACEOF
6950 cat confdefs.h
>>conftest.
$ac_ext
6951 cat >>conftest.
$ac_ext <<_ACEOF
6952 /* end confdefs.h. */
6953 #include <pthread.h>
6957 pthread_create(NULL,NULL,NULL,NULL)
6962 rm -f conftest.
$ac_objext conftest
$ac_exeext
6963 if { (ac_try
="$ac_link"
6965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6966 *) ac_try_echo=$ac_try;;
6968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6969 (eval "$ac_link") 2>conftest.er1
6971 grep -v '^ *+' conftest.er1 >conftest.err
6973 cat conftest.err >&5
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); } && {
6976 test -z "$ac_c_werror_flag" ||
6977 test ! -s conftest.err
6978 } && test -s conftest$ac_exeext &&
6979 $as_test_x conftest$ac_exeext; then
6982 echo "$as_me: failed program was:" >&5
6983 sed 's/^/| /' conftest.$ac_ext >&5
6989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6990 conftest$ac_exeext conftest.$ac_ext
6991 if test "$mh_has_pthreads" = yes; then
6992 MH_MT_LIBS="-l${mh_lib}"
6994 THREADING_COMPILE="-D_REENTRANT -DPOSIX"
6996 THREADSAFE_TARGET="threader${binarybitprefix}${EXEEXT}"
7000 if test "$ac_cv_prog_CC" = "gcc" -o "$ac_cv_prog_CC" = "g++"; then
7001 THREADING_COMPILE="-D_REENTRANT -DPOSIX"
7002 if test "$mh_rt_lib_found" = "yes"; then
7003 THREADING_LINK="-lrt"
7006 THREADING_COMPILE="-mt -D_REENTRANT -DREENTRANT -D_PTHREAD_SEMANTICS"
7007 THREADING_LINK="-mt"
7011 if test "$ac_cv_prog_CC" = "gcc" -o "$ac_cv_prog_CC" = "g++"; then
7012 THREADING_COMPILE="-D_REENTRANT -DPOSIX"
7014 if test "$mh_rt_lib_found" = "yes"; then
7015 THREADING_LINK="-lrt"
7021 THREADING_COMPILE="-pthread -D_REENTRANT -DPOSIX"
7022 THREADING_LINK="-pthread"
7025 THREADING_COMPILE="-D_REENTRANT -DPOSIX"
7029 if test "$ac_cv_prog_CC" = "gcc" -o "$ac_cv_prog_CC" = "g++"; then
7030 THREADING_COMPILE="-D_REENTRANT -DPOSIX"
7038 CFLAGS="$save_cflags"
7039 { echo "$as_me:$LINENO: result: $mh_has_pthreads" >&5
7040 echo "${ECHO_T}$mh_has_pthreads" >&6; }
7048 if test "$mh_has_pthreads" = yes; then
7049 save_cflags="$CFLAGS"
7050 CFLAGS="$CFLAGS $THREADING_COMPILE"
7052 # Where we know the format of getgrgid_r() function
7053 # only test for that case
7055 if test "$ac_cv_func_getgrgid_r" = yes; then
7056 { echo "$as_me:$LINENO: checking if getgrgid_r has 5 args and returns an int" >&5
7057 echo $ECHO_N "checking if getgrgid_r has 5 args and returns an int... $ECHO_C" >&6; }
7058 if test "${mh_cv_getgrgid_r_int5+set}" = set; then
7059 echo $ECHO_N "(cached) $ECHO_C" >&6
7061 cat >conftest.$ac_ext <<_ACEOF
7064 cat confdefs.h >>conftest.$ac_ext
7065 cat >>conftest.$ac_ext <<_ACEOF
7066 /* end confdefs.h. */
7067 #include <sys/types.h>
7074 struct group *ptr,result;
7078 rc = getgrgid_r(gid,&result,buf,sizeof(buf),&ptr);
7084 rm -f conftest.$ac_objext
7085 if { (ac_try="$ac_compile"
7087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7088 *) ac_try_echo
=$ac_try;;
7090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7091 (eval "$ac_compile") 2>conftest.er1
7093 grep -v '^ *+' conftest.er1
>conftest.err
7095 cat conftest.err
>&5
7096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7097 (exit $ac_status); } && {
7098 test -z "$ac_c_werror_flag" ||
7099 test ! -s conftest.err
7100 } && test -s conftest.
$ac_objext; then
7101 mh_cv_getgrgid_r_int5
=yes
7103 echo "$as_me: failed program was:" >&5
7104 sed 's/^/| /' conftest.
$ac_ext >&5
7106 mh_cv_getgrgid_r_int5
=no
7109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7111 { echo "$as_me:$LINENO: result: $mh_cv_getgrgid_r_int5" >&5
7112 echo "${ECHO_T}$mh_cv_getgrgid_r_int5" >&6; }
7113 if test $mh_cv_getgrgid_r_int5 = yes; then
7114 cat >>confdefs.h
<<\_ACEOF
7115 #define HAVE_GETGRGID_R_RETURNS_INT_5_PARAMS 1
7120 if test "$mh_cv_getgrgid_r_int5" = "no"; then
7121 { echo "$as_me:$LINENO: checking if getgrgid_r has 4 args and returns an int" >&5
7122 echo $ECHO_N "checking if getgrgid_r has 4 args and returns an int... $ECHO_C" >&6; }
7123 if test "${mh_cv_getgrgid_r_int4+set}" = set; then
7124 echo $ECHO_N "(cached) $ECHO_C" >&6
7126 cat >conftest.
$ac_ext <<_ACEOF
7129 cat confdefs.h
>>conftest.
$ac_ext
7130 cat >>conftest.
$ac_ext <<_ACEOF
7131 /* end confdefs.h. */
7132 #include <sys/types.h>
7139 struct group *ptr,result;
7143 rc = getgrgid_r(gid,&result,buf,sizeof(buf));
7149 rm -f conftest.
$ac_objext
7150 if { (ac_try
="$ac_compile"
7152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7153 *) ac_try_echo=$ac_try;;
7155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7156 (eval "$ac_compile") 2>conftest.er1
7158 grep -v '^ *+' conftest.er1 >conftest.err
7160 cat conftest.err >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } && {
7163 test -z "$ac_c_werror_flag" ||
7164 test ! -s conftest.err
7165 } && test -s conftest.$ac_objext; then
7166 mh_cv_getgrgid_r_int4=yes
7168 echo "$as_me: failed program was:" >&5
7169 sed 's/^/| /' conftest.$ac_ext >&5
7171 mh_cv_getgrgid_r_int4=no
7174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7176 { echo "$as_me:$LINENO: result: $mh_cv_getgrgid_r_int4" >&5
7177 echo "${ECHO_T}$mh_cv_getgrgid_r_int4" >&6; }
7178 if test $mh_cv_getgrgid_r_int4 = yes; then
7179 cat >>confdefs.h <<\_ACEOF
7180 #define HAVE_GETGRGID_R_RETURNS_INT_4_PARAMS 1
7185 if test "$mh_cv_getgrgid_r_int4" = "no"; then
7186 { echo "$as_me:$LINENO: checking if getgrgid_r returns a struct group *" >&5
7187 echo $ECHO_N "checking if getgrgid_r returns a struct group *... $ECHO_C" >&6; }
7188 if test "${mh_cv_getgrgid_r_struct+set}" = set; then
7189 echo $ECHO_N "(cached) $ECHO_C" >&6
7191 cat >conftest.$ac_ext <<_ACEOF
7194 cat confdefs.h >>conftest.$ac_ext
7195 cat >>conftest.$ac_ext <<_ACEOF
7196 /* end confdefs.h. */
7197 #include <sys/types.h>
7204 struct group *ptr,result;
7208 ptr = getgrgid_r(gid,&result,buf,sizeof(buf));
7214 rm -f conftest.$ac_objext
7215 if { (ac_try="$ac_compile"
7217 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7218 *) ac_try_echo
=$ac_try;;
7220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7221 (eval "$ac_compile") 2>conftest.er1
7223 grep -v '^ *+' conftest.er1
>conftest.err
7225 cat conftest.err
>&5
7226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227 (exit $ac_status); } && {
7228 test -z "$ac_c_werror_flag" ||
7229 test ! -s conftest.err
7230 } && test -s conftest.
$ac_objext; then
7231 mh_cv_getgrgid_r_struct
=yes
7233 echo "$as_me: failed program was:" >&5
7234 sed 's/^/| /' conftest.
$ac_ext >&5
7236 mh_cv_getgrgid_r_struct
=no
7239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7241 { echo "$as_me:$LINENO: result: $mh_cv_getgrgid_r_struct" >&5
7242 echo "${ECHO_T}$mh_cv_getgrgid_r_struct" >&6; }
7243 if test $mh_cv_getgrgid_r_struct = yes; then
7244 cat >>confdefs.h
<<\_ACEOF
7245 #define HAVE_GETGRGID_R_RETURNS_STRUCT 1
7250 if test "$mh_cv_getgrgid_r_int4" = "no"; then
7251 { echo "$as_me:$LINENO: checking if getgrgid_r returns a struct group *" >&5
7252 echo $ECHO_N "checking if getgrgid_r returns a struct group *... $ECHO_C" >&6; }
7253 if test "${mh_cv_getgrgid_r_struct+set}" = set; then
7254 echo $ECHO_N "(cached) $ECHO_C" >&6
7256 cat >conftest.
$ac_ext <<_ACEOF
7259 cat confdefs.h
>>conftest.
$ac_ext
7260 cat >>conftest.
$ac_ext <<_ACEOF
7261 /* end confdefs.h. */
7262 #include <sys/types.h>
7269 struct group *ptr,result;
7273 ptr = getgrgid_r(gid,&result,buf,sizeof(buf));
7279 rm -f conftest.
$ac_objext
7280 if { (ac_try
="$ac_compile"
7282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7283 *) ac_try_echo=$ac_try;;
7285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7286 (eval "$ac_compile") 2>conftest.er1
7288 grep -v '^ *+' conftest.er1 >conftest.err
7290 cat conftest.err >&5
7291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7292 (exit $ac_status); } && {
7293 test -z "$ac_c_werror_flag" ||
7294 test ! -s conftest.err
7295 } && test -s conftest.$ac_objext; then
7296 mh_cv_getgrgid_r_struct=yes
7298 echo "$as_me: failed program was:" >&5
7299 sed 's/^/| /' conftest.$ac_ext >&5
7301 mh_cv_getgrgid_r_struct=no
7304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7306 { echo "$as_me:$LINENO: result: $mh_cv_getgrgid_r_struct" >&5
7307 echo "${ECHO_T}$mh_cv_getgrgid_r_struct" >&6; }
7308 if test $mh_cv_getgrgid_r_struct = yes; then
7309 cat >>confdefs.h <<\_ACEOF
7310 #define HAVE_GETGRGID_R_RETURNS_STRUCT 1
7319 if test "$ac_cv_func_getpwuid_r" = yes; then
7320 { echo "$as_me:$LINENO: checking if getpwuid_r returns an int" >&5
7321 echo $ECHO_N "checking if getpwuid_r returns an int... $ECHO_C" >&6; }
7322 if test "${mh_cv_getpwuid_r_int+set}" = set; then
7323 echo $ECHO_N "(cached) $ECHO_C" >&6
7325 cat >conftest.$ac_ext <<_ACEOF
7328 cat confdefs.h >>conftest.$ac_ext
7329 cat >>conftest.$ac_ext <<_ACEOF
7330 /* end confdefs.h. */
7331 #include <sys/types.h>
7338 struct passwd *ptr,*result;
7342 rc = getpwuid_r(uid,&result,buf,sizeof(buf),&ptr);
7348 rm -f conftest.$ac_objext
7349 if { (ac_try="$ac_compile"
7351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7352 *) ac_try_echo
=$ac_try;;
7354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7355 (eval "$ac_compile") 2>conftest.er1
7357 grep -v '^ *+' conftest.er1
>conftest.err
7359 cat conftest.err
>&5
7360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7361 (exit $ac_status); } && {
7362 test -z "$ac_c_werror_flag" ||
7363 test ! -s conftest.err
7364 } && test -s conftest.
$ac_objext; then
7365 mh_cv_getpwuid_r_int
=yes
7367 echo "$as_me: failed program was:" >&5
7368 sed 's/^/| /' conftest.
$ac_ext >&5
7370 mh_cv_getpwuid_r_int
=no
7373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7375 { echo "$as_me:$LINENO: result: $mh_cv_getpwuid_r_int" >&5
7376 echo "${ECHO_T}$mh_cv_getpwuid_r_int" >&6; }
7377 if test $mh_cv_getpwuid_r_int = yes; then
7378 cat >>confdefs.h
<<\_ACEOF
7379 #define HAVE_GETPWUID_R_RETURNS_INT 1
7384 if test "$mh_cv_getpwuid_r_int" = "no"; then
7385 { echo "$as_me:$LINENO: checking if getpwuid_r returns a struct passwd *" >&5
7386 echo $ECHO_N "checking if getpwuid_r returns a struct passwd *... $ECHO_C" >&6; }
7387 if test "${mh_cv_getpwuid_r_struct+set}" = set; then
7388 echo $ECHO_N "(cached) $ECHO_C" >&6
7390 cat >conftest.
$ac_ext <<_ACEOF
7393 cat confdefs.h
>>conftest.
$ac_ext
7394 cat >>conftest.
$ac_ext <<_ACEOF
7395 /* end confdefs.h. */
7396 #include <sys/types.h>
7403 struct group *ptr,*result;
7407 ptr = getpwuid_r(uid,&result,buf,sizeof(buf));
7413 rm -f conftest.
$ac_objext
7414 if { (ac_try
="$ac_compile"
7416 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7417 *) ac_try_echo=$ac_try;;
7419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7420 (eval "$ac_compile") 2>conftest.er1
7422 grep -v '^ *+' conftest.er1 >conftest.err
7424 cat conftest.err >&5
7425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7426 (exit $ac_status); } && {
7427 test -z "$ac_c_werror_flag" ||
7428 test ! -s conftest.err
7429 } && test -s conftest.$ac_objext; then
7430 mh_cv_getpwuid_r_struct=yes
7432 echo "$as_me: failed program was:" >&5
7433 sed 's/^/| /' conftest.$ac_ext >&5
7435 mh_cv_getpwuid_r_struct=no
7438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7440 { echo "$as_me:$LINENO: result: $mh_cv_getpwuid_r_struct" >&5
7441 echo "${ECHO_T}$mh_cv_getpwuid_r_struct" >&6; }
7442 if test $mh_cv_getpwuid_r_struct = yes; then
7443 cat >>confdefs.h <<\_ACEOF
7444 #define HAVE_GETPWUID_R_RETURNS_STRUCT 1
7451 if test "$ac_cv_func_gethostbyname_r" = yes; then
7452 { echo "$as_me:$LINENO: checking if gethostbyname_r has 6 args and returns an int" >&5
7453 echo $ECHO_N "checking if gethostbyname_r has 6 args and returns an int... $ECHO_C" >&6; }
7454 if test "${mh_cv_gethostbyname_r_int6+set}" = set; then
7455 echo $ECHO_N "(cached) $ECHO_C" >&6
7457 cat >conftest.$ac_ext <<_ACEOF
7460 cat confdefs.h >>conftest.$ac_ext
7461 cat >>conftest.$ac_ext <<_ACEOF
7462 /* end confdefs.h. */
7463 #include <sys/types.h>
7470 struct hostent *he,*rc;
7472 struct hostent retval;
7473 rc = gethostbyname_r("fred",&retval,buf,sizeof(buf),&he,&herr);
7479 rm -f conftest.$ac_objext
7480 if { (ac_try="$ac_compile"
7482 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7483 *) ac_try_echo
=$ac_try;;
7485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7486 (eval "$ac_compile") 2>conftest.er1
7488 grep -v '^ *+' conftest.er1
>conftest.err
7490 cat conftest.err
>&5
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 (exit $ac_status); } && {
7493 test -z "$ac_c_werror_flag" ||
7494 test ! -s conftest.err
7495 } && test -s conftest.
$ac_objext; then
7496 mh_cv_gethostbyname_r_int6
=yes
7498 echo "$as_me: failed program was:" >&5
7499 sed 's/^/| /' conftest.
$ac_ext >&5
7501 mh_cv_gethostbyname_r_int6
=no
7504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7506 { echo "$as_me:$LINENO: result: $mh_cv_gethostbyname_r_int6" >&5
7507 echo "${ECHO_T}$mh_cv_gethostbyname_r_int6" >&6; }
7508 if test $mh_cv_gethostbyname_r_int6 = yes; then
7509 cat >>confdefs.h
<<\_ACEOF
7510 #define HAVE_GETHOSTBYNAME_R_RETURNS_INT_6_PARAMS 1
7515 if test "$mh_cv_gethostbyname_r_int6" = "no"; then
7516 { echo "$as_me:$LINENO: checking if gethostbyname_r has 5 args and returns a struct" >&5
7517 echo $ECHO_N "checking if gethostbyname_r has 5 args and returns a struct... $ECHO_C" >&6; }
7518 if test "${mh_cv_gethostbyname_r_struct5+set}" = set; then
7519 echo $ECHO_N "(cached) $ECHO_C" >&6
7521 cat >conftest.
$ac_ext <<_ACEOF
7524 cat confdefs.h
>>conftest.
$ac_ext
7525 cat >>conftest.
$ac_ext <<_ACEOF
7526 /* end confdefs.h. */
7527 #include <sys/types.h>
7534 struct hostent *he,*rc;
7536 struct hostent retval;
7537 rc = gethostbyname_r("fred",&retval,buf,sizeof(buf),&herr);
7543 rm -f conftest.
$ac_objext
7544 if { (ac_try
="$ac_compile"
7546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7547 *) ac_try_echo=$ac_try;;
7549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7550 (eval "$ac_compile") 2>conftest.er1
7552 grep -v '^ *+' conftest.er1 >conftest.err
7554 cat conftest.err >&5
7555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7556 (exit $ac_status); } && {
7557 test -z "$ac_c_werror_flag" ||
7558 test ! -s conftest.err
7559 } && test -s conftest.$ac_objext; then
7560 mh_cv_gethostbyname_r_struct5=yes
7562 echo "$as_me: failed program was:" >&5
7563 sed 's/^/| /' conftest.$ac_ext >&5
7565 mh_cv_gethostbyname_r_struct5=no
7568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7570 { echo "$as_me:$LINENO: result: $mh_cv_gethostbyname_r_struct5" >&5
7571 echo "${ECHO_T}$mh_cv_gethostbyname_r_struct5" >&6; }
7572 if test $mh_cv_gethostbyname_r_struct5 = yes; then
7573 cat >>confdefs.h <<\_ACEOF
7574 #define HAVE_GETHOSTBYNAME_R_RETURNS_STRUCT_5_PARAMS 1
7582 CFLAGS="$save_cflags"
7583 REGINAMULTITHREAD="yes"
7585 REGINAMULTITHREAD="no"
7589 # Check whether --enable-tracemem was given.
7590 if test "${enable_tracemem+set}" = set; then
7591 enableval=$enable_tracemem; with_tracemem=$enableval
7596 if test "$with_tracemem" = yes; then
7597 TRACEMEM="-DTRACEMEM"
7603 # Check whether --enable-flists was given.
7604 if test "${enable_flists+set}" = set; then
7605 enableval=$enable_flists; with_flists=$enableval
7610 if test "$with_flists" = no; then
7618 # Check whether --with-socket was given.
7619 if test "${with_socket+set}" = set; then
7620 withval=$with_socket; with_socket=$withval
7625 if test "$with_socket" = no; then
7628 REXXSOCKET="-DRXSOCKET=$with_socket"
7633 # Check whether --with-staticfunctions was given.
7634 if test "${with_staticfunctions+set}" = set; then
7635 withval=$with_staticfunctions; with_staticfunctions=$withval
7637 with_staticfunctions=no
7640 if test "$with_staticfunctions" = "yes" -o "$on_qnx4" = "yes"; then
7641 STATICLD_SHO="staticld.so.o rxpack.so.o"
7642 if test "$with_staticfunctions" = "no"; then
7655 OBJECTS='$('OFILES')'
7659 DYN_COMP="-DDYNAMIC"
7671 # OTHER_INSTALLS is set to install a non-version numbered shared library
7672 # by default; ie. no .\$(ABI) suffix. If the regina executable is not built,
7673 # then there is no shared library. Set OTHER_INSTALLS="installabilib" if you
7674 # are building a version numbered shared library.
7675 OTHER_INSTALLS="installlib"
7676 BASE_INSTALL="installbase"
7677 BASE_BINARY="binarybase"
7684 SYS_DEFS="-D_HPUX_SOURCE"
7685 cat >>confdefs.h <<\_ACEOF
7686 #define SELECT_IN_TIME_H 1
7691 SYS_DEFS="-D_HPUX_SOURCE"
7694 SYS_DEFS="-D_ALL_SOURCE -DAIX"
7695 # STATIC_LDFLAGS="-bnso -bI:/lib/syscalls.exp"
7698 if test "$ac_cv_prog_CC" = "gcc" -o "$ac_cv_prog_CC" = "g++"; then
7699 SYS_DEFS="-D_POSIX_SOURCE -D_XOPEN_SOURCE"
7701 SYS_DEFS="-D_POSIX_SOURCE -D_XOPEN_SOURCE -Olimit 800"
7705 SYS_DEFS="-DSUNOS -DSUNOS_STRTOD_BUG"
7708 BASE_BINARY="atheosbinary"
7711 BASE_INSTALL="beosinstall"
7712 BASE_BINARY="beosbinary"
7721 # getting duplicate targets
7723 EEXTRA="-mf -N0x20000 -Q"
7731 BASE_INSTALL="cygwininstall"
7732 BASE_BINARY="cygwinbinary"
7736 # to test use: --build=ppc-apple-darwin10.1 --target=ppc-apple-darwin10.1
7738 # Link switches for building "bundles"
7740 OTHER_INSTALLS="installlib installmacosx"
7745 LD_RXLIB_A1="${LIBEXE} cr \$(@)"
7746 LD_RXLIB_A2="${LIBEXE} cr \$(@)"
7747 LD_RXLIB_UTILA="${LIBEXE} cr \$(@)"
7751 SHL_LD="${LIBEXE} cr ${SHLPRE}${SHLFILE}${SHLPST} \$(SHOFILES)"
7753 STATICLIB="${LIBPRE}${LIBFILE}${LIBPST}"
7755 LIBFLAGS="cr ${LIBPRE}${LIBFILE}${LIBPST}"
7756 LIBLINK="-L. -l${LIBFILE}"
7757 LINKSHL="-L. -l${LIBFILE}" # ensure we link to static library for execiser
7758 DYN_COMP="$DYN_COMP -DDYNAMIC_STATIC"
7760 SHL_BASE="${SHLPRE}${SHLFILE}${SHLPST}"
7761 SHL_TARGETS="${SHL_BASE} ${SHLPRE}regutil${MODPST} regina${binarybitprefix}${EXEEXT} ${SHLPRE}rxtest1${MODPST} ${SHLPRE}rxtest2${MODPST} $EXTRATARGET"
7762 EXECISER_DEP="${STATICLIB}"
7763 OTHER_INSTALLS="regina${binarybitprefix}${EXEEXT} $OTHER_INSTALLS"
7764 RANLIB_DYNAMIC="-\$(RANLIB) \$(@)"
7766 # Check whether --with-testpackage was given.
7767 if test "${with_testpackage+set}" = set; then
7768 withval=$with_testpackage; with_test=$withval
7774 if test "$with_testpackage" = "yes"; then
7775 MH_FUNC_LIBS="$MH_FUNC_LIBS ${SHLPRE}rxtest1${MODPST} ${SHLPRE}rxtest2${MODPST}"
7776 cat >>confdefs.h <<\_ACEOF
7777 #define HAVE_TEST_PACKAGE 1
7780 EXECISER_DEP="${EXECISER_DEP} ${SHLPRE}rxtest1${MODPST} ${SHLPRE}rxtest2${MODPST}"
7783 # Check whether --with-regutil was given.
7784 if test "${with_regutil+set}" = set; then
7785 withval=$with_regutil; with_regutil=$withval
7790 if test "$with_regutil" = "yes" -o "xregutil" = "xregutil"; then
7791 MH_FUNC_LIBS="$MH_FUNC_LIBS ${SHLPRE}regutil${MODPST}"
7792 cat >>confdefs.h <<\_ACEOF
7793 #define HAVE_REXXUTIL_PACKAGE 1
7798 # Check whether --with-rexxcurses was given.
7799 if test "${with_rexxcurses+set}" = set; then
7800 withval=$with_rexxcurses; with_rexxcurses=$withval
7805 if test "$with_rexxcurses" = "yes"; then
7806 # Extract the first word of "rxcurses-config", so it can be a program name with args.
7807 set dummy rxcurses-config; ac_word=$2
7808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7810 if test "${ac_cv_prog_rxcurses_config+set}" = set; then
7811 echo $ECHO_N "(cached) $ECHO_C" >&6
7813 if test -n "$rxcurses_config"; then
7814 ac_cv_prog_rxcurses_config="$rxcurses_config" # Let the user override the test.
7816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7820 test -z "$as_dir" && as_dir=.
7821 for ac_exec_ext in '' $ac_executable_extensions; do
7822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7823 ac_cv_prog_rxcurses_config="yes"
7824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7831 test -z "$ac_cv_prog_rxcurses_config" && ac_cv_prog_rxcurses_config="no"
7834 rxcurses_config=$ac_cv_prog_rxcurses_config
7835 if test -n "$rxcurses_config"; then
7836 { echo "$as_me:$LINENO: result: $rxcurses_config" >&5
7837 echo "${ECHO_T}$rxcurses_config" >&6; }
7839 { echo "$as_me:$LINENO: result: no" >&5
7840 echo "${ECHO_T}no" >&6; }
7844 if test "$ac_cv_prog_rxcurses_config" = yes; then
7845 EXTRA_LIB=`rxcurses-config
--libs`
7846 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
7847 cat >>confdefs.h <<\_ACEOF
7848 #define HAVE_REXXCURSES_PACKAGE 1
7852 { { echo "$as_me:$LINENO: error: rxcurses-config not found. Cannot use --with-rexxcurses switch" >&5
7853 echo "$as_me: error: rxcurses-config not found. Cannot use --with-rexxcurses switch" >&2;}
7854 { (exit 1); exit 1; }; }
7858 # Check whether --with-rexxtk was given.
7859 if test "${with_rexxtk+set}" = set; then
7860 withval=$with_rexxtk; with_rexxtk=$withval
7865 if test "$with_rexxtk" = "yes"; then
7866 # Extract the first word of "rexxtk-config", so it can be a program name with args.
7867 set dummy rexxtk-config; ac_word=$2
7868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7870 if test "${ac_cv_prog_rexxtk_config+set}" = set; then
7871 echo $ECHO_N "(cached) $ECHO_C" >&6
7873 if test -n "$rexxtk_config"; then
7874 ac_cv_prog_rexxtk_config="$rexxtk_config" # Let the user override the test.
7876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7880 test -z "$as_dir" && as_dir=.
7881 for ac_exec_ext in '' $ac_executable_extensions; do
7882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7883 ac_cv_prog_rexxtk_config="yes"
7884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7891 test -z "$ac_cv_prog_rexxtk_config" && ac_cv_prog_rexxtk_config="no"
7894 rexxtk_config=$ac_cv_prog_rexxtk_config
7895 if test -n "$rexxtk_config"; then
7896 { echo "$as_me:$LINENO: result: $rexxtk_config" >&5
7897 echo "${ECHO_T}$rexxtk_config" >&6; }
7899 { echo "$as_me:$LINENO: result: no" >&5
7900 echo "${ECHO_T}no" >&6; }
7904 if test "$ac_cv_prog_rexxtk_config" = yes; then
7905 EXTRA_LIB=`rexxtk-config
--libs`
7906 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
7907 cat >>confdefs.h <<\_ACEOF
7908 #define HAVE_REXXTK_PACKAGE 1
7912 { { echo "$as_me:$LINENO: error: rexxtk-config not found. Cannot use --with-rexxtk switch" >&5
7913 echo "$as_me: error: rexxtk-config not found. Cannot use --with-rexxtk switch" >&2;}
7914 { (exit 1); exit 1; }; }
7918 # Check whether --with-rexxgd was given.
7919 if test "${with_rexxgd+set}" = set; then
7920 withval=$with_rexxgd; with_rexxgd=$withval
7925 if test "$with_rexxgd" = "yes"; then
7926 # Extract the first word of "rexxgd-config", so it can be a program name with args.
7927 set dummy rexxgd-config; ac_word=$2
7928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7930 if test "${ac_cv_prog_rexxgd_config+set}" = set; then
7931 echo $ECHO_N "(cached) $ECHO_C" >&6
7933 if test -n "$rexxgd_config"; then
7934 ac_cv_prog_rexxgd_config="$rexxgd_config" # Let the user override the test.
7936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7940 test -z "$as_dir" && as_dir=.
7941 for ac_exec_ext in '' $ac_executable_extensions; do
7942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7943 ac_cv_prog_rexxgd_config="yes"
7944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7951 test -z "$ac_cv_prog_rexxgd_config" && ac_cv_prog_rexxgd_config="no"
7954 rexxgd_config=$ac_cv_prog_rexxgd_config
7955 if test -n "$rexxgd_config"; then
7956 { echo "$as_me:$LINENO: result: $rexxgd_config" >&5
7957 echo "${ECHO_T}$rexxgd_config" >&6; }
7959 { echo "$as_me:$LINENO: result: no" >&5
7960 echo "${ECHO_T}no" >&6; }
7964 if test "$ac_cv_prog_rexxgd_config" = yes; then
7965 EXTRA_LIB=`rexxgd-config
--libs`
7966 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
7967 cat >>confdefs.h <<\_ACEOF
7968 #define HAVE_REXXGD_PACKAGE 1
7972 { { echo "$as_me:$LINENO: error: rexxgd-config not found. Cannot use --with-rexxgd switch" >&5
7973 echo "$as_me: error: rexxgd-config not found. Cannot use --with-rexxgd switch" >&2;}
7974 { (exit 1); exit 1; }; }
7978 # Check whether --with-rexxcurl was given.
7979 if test "${with_rexxcurl+set}" = set; then
7980 withval=$with_rexxcurl; with_rexxcurl=$withval
7985 if test "$with_rexxcurl" = "yes"; then
7986 # Extract the first word of "rexxcurl-config", so it can be a program name with args.
7987 set dummy rexxcurl-config; ac_word=$2
7988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7990 if test "${ac_cv_prog_rexxcurl_config+set}" = set; then
7991 echo $ECHO_N "(cached) $ECHO_C" >&6
7993 if test -n "$rexxcurl_config"; then
7994 ac_cv_prog_rexxcurl_config="$rexxcurl_config" # Let the user override the test.
7996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8000 test -z "$as_dir" && as_dir=.
8001 for ac_exec_ext in '' $ac_executable_extensions; do
8002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8003 ac_cv_prog_rexxcurl_config="yes"
8004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8011 test -z "$ac_cv_prog_rexxcurl_config" && ac_cv_prog_rexxcurl_config="no"
8014 rexxcurl_config=$ac_cv_prog_rexxcurl_config
8015 if test -n "$rexxcurl_config"; then
8016 { echo "$as_me:$LINENO: result: $rexxcurl_config" >&5
8017 echo "${ECHO_T}$rexxcurl_config" >&6; }
8019 { echo "$as_me:$LINENO: result: no" >&5
8020 echo "${ECHO_T}no" >&6; }
8024 if test "$ac_cv_prog_rexxcurl_config" = yes; then
8025 EXTRA_LIB=`rexxcurl-config
--libs`
8026 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
8027 cat >>confdefs.h <<\_ACEOF
8028 #define HAVE_REXXCURL_PACKAGE 1
8032 { { echo "$as_me:$LINENO: error: rexxcurl-config not found. Cannot use --with-rexxcurl switch" >&5
8033 echo "$as_me: error: rexxcurl-config not found. Cannot use --with-rexxcurl switch" >&2;}
8034 { (exit 1); exit 1; }; }
8038 # Check whether --with-rexxsql was given.
8039 if test "${with_rexxsql+set}" = set; then
8040 withval=$with_rexxsql; with_rexxsql=$withval
8045 if test "$with_rexxsql" = "yes"; then
8046 # Extract the first word of "rexxsql-config", so it can be a program name with args.
8047 set dummy rexxsql-config; ac_word=$2
8048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8050 if test "${ac_cv_prog_rexxsql_config+set}" = set; then
8051 echo $ECHO_N "(cached) $ECHO_C" >&6
8053 if test -n "$rexxsql_config"; then
8054 ac_cv_prog_rexxsql_config="$rexxsql_config" # Let the user override the test.
8056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8060 test -z "$as_dir" && as_dir=.
8061 for ac_exec_ext in '' $ac_executable_extensions; do
8062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8063 ac_cv_prog_rexxsql_config="yes"
8064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8071 test -z "$ac_cv_prog_rexxsql_config" && ac_cv_prog_rexxsql_config="no"
8074 rexxsql_config=$ac_cv_prog_rexxsql_config
8075 if test -n "$rexxsql_config"; then
8076 { echo "$as_me:$LINENO: result: $rexxsql_config" >&5
8077 echo "${ECHO_T}$rexxsql_config" >&6; }
8079 { echo "$as_me:$LINENO: result: no" >&5
8080 echo "${ECHO_T}no" >&6; }
8084 if test "$ac_cv_prog_rexxsql_config" = yes; then
8085 EXTRA_LIB=`rexxsql-config
--libs`
8086 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
8087 cat >>confdefs.h <<\_ACEOF
8088 #define HAVE_REXXSQL_PACKAGE 1
8092 { { echo "$as_me:$LINENO: error: rexxsql-config not found. Cannot use --with-rexxsql switch" >&5
8093 echo "$as_me: error: rexxsql-config not found. Cannot use --with-rexxsql switch" >&2;}
8094 { (exit 1); exit 1; }; }
8098 # Check whether --with-rexxeec was given.
8099 if test "${with_rexxeec+set}" = set; then
8100 withval=$with_rexxeec; with_rexxeec=$withval
8105 if test "$with_rexxeec" = "yes"; then
8106 # Extract the first word of "rexxeec-config", so it can be a program name with args.
8107 set dummy rexxeec-config; ac_word=$2
8108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8110 if test "${ac_cv_prog_rexxeec_config+set}" = set; then
8111 echo $ECHO_N "(cached) $ECHO_C" >&6
8113 if test -n "$rexxeec_config"; then
8114 ac_cv_prog_rexxeec_config="$rexxeec_config" # Let the user override the test.
8116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8120 test -z "$as_dir" && as_dir=.
8121 for ac_exec_ext in '' $ac_executable_extensions; do
8122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8123 ac_cv_prog_rexxeec_config="yes"
8124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8131 test -z "$ac_cv_prog_rexxeec_config" && ac_cv_prog_rexxeec_config="no"
8134 rexxeec_config=$ac_cv_prog_rexxeec_config
8135 if test -n "$rexxeec_config"; then
8136 { echo "$as_me:$LINENO: result: $rexxeec_config" >&5
8137 echo "${ECHO_T}$rexxeec_config" >&6; }
8139 { echo "$as_me:$LINENO: result: no" >&5
8140 echo "${ECHO_T}no" >&6; }
8144 if test "$ac_cv_prog_rexxeec_config" = yes; then
8145 EXTRA_LIB=`rexxeec-config
--libs`
8146 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
8147 cat >>confdefs.h <<\_ACEOF
8148 #define HAVE_REXXEEC_PACKAGE 1
8152 { { echo "$as_me:$LINENO: error: rexxeec-config not found. Cannot use --with-rexxeec switch" >&5
8153 echo "$as_me: error: rexxeec-config not found. Cannot use --with-rexxeec switch" >&2;}
8154 { (exit 1); exit 1; }; }
8158 # Check whether --with-rexxisam was given.
8159 if test "${with_rexxisam+set}" = set; then
8160 withval=$with_rexxisam; with_rexxisam=$withval
8165 if test "$with_rexxisam" = "yes"; then
8166 # Extract the first word of "rexxisam-config", so it can be a program name with args.
8167 set dummy rexxisam-config; ac_word=$2
8168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8170 if test "${ac_cv_prog_rexxisam_config+set}" = set; then
8171 echo $ECHO_N "(cached) $ECHO_C" >&6
8173 if test -n "$rexxisam_config"; then
8174 ac_cv_prog_rexxisam_config="$rexxisam_config" # Let the user override the test.
8176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8180 test -z "$as_dir" && as_dir=.
8181 for ac_exec_ext in '' $ac_executable_extensions; do
8182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8183 ac_cv_prog_rexxisam_config="yes"
8184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8191 test -z "$ac_cv_prog_rexxisam_config" && ac_cv_prog_rexxisam_config="no"
8194 rexxisam_config=$ac_cv_prog_rexxisam_config
8195 if test -n "$rexxisam_config"; then
8196 { echo "$as_me:$LINENO: result: $rexxisam_config" >&5
8197 echo "${ECHO_T}$rexxisam_config" >&6; }
8199 { echo "$as_me:$LINENO: result: no" >&5
8200 echo "${ECHO_T}no" >&6; }
8204 if test "$ac_cv_prog_rexxisam_config" = yes; then
8205 EXTRA_LIB=`rexxisam-config
--libs`
8206 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
8207 cat >>confdefs.h <<\_ACEOF
8208 #define HAVE_REXXISAM_PACKAGE 1
8212 { { echo "$as_me:$LINENO: error: rexxisam-config not found. Cannot use --with-rexxisam switch" >&5
8213 echo "$as_me: error: rexxisam-config not found. Cannot use --with-rexxisam switch" >&2;}
8214 { (exit 1); exit 1; }; }
8218 # Check whether --with-rxsock was given.
8219 if test "${with_rxsock+set}" = set; then
8220 withval=$with_rxsock; with_rxsock=$withval
8225 if test "$with_rxsock" = "yes"; then
8226 # Extract the first word of "rxsock-config", so it can be a program name with args.
8227 set dummy rxsock-config; ac_word=$2
8228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8230 if test "${ac_cv_prog_rxsock_config+set}" = set; then
8231 echo $ECHO_N "(cached) $ECHO_C" >&6
8233 if test -n "$rxsock_config"; then
8234 ac_cv_prog_rxsock_config="$rxsock_config" # Let the user override the test.
8236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8240 test -z "$as_dir" && as_dir=.
8241 for ac_exec_ext in '' $ac_executable_extensions; do
8242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8243 ac_cv_prog_rxsock_config="yes"
8244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8251 test -z "$ac_cv_prog_rxsock_config" && ac_cv_prog_rxsock_config="no"
8254 rxsock_config=$ac_cv_prog_rxsock_config
8255 if test -n "$rxsock_config"; then
8256 { echo "$as_me:$LINENO: result: $rxsock_config" >&5
8257 echo "${ECHO_T}$rxsock_config" >&6; }
8259 { echo "$as_me:$LINENO: result: no" >&5
8260 echo "${ECHO_T}no" >&6; }
8264 if test "$ac_cv_prog_rxsock_config" = yes; then
8265 EXTRA_LIB=`rxsock-config
--libs`
8266 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
8267 cat >>confdefs.h <<\_ACEOF
8268 #define HAVE_RXSOCK_PACKAGE 1
8272 { { echo "$as_me:$LINENO: error: rxsock-config not found. Cannot use --with-rxsock switch" >&5
8273 echo "$as_me: error: rxsock-config not found. Cannot use --with-rxsock switch" >&2;}
8274 { (exit 1); exit 1; }; }
8278 # Check whether --with-rexxdw was given.
8279 if test "${with_rexxdw+set}" = set; then
8280 withval=$with_rexxdw; with_rexxdw=$withval
8285 if test "$with_rexxdw" = "yes"; then
8286 # Extract the first word of "rexxdw-config", so it can be a program name with args.
8287 set dummy rexxdw-config; ac_word=$2
8288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8290 if test "${ac_cv_prog_rexxdw_config+set}" = set; then
8291 echo $ECHO_N "(cached) $ECHO_C" >&6
8293 if test -n "$rexxdw_config"; then
8294 ac_cv_prog_rexxdw_config="$rexxdw_config" # Let the user override the test.
8296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8300 test -z "$as_dir" && as_dir=.
8301 for ac_exec_ext in '' $ac_executable_extensions; do
8302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8303 ac_cv_prog_rexxdw_config="yes"
8304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8311 test -z "$ac_cv_prog_rexxdw_config" && ac_cv_prog_rexxdw_config="no"
8314 rexxdw_config=$ac_cv_prog_rexxdw_config
8315 if test -n "$rexxdw_config"; then
8316 { echo "$as_me:$LINENO: result: $rexxdw_config" >&5
8317 echo "${ECHO_T}$rexxdw_config" >&6; }
8319 { echo "$as_me:$LINENO: result: no" >&5
8320 echo "${ECHO_T}no" >&6; }
8324 if test "$ac_cv_prog_rexxdw_config" = yes; then
8325 EXTRA_LIB=`rexxdw-config
--libs`
8326 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
8327 cat >>confdefs.h <<\_ACEOF
8328 #define HAVE_REXXDW_PACKAGE 1
8332 { { echo "$as_me:$LINENO: error: rexxdw-config not found. Cannot use --with-rexxdw switch" >&5
8333 echo "$as_me: error: rexxdw-config not found. Cannot use --with-rexxdw switch" >&2;}
8334 { (exit 1); exit 1; }; }
8338 LINKREG="${SHLPRE}${SHLFILE}${SHLPST} ${MH_FUNC_LIBS} ${SHLPRE}${SHLFILE}${SHLPST}"
8404 OBJECTS='$('OFILES')'
8408 DYN_COMP="-DDYNAMIC"
8420 # OTHER_INSTALLS is set to install a non-version numbered shared library
8421 # by default; ie. no .\$(ABI) suffix. If the regina executable is not built,
8422 # then there is no shared library. Set OTHER_INSTALLS="installabilib" if you
8423 # are building a version numbered shared library.
8424 OTHER_INSTALLS="installlib"
8425 BASE_INSTALL="installbase"
8426 BASE_BINARY="binarybase"
8433 SYS_DEFS="-D_HPUX_SOURCE"
8434 cat >>confdefs.h <<\_ACEOF
8435 #define SELECT_IN_TIME_H 1
8440 SYS_DEFS="-D_HPUX_SOURCE"
8443 SYS_DEFS="-D_ALL_SOURCE -DAIX"
8444 # STATIC_LDFLAGS="-bnso -bI:/lib/syscalls.exp"
8447 if test "$ac_cv_prog_CC" = "gcc" -o "$ac_cv_prog_CC" = "g++"; then
8448 SYS_DEFS="-D_POSIX_SOURCE -D_XOPEN_SOURCE"
8450 SYS_DEFS="-D_POSIX_SOURCE -D_XOPEN_SOURCE -Olimit 800"
8454 SYS_DEFS="-DSUNOS -DSUNOS_STRTOD_BUG"
8457 BASE_BINARY="atheosbinary"
8460 BASE_INSTALL="beosinstall"
8461 BASE_BINARY="beosbinary"
8470 # getting duplicate targets
8472 EEXTRA="-mf -N0x20000 -Q"
8480 BASE_INSTALL="cygwininstall"
8481 BASE_BINARY="cygwinbinary"
8485 # to test use: --build=ppc-apple-darwin10.1 --target=ppc-apple-darwin10.1
8487 # Link switches for building "bundles"
8489 OTHER_INSTALLS="installlib installmacosx"
8494 LD_RXLIB_A1="${LIBEXE} cr \$(@)"
8495 LD_RXLIB_A2="${LIBEXE} cr \$(@)"
8496 LD_RXLIB_UTILA="${LIBEXE} cr \$(@)"
8500 SHL_LD="${LIBEXE} cr ${SHLPRE}${SHLFILE}${SHLPST} \$(SHOFILES)"
8502 STATICLIB="${LIBPRE}${LIBFILE}${LIBPST}"
8504 LIBFLAGS="cr ${LIBPRE}${LIBFILE}${LIBPST}"
8505 LIBLINK="-L. -l${LIBFILE}"
8506 LINKSHL="-L. -l${LIBFILE}" # ensure we link to static library for execiser
8507 DYN_COMP="$DYN_COMP -DDYNAMIC_STATIC"
8509 SHL_BASE="${SHLPRE}${SHLFILE}${SHLPST}"
8510 SHL_TARGETS="${SHL_BASE} ${SHLPRE}regutil${MODPST} regina${binarybitprefix}${EXEEXT} ${SHLPRE}rxtest1${MODPST} ${SHLPRE}rxtest2${MODPST} $EXTRATARGET"
8511 EXECISER_DEP="${STATICLIB}"
8512 OTHER_INSTALLS="regina${binarybitprefix}${EXEEXT} $OTHER_INSTALLS"
8513 RANLIB_DYNAMIC="-\$(RANLIB) \$(@)"
8515 # Check whether --with-testpackage was given.
8516 if test "${with_testpackage+set}" = set; then
8517 withval=$with_testpackage; with_test=$withval
8523 if test "$with_testpackage" = "yes"; then
8524 MH_FUNC_LIBS="$MH_FUNC_LIBS ${SHLPRE}rxtest1${MODPST} ${SHLPRE}rxtest2${MODPST}"
8525 cat >>confdefs.h <<\_ACEOF
8526 #define HAVE_TEST_PACKAGE 1
8529 EXECISER_DEP="${EXECISER_DEP} ${SHLPRE}rxtest1${MODPST} ${SHLPRE}rxtest2${MODPST}"
8532 # Check whether --with-regutil was given.
8533 if test "${with_regutil+set}" = set; then
8534 withval=$with_regutil; with_regutil=$withval
8539 if test "$with_regutil" = "yes" -o "x" = "xregutil"; then
8540 MH_FUNC_LIBS="$MH_FUNC_LIBS ${SHLPRE}regutil${MODPST}"
8541 cat >>confdefs.h <<\_ACEOF
8542 #define HAVE_REXXUTIL_PACKAGE 1
8547 # Check whether --with-rexxcurses was given.
8548 if test "${with_rexxcurses+set}" = set; then
8549 withval=$with_rexxcurses; with_rexxcurses=$withval
8554 if test "$with_rexxcurses" = "yes"; then
8555 # Extract the first word of "rxcurses-config", so it can be a program name with args.
8556 set dummy rxcurses-config; ac_word=$2
8557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8559 if test "${ac_cv_prog_rxcurses_config+set}" = set; then
8560 echo $ECHO_N "(cached) $ECHO_C" >&6
8562 if test -n "$rxcurses_config"; then
8563 ac_cv_prog_rxcurses_config="$rxcurses_config" # Let the user override the test.
8565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8569 test -z "$as_dir" && as_dir=.
8570 for ac_exec_ext in '' $ac_executable_extensions; do
8571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8572 ac_cv_prog_rxcurses_config="yes"
8573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8580 test -z "$ac_cv_prog_rxcurses_config" && ac_cv_prog_rxcurses_config="no"
8583 rxcurses_config=$ac_cv_prog_rxcurses_config
8584 if test -n "$rxcurses_config"; then
8585 { echo "$as_me:$LINENO: result: $rxcurses_config" >&5
8586 echo "${ECHO_T}$rxcurses_config" >&6; }
8588 { echo "$as_me:$LINENO: result: no" >&5
8589 echo "${ECHO_T}no" >&6; }
8593 if test "$ac_cv_prog_rxcurses_config" = yes; then
8594 EXTRA_LIB=`rxcurses-config
--libs`
8595 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
8596 cat >>confdefs.h <<\_ACEOF
8597 #define HAVE_REXXCURSES_PACKAGE 1
8601 { { echo "$as_me:$LINENO: error: rxcurses-config not found. Cannot use --with-rexxcurses switch" >&5
8602 echo "$as_me: error: rxcurses-config not found. Cannot use --with-rexxcurses switch" >&2;}
8603 { (exit 1); exit 1; }; }
8607 # Check whether --with-rexxtk was given.
8608 if test "${with_rexxtk+set}" = set; then
8609 withval=$with_rexxtk; with_rexxtk=$withval
8614 if test "$with_rexxtk" = "yes"; then
8615 # Extract the first word of "rexxtk-config", so it can be a program name with args.
8616 set dummy rexxtk-config; ac_word=$2
8617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8619 if test "${ac_cv_prog_rexxtk_config+set}" = set; then
8620 echo $ECHO_N "(cached) $ECHO_C" >&6
8622 if test -n "$rexxtk_config"; then
8623 ac_cv_prog_rexxtk_config="$rexxtk_config" # Let the user override the test.
8625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8629 test -z "$as_dir" && as_dir=.
8630 for ac_exec_ext in '' $ac_executable_extensions; do
8631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8632 ac_cv_prog_rexxtk_config="yes"
8633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8640 test -z "$ac_cv_prog_rexxtk_config" && ac_cv_prog_rexxtk_config="no"
8643 rexxtk_config=$ac_cv_prog_rexxtk_config
8644 if test -n "$rexxtk_config"; then
8645 { echo "$as_me:$LINENO: result: $rexxtk_config" >&5
8646 echo "${ECHO_T}$rexxtk_config" >&6; }
8648 { echo "$as_me:$LINENO: result: no" >&5
8649 echo "${ECHO_T}no" >&6; }
8653 if test "$ac_cv_prog_rexxtk_config" = yes; then
8654 EXTRA_LIB=`rexxtk-config
--libs`
8655 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
8656 cat >>confdefs.h <<\_ACEOF
8657 #define HAVE_REXXTK_PACKAGE 1
8661 { { echo "$as_me:$LINENO: error: rexxtk-config not found. Cannot use --with-rexxtk switch" >&5
8662 echo "$as_me: error: rexxtk-config not found. Cannot use --with-rexxtk switch" >&2;}
8663 { (exit 1); exit 1; }; }
8667 # Check whether --with-rexxgd was given.
8668 if test "${with_rexxgd+set}" = set; then
8669 withval=$with_rexxgd; with_rexxgd=$withval
8674 if test "$with_rexxgd" = "yes"; then
8675 # Extract the first word of "rexxgd-config", so it can be a program name with args.
8676 set dummy rexxgd-config; ac_word=$2
8677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8679 if test "${ac_cv_prog_rexxgd_config+set}" = set; then
8680 echo $ECHO_N "(cached) $ECHO_C" >&6
8682 if test -n "$rexxgd_config"; then
8683 ac_cv_prog_rexxgd_config="$rexxgd_config" # Let the user override the test.
8685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8689 test -z "$as_dir" && as_dir=.
8690 for ac_exec_ext in '' $ac_executable_extensions; do
8691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8692 ac_cv_prog_rexxgd_config="yes"
8693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8700 test -z "$ac_cv_prog_rexxgd_config" && ac_cv_prog_rexxgd_config="no"
8703 rexxgd_config=$ac_cv_prog_rexxgd_config
8704 if test -n "$rexxgd_config"; then
8705 { echo "$as_me:$LINENO: result: $rexxgd_config" >&5
8706 echo "${ECHO_T}$rexxgd_config" >&6; }
8708 { echo "$as_me:$LINENO: result: no" >&5
8709 echo "${ECHO_T}no" >&6; }
8713 if test "$ac_cv_prog_rexxgd_config" = yes; then
8714 EXTRA_LIB=`rexxgd-config
--libs`
8715 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
8716 cat >>confdefs.h <<\_ACEOF
8717 #define HAVE_REXXGD_PACKAGE 1
8721 { { echo "$as_me:$LINENO: error: rexxgd-config not found. Cannot use --with-rexxgd switch" >&5
8722 echo "$as_me: error: rexxgd-config not found. Cannot use --with-rexxgd switch" >&2;}
8723 { (exit 1); exit 1; }; }
8727 # Check whether --with-rexxcurl was given.
8728 if test "${with_rexxcurl+set}" = set; then
8729 withval=$with_rexxcurl; with_rexxcurl=$withval
8734 if test "$with_rexxcurl" = "yes"; then
8735 # Extract the first word of "rexxcurl-config", so it can be a program name with args.
8736 set dummy rexxcurl-config; ac_word=$2
8737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8739 if test "${ac_cv_prog_rexxcurl_config+set}" = set; then
8740 echo $ECHO_N "(cached) $ECHO_C" >&6
8742 if test -n "$rexxcurl_config"; then
8743 ac_cv_prog_rexxcurl_config="$rexxcurl_config" # Let the user override the test.
8745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8749 test -z "$as_dir" && as_dir=.
8750 for ac_exec_ext in '' $ac_executable_extensions; do
8751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8752 ac_cv_prog_rexxcurl_config="yes"
8753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8760 test -z "$ac_cv_prog_rexxcurl_config" && ac_cv_prog_rexxcurl_config="no"
8763 rexxcurl_config=$ac_cv_prog_rexxcurl_config
8764 if test -n "$rexxcurl_config"; then
8765 { echo "$as_me:$LINENO: result: $rexxcurl_config" >&5
8766 echo "${ECHO_T}$rexxcurl_config" >&6; }
8768 { echo "$as_me:$LINENO: result: no" >&5
8769 echo "${ECHO_T}no" >&6; }
8773 if test "$ac_cv_prog_rexxcurl_config" = yes; then
8774 EXTRA_LIB=`rexxcurl-config
--libs`
8775 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
8776 cat >>confdefs.h <<\_ACEOF
8777 #define HAVE_REXXCURL_PACKAGE 1
8781 { { echo "$as_me:$LINENO: error: rexxcurl-config not found. Cannot use --with-rexxcurl switch" >&5
8782 echo "$as_me: error: rexxcurl-config not found. Cannot use --with-rexxcurl switch" >&2;}
8783 { (exit 1); exit 1; }; }
8787 # Check whether --with-rexxsql was given.
8788 if test "${with_rexxsql+set}" = set; then
8789 withval=$with_rexxsql; with_rexxsql=$withval
8794 if test "$with_rexxsql" = "yes"; then
8795 # Extract the first word of "rexxsql-config", so it can be a program name with args.
8796 set dummy rexxsql-config; ac_word=$2
8797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8799 if test "${ac_cv_prog_rexxsql_config+set}" = set; then
8800 echo $ECHO_N "(cached) $ECHO_C" >&6
8802 if test -n "$rexxsql_config"; then
8803 ac_cv_prog_rexxsql_config="$rexxsql_config" # Let the user override the test.
8805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8809 test -z "$as_dir" && as_dir=.
8810 for ac_exec_ext in '' $ac_executable_extensions; do
8811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8812 ac_cv_prog_rexxsql_config="yes"
8813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8820 test -z "$ac_cv_prog_rexxsql_config" && ac_cv_prog_rexxsql_config="no"
8823 rexxsql_config=$ac_cv_prog_rexxsql_config
8824 if test -n "$rexxsql_config"; then
8825 { echo "$as_me:$LINENO: result: $rexxsql_config" >&5
8826 echo "${ECHO_T}$rexxsql_config" >&6; }
8828 { echo "$as_me:$LINENO: result: no" >&5
8829 echo "${ECHO_T}no" >&6; }
8833 if test "$ac_cv_prog_rexxsql_config" = yes; then
8834 EXTRA_LIB=`rexxsql-config
--libs`
8835 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
8836 cat >>confdefs.h <<\_ACEOF
8837 #define HAVE_REXXSQL_PACKAGE 1
8841 { { echo "$as_me:$LINENO: error: rexxsql-config not found. Cannot use --with-rexxsql switch" >&5
8842 echo "$as_me: error: rexxsql-config not found. Cannot use --with-rexxsql switch" >&2;}
8843 { (exit 1); exit 1; }; }
8847 # Check whether --with-rexxeec was given.
8848 if test "${with_rexxeec+set}" = set; then
8849 withval=$with_rexxeec; with_rexxeec=$withval
8854 if test "$with_rexxeec" = "yes"; then
8855 # Extract the first word of "rexxeec-config", so it can be a program name with args.
8856 set dummy rexxeec-config; ac_word=$2
8857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8859 if test "${ac_cv_prog_rexxeec_config+set}" = set; then
8860 echo $ECHO_N "(cached) $ECHO_C" >&6
8862 if test -n "$rexxeec_config"; then
8863 ac_cv_prog_rexxeec_config="$rexxeec_config" # Let the user override the test.
8865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8869 test -z "$as_dir" && as_dir=.
8870 for ac_exec_ext in '' $ac_executable_extensions; do
8871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8872 ac_cv_prog_rexxeec_config="yes"
8873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8880 test -z "$ac_cv_prog_rexxeec_config" && ac_cv_prog_rexxeec_config="no"
8883 rexxeec_config=$ac_cv_prog_rexxeec_config
8884 if test -n "$rexxeec_config"; then
8885 { echo "$as_me:$LINENO: result: $rexxeec_config" >&5
8886 echo "${ECHO_T}$rexxeec_config" >&6; }
8888 { echo "$as_me:$LINENO: result: no" >&5
8889 echo "${ECHO_T}no" >&6; }
8893 if test "$ac_cv_prog_rexxeec_config" = yes; then
8894 EXTRA_LIB=`rexxeec-config
--libs`
8895 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
8896 cat >>confdefs.h <<\_ACEOF
8897 #define HAVE_REXXEEC_PACKAGE 1
8901 { { echo "$as_me:$LINENO: error: rexxeec-config not found. Cannot use --with-rexxeec switch" >&5
8902 echo "$as_me: error: rexxeec-config not found. Cannot use --with-rexxeec switch" >&2;}
8903 { (exit 1); exit 1; }; }
8907 # Check whether --with-rexxisam was given.
8908 if test "${with_rexxisam+set}" = set; then
8909 withval=$with_rexxisam; with_rexxisam=$withval
8914 if test "$with_rexxisam" = "yes"; then
8915 # Extract the first word of "rexxisam-config", so it can be a program name with args.
8916 set dummy rexxisam-config; ac_word=$2
8917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8919 if test "${ac_cv_prog_rexxisam_config+set}" = set; then
8920 echo $ECHO_N "(cached) $ECHO_C" >&6
8922 if test -n "$rexxisam_config"; then
8923 ac_cv_prog_rexxisam_config="$rexxisam_config" # Let the user override the test.
8925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8929 test -z "$as_dir" && as_dir=.
8930 for ac_exec_ext in '' $ac_executable_extensions; do
8931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8932 ac_cv_prog_rexxisam_config="yes"
8933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8940 test -z "$ac_cv_prog_rexxisam_config" && ac_cv_prog_rexxisam_config="no"
8943 rexxisam_config=$ac_cv_prog_rexxisam_config
8944 if test -n "$rexxisam_config"; then
8945 { echo "$as_me:$LINENO: result: $rexxisam_config" >&5
8946 echo "${ECHO_T}$rexxisam_config" >&6; }
8948 { echo "$as_me:$LINENO: result: no" >&5
8949 echo "${ECHO_T}no" >&6; }
8953 if test "$ac_cv_prog_rexxisam_config" = yes; then
8954 EXTRA_LIB=`rexxisam-config
--libs`
8955 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
8956 cat >>confdefs.h <<\_ACEOF
8957 #define HAVE_REXXISAM_PACKAGE 1
8961 { { echo "$as_me:$LINENO: error: rexxisam-config not found. Cannot use --with-rexxisam switch" >&5
8962 echo "$as_me: error: rexxisam-config not found. Cannot use --with-rexxisam switch" >&2;}
8963 { (exit 1); exit 1; }; }
8967 # Check whether --with-rxsock was given.
8968 if test "${with_rxsock+set}" = set; then
8969 withval=$with_rxsock; with_rxsock=$withval
8974 if test "$with_rxsock" = "yes"; then
8975 # Extract the first word of "rxsock-config", so it can be a program name with args.
8976 set dummy rxsock-config; ac_word=$2
8977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8979 if test "${ac_cv_prog_rxsock_config+set}" = set; then
8980 echo $ECHO_N "(cached) $ECHO_C" >&6
8982 if test -n "$rxsock_config"; then
8983 ac_cv_prog_rxsock_config="$rxsock_config" # Let the user override the test.
8985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8989 test -z "$as_dir" && as_dir=.
8990 for ac_exec_ext in '' $ac_executable_extensions; do
8991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8992 ac_cv_prog_rxsock_config="yes"
8993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9000 test -z "$ac_cv_prog_rxsock_config" && ac_cv_prog_rxsock_config="no"
9003 rxsock_config=$ac_cv_prog_rxsock_config
9004 if test -n "$rxsock_config"; then
9005 { echo "$as_me:$LINENO: result: $rxsock_config" >&5
9006 echo "${ECHO_T}$rxsock_config" >&6; }
9008 { echo "$as_me:$LINENO: result: no" >&5
9009 echo "${ECHO_T}no" >&6; }
9013 if test "$ac_cv_prog_rxsock_config" = yes; then
9014 EXTRA_LIB=`rxsock-config
--libs`
9015 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
9016 cat >>confdefs.h <<\_ACEOF
9017 #define HAVE_RXSOCK_PACKAGE 1
9021 { { echo "$as_me:$LINENO: error: rxsock-config not found. Cannot use --with-rxsock switch" >&5
9022 echo "$as_me: error: rxsock-config not found. Cannot use --with-rxsock switch" >&2;}
9023 { (exit 1); exit 1; }; }
9027 # Check whether --with-rexxdw was given.
9028 if test "${with_rexxdw+set}" = set; then
9029 withval=$with_rexxdw; with_rexxdw=$withval
9034 if test "$with_rexxdw" = "yes"; then
9035 # Extract the first word of "rexxdw-config", so it can be a program name with args.
9036 set dummy rexxdw-config; ac_word=$2
9037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9039 if test "${ac_cv_prog_rexxdw_config+set}" = set; then
9040 echo $ECHO_N "(cached) $ECHO_C" >&6
9042 if test -n "$rexxdw_config"; then
9043 ac_cv_prog_rexxdw_config="$rexxdw_config" # Let the user override the test.
9045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9049 test -z "$as_dir" && as_dir=.
9050 for ac_exec_ext in '' $ac_executable_extensions; do
9051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9052 ac_cv_prog_rexxdw_config="yes"
9053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9060 test -z "$ac_cv_prog_rexxdw_config" && ac_cv_prog_rexxdw_config="no"
9063 rexxdw_config=$ac_cv_prog_rexxdw_config
9064 if test -n "$rexxdw_config"; then
9065 { echo "$as_me:$LINENO: result: $rexxdw_config" >&5
9066 echo "${ECHO_T}$rexxdw_config" >&6; }
9068 { echo "$as_me:$LINENO: result: no" >&5
9069 echo "${ECHO_T}no" >&6; }
9073 if test "$ac_cv_prog_rexxdw_config" = yes; then
9074 EXTRA_LIB=`rexxdw-config
--libs`
9075 MH_FUNC_LIBS="$MH_FUNC_LIBS $EXTRA_LIB"
9076 cat >>confdefs.h <<\_ACEOF
9077 #define HAVE_REXXDW_PACKAGE 1
9081 { { echo "$as_me:$LINENO: error: rexxdw-config not found. Cannot use --with-rexxdw switch" >&5
9082 echo "$as_me: error: rexxdw-config not found. Cannot use --with-rexxdw switch" >&2;}
9083 { (exit 1); exit 1; }; }
9087 LINKREG="${SHLPRE}${SHLFILE}${SHLPST} ${MH_FUNC_LIBS} ${SHLPRE}${SHLFILE}${SHLPST}"
9158 OBJECTS='$('OFILES')'
9166 SYS_DEFS="-D_HPUX_SOURCE +e" # Extended ANSI mode for c89
9167 cat >>confdefs.h <<\_ACEOF
9168 #define SELECT_IN_TIME_H 1
9173 if test "$ac_cv_prog_CC" = "gcc" -o "$ac_cv_prog_CC" = "g++"; then
9174 SYS_DEFS="-D_HPUX_SOURCE"
9176 SYS_DEFS="-D_HPUX_SOURCE +e" # Extended ANSI mode for c89
9179 *ibm-aix3*|*ibm-aix4.1*)
9180 SYS_DEFS="-D_ALL_SOURCE -DAIX"
9183 SYS_DEFS="-D_ALL_SOURCE -DAIX"
9184 DYN_COMP="-DDYNAMIC"
9187 if test "$ac_cv_prog_CC" = "gcc" -o "$ac_cv_prog_CC" = "g++"; then
9188 SYS_DEFS="-D_POSIX_SOURCE -D_XOPEN_SOURCE"
9190 SYS_DEFS="-D_POSIX_SOURCE -D_XOPEN_SOURCE -Olimit 800"
9194 SYS_DEFS="-DSUNOS -DSUNOS_STRTOD_BUG"
9199 DYN_COMP="-DDYNAMIC"
9211 DYN_COMP="-DDYNAMIC"
9215 DYN_COMP="-fno-common"
9219 if test "$DYN_COMP" = ""; then
9220 { echo "$as_me:$LINENO: checking compiler flags for a dynamic object" >&5
9221 echo $ECHO_N "checking compiler flags for a dynamic object... $ECHO_C" >&6; }
9223 cat > conftest.$ac_ext <<EOF
9224 #line 9224 "configure"
9230 save_cflags="$CFLAGS"
9231 mh_cv_flags="-fPIC -KPIC +Z"
9232 for a in $mh_cv_flags; do
9235 mh_compile='${CC-cc} -c $CFLAGS conftest.$ac_ext > conftest.tmp 2>&1'
9236 if { (eval echo "$as_me:$LINENO: \"$mh_compile\"") >&5
9237 (eval $mh_compile) 2>&5
9239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9240 (exit $ac_status); }; then
9244 mh_dyncomp="`egrep -c $slash$a conftest.tmp
`"
9245 if test "$mh_dyncomp" = "0"; then
9246 DYN_COMP="$a -DDYNAMIC"
9247 { echo "$as_me:$LINENO: result: $a" >&5
9248 echo "${ECHO_T}$a" >&6; }
9255 if test "$DYN_COMP" = ""; then
9256 { echo "$as_me:$LINENO: result: none of $mh_cv_flags supported" >&5
9257 echo "${ECHO_T}none of $mh_cv_flags supported" >&6; }
9259 CFLAGS="$save_cflags"
9271 # If the build OS can handle version numbers in the shared library name,
9272 # then set SHL_BASE="${SHLPRE}${SHLFILE}${SHLPST}.\$(ABI)"
9273 SHL_BASE="${SHLPRE}${SHLFILE}${SHLPST}"
9275 # OTHER_INSTALLS is set to install a non-version numbered shared library
9276 # by default; ie. no .\$(ABI) suffix. If the regina executable is not built,
9277 # then there is no shared library. Set OTHER_INSTALLS="installabilib" if you
9278 # are building a version numbered shared library.
9279 OTHER_INSTALLS="installlib"
9280 BASE_INSTALL="installbase"
9281 BASE_BINARY="binarybase"
9288 if test "$ac_cv_prog_CC" = "gcc"; then
9289 LD_RXLIB_A1="${CC} -fPIC -shared ${LDFLAGS} -o \$(@)"
9290 LD_RXLIB_A2="${CC} -fPIC -shared ${LDFLAGS} -o \$(@)"
9291 LD_RXLIB_UTILA="${CC} -fPIC -shared ${LDFLAGS} -o \$(@)"
9292 LD_RXLIB_B1="-L. -l${SHLFILE}"
9293 LD_RXLIB_B2="-L. -l${SHLFILE}"
9294 LD_RXLIB_UTILB="-L. -l${SHLFILE}"
9295 SHL_LD="${CC} -o ${SHLPRE}${SHLFILE}${SHLPST} -fPIC -shared ${LDFLAGS} \$(SHOFILES)"
9298 LD_RXLIB_A1="ld -b -q -n -o \$(@)"
9299 LD_RXLIB_A2="ld -b -q -n -o \$(@)"
9300 LD_RXLIB_UTILA="ld -b -q -n -o \$(@)"
9304 DYNAMIC_LDFLAGS="-Wl,+s"
9305 SHL_LD="ld -b -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
9309 STATIC_LDFLAGS="-bnso -bI:/lib/syscalls.exp"
9310 LD_RXLIB_A1="ld -bnoentry -bM:SRE -bT:512 -bH:512 -bI:regina.exp -o \$(@)"
9311 LD_RXLIB_A2="ld -bnoentry -bM:SRE -bT:512 -bH:512 -bI:regina.exp -o \$(@)"
9312 LD_RXLIB_UTILA="ld -bnoentry -bM:SRE -bT:512 -bH:512 -bI:regina.exp -o \$(@)"
9313 LD_RXLIB_B1="${SHLPRE}${SHLFILE}${SHLPST} -lc"
9314 LD_RXLIB_B2="${SHLPRE}${SHLFILE}${SHLPST} -lc"
9315 LD_RXLIB_UTILB="${SHLPRE}${SHLFILE}${SHLPST} -lc"
9317 TEST1EXPORTS="-bE:test1.exp"
9318 TEST2EXPORTS="-bE:test2.exp"
9319 TEST1EXP="test1.exp"
9320 TEST2EXP="test2.exp"
9321 REGINAEXP="regina.exp"
9322 REGUTILEXP="regutil.exp"
9323 if test "$ac_cv_header_dlfcn_h" = "yes" -o "$HAVE_DLFCN_H" = "1"; then
9325 DYN_COMP="-DDYNAMIC"
9326 SHL_LD="ld -o ${SHLPRE}${SHLFILE}${SHLPST} -bnoentry -bE:regina.exp -bM:SRE -bT:512 -bH:512 "'$('SHOFILES')'" -lc"
9328 SHL_LD=" "'$('LIBEXE')'" "'$('LIBFLAGS')'" "'$('SHOFILES')'
9333 # STATIC_LDFLAGS="-bnso -bI:/lib/syscalls.exp"
9335 if test "$ac_cv_prog_CC" = "gcc"; then
9336 LD_RXLIB_A1="${CC} -shared ${LDFLAGS} -o \$(@)"
9337 LD_RXLIB_A2="${CC} -shared ${LDFLAGS} -o \$(@)"
9338 LD_RXLIB_UTILA="${CC} -shared ${LDFLAGS} -o \$(@)"
9339 LD_RXLIB_B1="-L. -l${SHLFILE}"
9340 LD_RXLIB_B2="-L. -l${SHLFILE}"
9341 LD_RXLIB_UTILB="-L. -l${SHLFILE}"
9343 LD_RXLIB_A1="ld -bnoentry -bM:SRE ${LDFLAGS} -o \$(@)"
9344 LD_RXLIB_A2="ld -bnoentry -bM:SRE ${LDFLAGS} -o \$(@)"
9345 LD_RXLIB_UTILA="ld -bnoentry -bM:SRE ${LDFLAGS} -o \$(@)"
9346 LD_RXLIB_B1="${SHLPRE}${SHLFILE}${SHLPST} -lc"
9347 LD_RXLIB_B2="${SHLPRE}${SHLFILE}${SHLPST} -lc"
9348 LD_RXLIB_UTILB="${SHLPRE}${SHLFILE}${SHLPST} -lc"
9349 TEST1EXPORTS="-bE:test1.exp"
9350 TEST2EXPORTS="-bE:test2.exp"
9351 TEST1EXP="test1.exp"
9352 TEST2EXP="test2.exp"
9353 REGUTILEXPORTS="-bE:regutil.exp"
9354 REGUTILEXP="regutil.exp"
9356 REGINAEXP="regina.exp"
9357 if test "$ac_cv_header_dlfcn_h" = "yes" -o "$HAVE_DLFCN_H" = "1"; then
9359 DYN_COMP="-DDYNAMIC"
9360 if test "$ac_cv_prog_CC" = "gcc"; then
9361 SHL_LD="${CC} -shared -o ${SHLPRE}${SHLFILE}${SHLPST} -Wl,-bnoentry -Wl,-bE:regina.exp -Wl,-bM:SRE ${LDFLAGS} \$(SHOFILES) -lc \$(SHLIBS) \$(MH_MT_LIBS)"
9363 SHL_LD="ld -o ${SHLPRE}${SHLFILE}${SHLPST} -bnoentry -bE:regina.exp -bM:SRE ${LDFLAGS} \$(SHOFILES) -lc \$(SHLIBS) \$(MH_MT_LIBS)"
9366 SHL_LD=" "'$('LIBEXE')'" "'$('LIBFLAGS')'" "'$('SHOFILES')'
9371 LD_RXLIB_A1="ld -shared -o \$(@)"
9372 LD_RXLIB_A2="ld -shared -o \$(@)"
9373 LD_RXLIB_UTILA="ld -shared -o \$(@)"
9374 LD_RXLIB_B1="-lc -L. -l${SHLFILE}"
9375 LD_RXLIB_B2="-lc -L. -l${SHLFILE}"
9376 LD_RXLIB_UTILB="-lc -L. -l${SHLFILE}"
9378 SHL_LD="ld -o ${SHLPRE}${SHLFILE}${SHLPST} -shared -no_archive "'$('SHOFILES')'" -lc"
9381 LD_RXLIB_A1="ld -G -o \$(@)"
9382 LD_RXLIB_A2="ld -G -o \$(@)"
9383 LD_RXLIB_UTILA="ld -G -o \$(@)"
9389 SHL_LD="ld -G -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
9392 LD_RXLIB_A1="ld -G -o \$(@)"
9393 LD_RXLIB_A2="ld -G -o \$(@)"
9394 LD_RXLIB_UTILA="ld -G -o \$(@)"
9400 SHL_LD="ld -G -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
9403 LD_RXLIB_A1="ld -dy -G -o \$(@)"
9404 LD_RXLIB_A2="ld -dy -G -o \$(@)"
9405 LD_RXLIB_UTILA="ld -dy -G -o \$(@)"
9411 SHL_LD="ld -dy -G -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
9414 if test "$ac_cv_prog_CC" = "gcc" -o "$ac_cv_prog_CC" = "g++"; then
9415 LD_RXLIB_A1="$ac_cv_prog_CC -shared ${LDFLAGS} -o \$(@)"
9416 LD_RXLIB_A2="$ac_cv_prog_CC -shared ${LDFLAGS} -o \$(@)"
9417 LD_RXLIB_UTILA="$ac_cv_prog_CC -shared ${LDFLAGS} -o \$(@)"
9418 SHL_LD="$ac_cv_prog_CC -shared ${LDFLAGS} -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
9420 LD_RXLIB_A1="ld -G ${LDFLAGS} -o \$(@)"
9421 LD_RXLIB_A2="ld -G ${LDFLAGS} -o \$(@)"
9422 LD_RXLIB_UTILA="ld -G ${LDFLAGS} -o \$(@)"
9423 SHL_LD="ld -G ${LDFLAGS} -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
9432 LD_RXLIB_A1="ld -o \$(@)"
9433 LD_RXLIB_A2="ld -o \$(@)"
9434 LD_RXLIB_UTILA="ld -o \$(@)"
9439 SHL_LD="ld -assert pure-text -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
9442 LD_RXLIB_A1="ld -Bdynamic -Bshareable ${LDFLAGS} -o \$(@)"
9443 LD_RXLIB_A2="ld -Bdynamic -Bshareable ${LDFLAGS} -o \$(@)"
9444 LD_RXLIB_UTILA="ld -Bdynamic -Bshareable ${LDFLAGS} -o \$(@)"
9445 LD_RXLIB_B1="-lc -L. -l${SHLFILE}"
9446 LD_RXLIB_B2="-lc -L. -l${SHLFILE}"
9447 LD_RXLIB_UTILB="-lc -L. -l${SHLFILE}"
9449 SHL_LD="ld -Bdynamic -Bshareable ${LDFLAGS} -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
9452 LD_RXLIB_A1="${CC} -shared ${LDFLAGS} -o \$(@)"
9453 LD_RXLIB_A2="${CC} -shared ${LDFLAGS} -o \$(@)"
9454 LD_RXLIB_UTILA="${CC} -shared ${LDFLAGS} -o \$(@)"
9455 # LD_RXLIB_B1="-L. -l${SHLFILE}"
9456 # LD_RXLIB_B2="-L. -l${SHLFILE}"
9457 LD_RXLIB_B1="${SHLPRE}${SHLFILE}${SHLPST}.\$(ABI)"
9458 LD_RXLIB_B2="${SHLPRE}${SHLFILE}${SHLPST}.\$(ABI)"
9459 LD_RXLIB_UTILB="${SHLPRE}${SHLFILE}${SHLPST}.\$(ABI)"
9461 SHL_LD="${CC} -o ${SHLPRE}${SHLFILE}${SHLPST}.\$(ABI) -shared ${LDFLAGS} ${SHL_SCRIPT} \$(SHOFILES) -lc"
9462 SHL_BASE="${SHLPRE}${SHLFILE}${SHLPST}.\$(ABI)"
9463 OTHER_INSTALLS="installabilib"
9467 LD_RXLIB_A1="${CC} -shared -o \$(@)"
9468 LD_RXLIB_A2="${CC} -shared -o \$(@)"
9469 LD_RXLIB_UTILA="${CC} -shared -o \$(@)"
9470 LD_RXLIB_B1="${SHLPRE}${SHLFILE}${SHLPST}.\$(ABI)"
9471 LD_RXLIB_B2="${SHLPRE}${SHLFILE}${SHLPST}.\$(ABI)"
9472 LD_RXLIB_UTILB="${SHLPRE}${SHLFILE}${SHLPST}.\$(ABI)"
9474 SHL_LD="${CC} -o ${SHLPRE}${SHLFILE}${SHLPST}.\$(ABI) -shared ${SHL_SCRIPT} -Wl,-soname=${SHLPRE}${SHLFILE}${SHLPST}.\$(ABI_MAJOR) \$(SHOFILES) -lc"
9475 SHL_BASE="${SHLPRE}${SHLFILE}${SHLPST}.\$(ABI)"
9476 OTHER_INSTALLS="installabilib"
9480 LD_RXLIB_A1="${CC} -shared ${LDFLAGS} -o \$(@)"
9481 LD_RXLIB_A2="${CC} -shared ${LDFLAGS} -o \$(@)"
9482 LD_RXLIB_UTILA="${CC} -shared ${LDFLAGS} -o \$(@)"
9483 LD_RXLIB_B1="-L. -l${SHLFILE} "'$('BOTHLIBS')'
9484 LD_RXLIB_B2="-L. -l${SHLFILE} "'$('BOTHLIBS')'
9485 LD_RXLIB_UTILB="-L. -l${SHLFILE} "'$('BOTHLIBS')'
9487 SHL_LD="${CC} -o ${SHLPRE}${SHLFILE}${SHLPST} -shared ${LDFLAGS} \$(SHOFILES) "'$('BOTHLIBS')'
9488 SHL_BASE="${LIBPRE}${SHLFILE}${SHLPST}"
9489 BASE_BINARY="atheosbinary"
9492 LD_RXLIB_A1="${CC} -Wl,-shared -nostart -Xlinker -o\$(@)"
9493 LD_RXLIB_A2="${CC} -Wl,-shared -nostart -Xlinker -o\$(@)"
9494 LD_RXLIB_UTILA="${CC} -Wl,-shared -nostart -Xlinker -o\$(@)"
9495 LD_RXLIB_B1="-L. -l${SHLFILE}"
9496 LD_RXLIB_B2="-L. -l${SHLFILE}"
9497 LD_RXLIB_UTILB="-L. -l${SHLFILE}"
9499 SHL_LD="${CC} -o ${SHLPRE}${SHLFILE}${SHLPST} -Wl,-shared -nostart -Xlinker \$(SHOFILES)"
9500 SHL_BASE="${SHLPRE}${SHLFILE}${SHLPST}"
9502 BASE_INSTALL="beosinstall"
9503 BASE_BINARY="beosbinary"
9507 LD_RXLIB_A1="${CC} -shared -o \$(@)"
9508 LD_RXLIB_A2="${CC} -shared -o \$(@)"
9509 LD_RXLIB_UTILA="${CC} -shared -o \$(@)"
9510 LD_RXLIB_B1="-L. -l${SHLFILE}"
9511 LD_RXLIB_B2="-L. -l${SHLFILE}"
9512 LD_RXLIB_UTILB="-L. -l${SHLFILE}"
9514 SHL_LD="${CC} -o ${SHLPRE}${SHLFILE}${SHLPST} -shared \$(SHOFILES)"
9515 SHL_BASE="${SHLPRE}${SHLFILE}${SHLPST}"
9518 LD_RXLIB_A1="${CC} -shared -o \$(@)"
9519 LD_RXLIB_A2="${CC} -shared -o \$(@)"
9520 LD_RXLIB_UTILA="${CC} -shared -o \$(@)"
9521 LD_RXLIB_B1="-L. -l${SHLFILE}"
9522 LD_RXLIB_B2="-L. -l${SHLFILE}"
9523 LD_RXLIB_UTILB="-L. -l${SHLFILE}"
9525 SHL_LD="${CC} -o ${SHLPRE}${SHLFILE}${SHLPST} -shared \$(SHOFILES)"
9526 SHL_BASE="${SHLPRE}${SHLFILE}${SHLPST}"
9536 # set BUNDLE to unique junk names to stop the Makefile
9537 # getting duplicate targets
9541 EEXTRA="-mf -N0x20000 -Q"
9547 LD_RXLIB_A1="dllwrap --target i386-cygwin32 --def ${srcdir}/test1_w32_dll.def --dllname rxtest1.dll -o \$(@)"
9548 LD_RXLIB_A2="dllwrap --target i386-cygwin32 --def ${srcdir}/test2_w32_dll.def --dllname rxtest2.dll -o \$(@)"
9549 LD_RXLIB_UTILA="dllwrap --target i386-cygwin32 --def ${srcdir}/regutil/regutil.def --dllname regutil.dll -o \$(@)"
9550 LD_RXLIB_B1="-L. -lregina"
9551 LD_RXLIB_B2="-L. -lregina"
9552 LD_RXLIB_UTILB="-L. -lregina"
9554 SHL_LD="dllwrap --def ${srcdir}/regina_w32_dll.def --output-lib libregina.a --target i386-cygwin32 --dllname regina.dll -o regina.dll \$(SHOFILES)"
9559 SHL_BASE="${SHLPRE}${SHLFILE}${SHLPST}"
9563 TEST1EXP="${srcdir}/test1_w32_dll.def"
9564 TEST2EXP="${srcdir}/test2_w32_dll.def"
9565 REGINAEXP="${srcdir}/regina_w32_dll.def"
9566 REGUTILEXP="${srcdir}/regutil/regutil.def"
9567 BASE_INSTALL="cygwininstall"
9571 # to test on platform other than real Mac OSX use: --build=ppc-apple-darwin10.1 --target=ppc-apple-darwin10.1
9573 # Link switches for building "bundles"
9575 # MH LD_RXLIB_A1="${CC} -bundle -flat_namespace -undefined suppress -o \$(@)"
9576 # MH LD_RXLIB_A2="${CC} -bundle -flat_namespace -undefined suppress -o \$(@)"
9577 EEXTRA="$valid_arch_flags"
9578 LD_RXLIB_A1="${CC} ${EEXTRA} -dynamiclib ${LDFLAGS} -o \$(@)"
9579 LD_RXLIB_A2="${CC} ${EEXTRA} -dynamiclib ${LDFLAGS} -o \$(@)"
9580 LD_RXLIB_UTILA="${CC} ${EEXTRA} -dynamiclib ${LDFLAGS} -o \$(@)"
9581 LD_RXLIB_B1="-L. -l${SHLFILE} -lc \$(SHLIBS)"
9582 LD_RXLIB_B2="-L. -l${SHLFILE} -lc \$(SHLIBS)"
9583 LD_RXLIB_UTILB="-L. -l${SHLFILE} -lc \$(SHLIBS)"
9584 DYN_COMP="-DDYNAMIC -fno-common"
9588 SHL_LD="${CC} ${EEXTRA} -dynamiclib ${LDFLAGS} -install_name ${SHLPRE}${SHLFILE}${SHLPST} -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
9589 SHL_BASE="${LIBPRE}${SHLFILE}${SHLPST}"
9590 # MH EXTRATARGET="libregina$BUNDLE"
9591 OTHER_INSTALLS="installlib"
9595 { echo "$as_me:$LINENO: checking how to create a shared library" >&5
9596 echo $ECHO_N "checking how to create a shared library... $ECHO_C" >&6; }
9597 mh_compile='${CC-cc} -c $DYN_COMP conftest.$ac_ext 1>&5'
9598 cat > conftest.$ac_ext <<EOF
9599 #line 9599 "configure"
9605 if { (eval echo "$as_me:$LINENO: \"$mh_compile\"") >&5
9606 (eval $mh_compile) 2>&5
9608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9609 (exit $ac_status); } && test -s conftest.o; then
9610 mh_dyn_link='ld -shared -o conftest.so.1.0 conftest.o -lc 1>&5'
9611 # mh_dyn_link='${CC} -Wl,-shared -o conftest.so.1.0 conftest.o -lc 1>&AC_FD_CC'
9612 if { (eval echo "$as_me:$LINENO: \"$mh_dyn_link\"") >&5
9613 (eval $mh_dyn_link) 2>&5
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); } && test -s conftest.so.1.0; then
9617 SHL_LD="ld -shared -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'" -lc"
9618 # SHL_LD="${CC} -Wl,-shared -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'" -lc"
9620 mh_dyn_link='ld -G -o conftest.so.1.0 conftest.o 1>&5'
9621 # mh_dyn_link='${CC} -Wl,-G -o conftest.so.1.0 conftest.o 1>&AC_FD_CC'
9622 if { (eval echo "$as_me:$LINENO: \"$mh_dyn_link\"") >&5
9623 (eval $mh_dyn_link) 2>&5
9625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626 (exit $ac_status); } && test -s conftest.so.1.0; then
9627 SHL_LD="ld -G -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
9628 # SHL_LD="${CC} -Wl,-G -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
9630 mh_dyn_link='ld -o conftest.so.1.0 -shared -no_archive conftest.o -lc 1>&5'
9631 # mh_dyn_link='${CC} -o conftest.so.1.0 -Wl,-shared,-no_archive conftest.o -lc 1>&AC_FD_CC'
9632 if { (eval echo "$as_me:$LINENO: \"$mh_dyn_link\"") >&5
9633 (eval $mh_dyn_link) 2>&5
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); } && test -s conftest.so.1.0; then
9637 SHL_LD="ld -o ${SHLPRE}${SHLFILE}${SHLPST} -shared -no_archive "'$('SHOFILES')'" -lc"
9638 # SHL_LD="${CC} -o ${SHLPRE}${SHLFILE}${SHLPST} -Wl,-shared,-no_archive "'$('SHOFILES')'" -lc"
9640 mh_dyn_link='ld -b -o conftest.so.1.0 conftest.o 1>&5'
9641 # mh_dyn_link='${CC} -Wl,-b -o conftest.so.1.0 conftest.o 1>&AC_FD_CC'
9642 if { (eval echo "$as_me:$LINENO: \"$mh_dyn_link\"") >&5
9643 (eval $mh_dyn_link) 2>&5
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); } && test -s conftest.so.1.0; then
9647 SHL_LD="ld -b -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
9648 # SHL_LD="${CC} -Wl,-b -o ${SHLPRE}${SHLFILE}.${SHLPST} "'$('SHOFILES')'
9650 mh_dyn_link='ld -Bshareable -o conftest.so.1.0 conftest.o 1>&5'
9651 # mh_dyn_link='${CC} -Wl,-Bshareable -o conftest.so.1.0 conftest.o 1>&AC_FD_CC'
9652 if { (eval echo "$as_me:$LINENO: \"$mh_dyn_link\"") >&5
9653 (eval $mh_dyn_link) 2>&5
9655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 (exit $ac_status); } && test -s conftest.so.1.0; then
9657 SHL_LD="ld -Bshareable -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
9658 # SHL_LD="${CC} -Wl,-Bshareable -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
9660 mh_dyn_link='ld -assert pure-text -o conftest.so.1.0 conftest.o 1>&5'
9661 # mh_dyn_link='${CC} -Wl,-assert pure-text -o conftest.so.1.0 conftest.o 1>&AC_FD_CC'
9662 if { (eval echo "$as_me:$LINENO: \"$mh_dyn_link\"") >&5
9663 (eval $mh_dyn_link) 2>&5
9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9666 (exit $ac_status); } && test -s conftest.so.1.0; then
9667 SHL_LD="ld -assert pure-text -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
9668 # SHL_LD="${CC} -Wl,-assert pure-text -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')'
9678 if test "$SHL_LD" = ""; then
9679 { echo "$as_me:$LINENO: result: unknown" >&5
9680 echo "${ECHO_T}unknown" >&6; }
9682 { echo "$as_me:$LINENO: result: found" >&5
9683 echo "${ECHO_T}found" >&6; }
9688 mh_compile='${CC-cc} -c $DYN_COMP conftest.$ac_ext 1>&5'
9689 cat > conftest.$ac_ext <<EOF
9690 #line 9690 "configure"
9696 if { (eval echo "$as_me:$LINENO: \"$mh_compile\"") >&5
9697 (eval $mh_compile) 2>&5
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); } && test -s conftest.o; then
9701 mh_dyn_link='ld -shared -o conftest.rxlib conftest.o -lc 1>&5'
9702 # mh_dyn_link='${CC} -Wl,-shared -o conftest.rxlib conftest.o -lc 1>&AC_FD_CC'
9703 if { (eval echo "$as_me:$LINENO: \"$mh_dyn_link\"") >&5
9704 (eval $mh_dyn_link) 2>&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); } && test -s conftest.rxlib; then
9708 LD_RXLIB_A1="ld -shared -o \$(@)"
9709 LD_RXLIB_A2="ld -shared -o \$(@)"
9710 LD_RXLIB_UTILA="ld -shared -o \$(@)"
9711 # LD_RXLIB1="${CC} -Wl,-shared"
9712 LD_RXLIB_B1="-L. -l${SHLFILE}"
9713 LD_RXLIB_B2="-L. -l${SHLFILE}"
9714 LD_RXLIB_UTILB="-L. -l${SHLFILE}"
9718 mh_dyn_link='ld -G -o conftest.rxlib conftest.o 1>&5'
9719 # mh_dyn_link='${CC} -Wl,-G -o conftest.rxlib conftest.o 1>&AC_FD_CC'
9720 if { (eval echo "$as_me:$LINENO: \"$mh_dyn_link\"") >&5
9721 (eval $mh_dyn_link) 2>&5
9723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9724 (exit $ac_status); } && test -s conftest.rxlib; then
9725 LD_RXLIB_A1="ld -G -o \$(@)"
9726 LD_RXLIB_A2="ld -G -o \$(@)"
9727 LD_RXLIB_UTILA="ld -G -o \$(@)"
9728 # LD_RXLIB1="${CC} -Wl,-G"
9729 LD_RXLIB_B1="-L. -l${SHLFILE}"
9730 LD_RXLIB_B2="-L. -l${SHLFILE}"
9731 LD_RXLIB_UTILB="-L. -l${SHLFILE}"
9751 LIBFLAGS="cr ${LIBPRE}${LIBFILE}${LIBPST}"
9752 LIBLINK="-L. -l${LIBFILE}"
9753 LINKSHL="-L. -l${SHLFILE}"
9758 # For HPUX, we must link the "regina" executable with -lregina
9759 # otherwise you can't move the shared library anywhere other
9760 # than where it was built. Fix by PJM
9762 LINKREG="${LINKSHL}"
9766 # For CygWin, we must link with the import library
9767 # not the actual DLL
9769 LINKREG="${LINKSHL}"
9773 # SkyOS requires linking with -L. -lregina format
9775 LINKREG="${LINKSHL}"
9778 LINKSHL="${SHLPRE}${SHLFILE}${SHLPST}.\$(ABI)"
9779 LINKREG="${LINKSHL}"
9782 LINKREG="${SHLPRE}${SHLFILE}${SHLPST}"
9786 if test "$SHL_LD" != ""; then
9787 SHL_LD="$SHL_LD \$(BOTHLIBS) \$(MH_MT_LIBS)"
9790 { echo "$as_me:$LINENO: checking if dynamic loading of external functions is supported" >&5
9791 echo $ECHO_N "checking if dynamic loading of external functions is supported... $ECHO_C" >&6; }
9792 if test "$HAVE_DLFCN_H" = "1" -o "$ac_cv_header_dl_h" = "yes" -o "$ac_cv_header_dlfcn_h" = "yes" -o "$AIX_DYN" = "yes" -o "$BEOS_DYN" = "yes"; then
9793 SHL_TARGETS="${SHL_BASE} regina${binarybitprefix}${EXEEXT} ${SHLPRE}regutil${MODPST} ${SHLPRE}rxtest1${MODPST} ${SHLPRE}rxtest2${MODPST} $EXTRATARGET"
9794 EXECISER_DEP="${SHL_BASE}"
9795 OTHER_INSTALLS="regina${binarybitprefix}${EXEEXT} $OTHER_INSTALLS"
9796 { echo "$as_me:$LINENO: result: \"yes\"" >&5
9797 echo "${ECHO_T}\"yes\"" >&6; }
9800 EXECISER_DEP="${STATICLIB}"
9802 { echo "$as_me:$LINENO: result: \"no\"" >&5
9803 echo "${ECHO_T}\"no\"" >&6; }
9806 if test "$AIX_DYN" = "yes"; then
9810 STATICLIB="${LIBPRE}${LIBFILE}${LIBPST}"
9867 if test "$ac_cv_header_dlfcn_h" = "yes" -o "$HAVE_DLFCN_H" = "1"; then
9868 { echo "$as_me:$LINENO: checking if symbols need underscore prepended in loadable modules" >&5
9869 echo $ECHO_N "checking if symbols need underscore prepended in loadable modules... $ECHO_C" >&6; }
9871 save_cflags="$CFLAGS"
9872 LIBS="$LIBS $DLFCNLIBDIR"
9873 CFLAGS="$CFLAGS $DLFCNINCDIR"
9874 if test "${mh_cv_uscore+set}" = set; then
9875 echo $ECHO_N "(cached) $ECHO_C" >&6
9878 if test "$cross_compiling" = yes; then
9882 cat >conftest.$ac_ext <<_ACEOF
9885 int mh_underscore_test (void) { return 42; }
9887 void *f1 = (void*)0, *f2 = (void*)0, *handle;
9888 handle = dlopen ((void*)0, 0);
9890 f1 = dlsym (handle, "mh_underscore_test");
9891 f2 = dlsym (handle, "_mh_underscore_test");
9892 } return (!f2 || f1);
9895 rm -f conftest$ac_exeext
9896 if { (ac_try="$ac_link"
9898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9899 *) ac_try_echo
=$ac_try;;
9901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9902 (eval "$ac_link") 2>&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9906 { (case "(($ac_try" in
9907 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9908 *) ac_try_echo=$ac_try;;
9910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9911 (eval "$ac_try") 2>&5
9913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914 (exit $ac_status); }; }; then
9917 echo "$as_me: program exited with status $ac_status" >&5
9918 echo "$as_me: failed program was:" >&5
9919 sed 's/^/| /' conftest.$ac_ext >&5
9924 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9931 { echo "$as_me:$LINENO: result: $mh_cv_uscore" >&5
9932 echo "${ECHO_T}$mh_cv_uscore" >&6; }
9933 if test "x$mh_cv_uscore" = "xyes"; then
9934 cat >>confdefs.h <<\_ACEOF
9935 #define MODULES_NEED_USCORE 1
9940 CFLAGS="$save_cflags"
9950 # Extract the first word of "rpm", so it can be a program name with args.
9951 set dummy rpm; ac_word=$2
9952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9954 if test "${ac_cv_prog_mh_rpm_exists+set}" = set; then
9955 echo $ECHO_N "(cached) $ECHO_C" >&6
9957 if test -n "$mh_rpm_exists"; then
9958 ac_cv_prog_mh_rpm_exists="$mh_rpm_exists" # Let the user override the test.
9960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9964 test -z "$as_dir" && as_dir=.
9965 for ac_exec_ext in '' $ac_executable_extensions; do
9966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9967 ac_cv_prog_mh_rpm_exists="yes"
9968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9975 test -z "$ac_cv_prog_mh_rpm_exists" && ac_cv_prog_mh_rpm_exists="no "
9978 mh_rpm_exists=$ac_cv_prog_mh_rpm_exists
9979 if test -n "$mh_rpm_exists"; then
9980 { echo "$as_me:$LINENO: result: $mh_rpm_exists" >&5
9981 echo "${ECHO_T}$mh_rpm_exists" >&6; }
9983 { echo "$as_me:$LINENO: result: no" >&5
9984 echo "${ECHO_T}no" >&6; }
9988 if test "$mh_rpm_exists" = yes; then
9989 { echo "$as_me:$LINENO: checking where rpms are built" >&5
9990 echo $ECHO_N "checking where rpms are built... $ECHO_C" >&6; }
9991 RPMTOPDIR=`rpm
--eval "%{_topdir}"`
9992 { echo "$as_me:$LINENO: result: $RPMTOPDIR" >&5
9993 echo "${ECHO_T}$RPMTOPDIR" >&6; }
9998 cat >>confdefs.h <<\_ACEOF
10005 { echo "$as_me:$LINENO: checking whether char is unsigned" >&5
10006 echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6; }
10007 if test "${ac_cv_c_char_unsigned+set}" = set; then
10008 echo $ECHO_N "(cached) $ECHO_C" >&6
10010 cat >conftest.$ac_ext <<_ACEOF
10013 cat confdefs.h >>conftest.$ac_ext
10014 cat >>conftest.$ac_ext <<_ACEOF
10015 /* end confdefs.h. */
10016 $ac_includes_default
10020 static int test_array [1 - 2 * !(((char) -1) < 0)];
10027 rm -f conftest.$ac_objext
10028 if { (ac_try="$ac_compile"
10029 case "(($ac_try" in
10030 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10031 *) ac_try_echo
=$ac_try;;
10033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10034 (eval "$ac_compile") 2>conftest.er1
10036 grep -v '^ *+' conftest.er1
>conftest.err
10038 cat conftest.err
>&5
10039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040 (exit $ac_status); } && {
10041 test -z "$ac_c_werror_flag" ||
10042 test ! -s conftest.err
10043 } && test -s conftest.
$ac_objext; then
10044 ac_cv_c_char_unsigned
=no
10046 echo "$as_me: failed program was:" >&5
10047 sed 's/^/| /' conftest.
$ac_ext >&5
10049 ac_cv_c_char_unsigned
=yes
10052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10054 { echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
10055 echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6; }
10056 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
10057 cat >>confdefs.h
<<\_ACEOF
10058 #define __CHAR_UNSIGNED__ 1
10063 { echo "$as_me:$LINENO: checking compiler switch for unsigned char" >&5
10064 echo $ECHO_N "checking compiler switch for unsigned char... $ECHO_C" >&6; }
10066 # QNX4 Watcom compiler is unsigned char by default
10068 if test "$on_qnx4" = yes -a "$ac_cv_prog_CC" = "cc" ; then
10069 qnx4_char_unsigned
="yes"
10072 if test "$ac_cv_c_char_unsigned" = yes -o "$qnx4_char_unsigned" = yes; then
10073 MH_UNSIGNED_CHAR_SWITCH
=""
10074 msg
="not needed - char is unsigned by default"
10076 case "$ac_cv_prog_CC" in
10078 MH_UNSIGNED_CHAR_SWITCH
="-funsigned-char"
10079 msg
="$MH_UNSIGNED_CHAR_SWITCH"
10082 MH_UNSIGNED_CHAR_SWITCH
="-qchars=unsigned"
10083 msg
="$MH_UNSIGNED_CHAR_SWITCH"
10086 save_cflags
="$CFLAGS"
10087 mh_have_unsigned_char_switch
=no
10088 mh_unsigned_flags
="-funsigned-char -xchar=unsigned"
10089 for mh_flag
in $mh_unsigned_flags; do
10090 CFLAGS
="$CFLAGS $mh_flag"
10091 cat >conftest.
$ac_ext <<_ACEOF
10094 cat confdefs.h
>>conftest.
$ac_ext
10095 cat >>conftest.
$ac_ext <<_ACEOF
10096 /* end confdefs.h. */
10106 rm -f conftest.
$ac_objext
10107 if { (ac_try
="$ac_compile"
10108 case "(($ac_try" in
10109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10110 *) ac_try_echo=$ac_try;;
10112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10113 (eval "$ac_compile") 2>conftest.er1
10115 grep -v '^ *+' conftest.er1 >conftest.err
10117 cat conftest.err >&5
10118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119 (exit $ac_status); } && {
10120 test -z "$ac_c_werror_flag" ||
10121 test ! -s conftest.err
10122 } && test -s conftest.$ac_objext; then
10123 MH_UNSIGNED_CHAR_SWITCH="$mh_flag"; msg="$MH_UNSIGNED_CHAR_SWITCH"; mh_have_unsigned_char_switch=yes
10125 echo "$as_me: failed program was:" >&5
10126 sed 's/^/| /' conftest.$ac_ext >&5
10131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10132 CFLAGS="$save_cflags"
10133 if test "$mh_have_unsigned_char_switch" = yes; then
10137 if test "$mh_have_unsigned_char_switch" = no; then
10138 msg="unknown - assuming unsigned by default but running execiser will confirm"
10143 { echo "$as_me:$LINENO: result: \"$msg\"" >&5
10144 echo "${ECHO_T}\"$msg\"" >&6; }
10149 ac_config_files="$ac_config_files $mymakefile regina-config rxstack.init.d"
10151 cat >confcache <<\_ACEOF
10152 # This file is a shell script that caches the results of configure
10153 # tests run on this system so they can be shared between configure
10154 # scripts and configure runs, see configure's option --config-cache.
10155 # It is not useful on other systems. If it contains results you don't
10156 # want to keep, you may remove or edit it.
10158 # config.status only pays attention to the cache file if you give it
10159 # the --recheck option to rerun configure.
10161 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
10162 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10163 # following values.
10167 # The following way of writing the cache mishandles newlines in values,
10168 # but we know of no workaround that is simple, portable, and efficient.
10169 # So, we kill variables containing newlines.
10170 # Ultrix sh set writes to stderr and can't be redirected directly,
10171 # and sets the high bit in the cache file unless we assign to the vars.
10173 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10174 eval ac_val
=\$
$ac_var
10178 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10179 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10182 _ | IFS | as_nl
) ;; #(
10183 *) $as_unset $ac_var ;;
10189 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10190 *${as_nl}ac_space
=\
*)
10191 # `set' does not quote correctly, so add quotes (double-quote
10192 # substitution turns \\\\ into \\, and sed turns \\ into \).
10195 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10198 # `set' quotes correctly as required by POSIX, so do not add quotes.
10199 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10208 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10210 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10212 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10213 if test -w "$cache_file"; then
10214 test "x$cache_file" != "x/dev/null" &&
10215 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10216 echo "$as_me: updating cache $cache_file" >&6;}
10217 cat confcache
>$cache_file
10219 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10220 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10225 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10226 # Let make expand exec_prefix.
10227 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10229 DEFS
=-DHAVE_CONFIG_H
10233 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10234 # 1. Remove the extension, and $U if already installed.
10235 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10236 ac_i
=`echo "$ac_i" | sed "$ac_script"`
10237 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10238 # will be set to the directory where LIBOBJS objects are built.
10239 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10240 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10242 LIBOBJS
=$ac_libobjs
10244 LTLIBOBJS
=$ac_ltlibobjs
10248 : ${CONFIG_STATUS=./config.status}
10249 ac_clean_files_save
=$ac_clean_files
10250 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10251 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10252 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10253 cat >$CONFIG_STATUS <<_ACEOF
10255 # Generated by $as_me.
10256 # Run this file to recreate the current configuration.
10257 # Compiler output produced by configure, useful for debugging
10258 # configure, is in config.log if it exists.
10261 ac_cs_recheck=false
10263 SHELL=\${CONFIG_SHELL-$SHELL}
10266 cat >>$CONFIG_STATUS <<\_ACEOF
10267 ## --------------------- ##
10268 ## M4sh Initialization. ##
10269 ## --------------------- ##
10271 # Be more Bourne compatible
10272 DUALCASE
=1; export DUALCASE
# for MKS sh
10273 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10276 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10277 # is contrary to our usage. Disable this feature.
10278 alias -g '${1+"$@"}'='"$@"'
10279 setopt NO_GLOB_SUBST
10281 case `(set -o) 2>/dev/null` in
10282 *posix
*) set -o posix
;;
10291 # Avoid depending upon Character Ranges.
10292 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10293 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10294 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10295 as_cr_digits
='0123456789'
10296 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10298 # The user is always right.
10299 if test "${PATH_SEPARATOR+set}" != set; then
10300 echo "#! /bin/sh" >conf$$.sh
10301 echo "exit 0" >>conf$$.sh
10303 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10311 # Support unset when possible.
10312 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
10320 # We need space, tab and new line, in precisely that order. Quoting is
10321 # there to prevent editors from complaining about space-tab.
10322 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10323 # splitting by setting IFS to empty value.)
10328 # Find who we are. Look in the path if we contain no directory separator.
10330 *[\\/]* ) as_myself
=$0 ;;
10331 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10332 for as_dir
in $PATH
10335 test -z "$as_dir" && as_dir
=.
10336 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10342 # We did not find ourselves, most probably we were run as `sh COMMAND'
10343 # in which case we are not to be found in the path.
10344 if test "x$as_myself" = x
; then
10347 if test ! -f "$as_myself"; then
10348 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10349 { (exit 1); exit 1; }
10352 # Work around bugs in pre-3.0 UWIN ksh.
10353 for as_var
in ENV MAIL MAILPATH
10354 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10362 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10363 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10364 LC_TELEPHONE LC_TIME
10366 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10367 eval $as_var=C
; export $as_var
10369 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10373 # Required to use basename.
10374 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10375 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10381 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10382 as_basename
=basename
10388 # Name of the executable.
10389 as_me
=`$as_basename -- "$0" ||
10390 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10391 X"$0" : 'X\(//\)$' \| \
10392 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10394 sed '/^.*\/\([^/][^/]*\)\/*$/{
10413 as_lineno_1
=$LINENO
10414 as_lineno_2
=$LINENO
10415 test "x$as_lineno_1" != "x$as_lineno_2" &&
10416 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
10418 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10419 # uniformly replaced by the line number. The first 'sed' inserts a
10420 # line-number line after each line using $LINENO; the second 'sed'
10421 # does the real work. The second script uses 'N' to pair each
10422 # line-number line with the line containing $LINENO, and appends
10423 # trailing '-' during substitution so that $LINENO is not a special
10424 # case at line end.
10425 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10426 # scripts with optimization help from Paolo Bonzini. Blame Lee
10427 # E. McMahon (1931-1989) for sed's syntax. :-)
10439 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10442 ' >$as_me.lineno
&&
10443 chmod +x
"$as_me.lineno" ||
10444 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10445 { (exit 1); exit 1; }; }
10447 # Don't try to exec as it changes $[0], causing all sort of problems
10448 # (the dirname of $[0] is not the place where we might find the
10449 # original and so on. Autoconf is especially sensitive to this).
10450 .
"./$as_me.lineno"
10451 # Exit status is that of the last command.
10456 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10462 ECHO_C
= ECHO_N
= ECHO_T
=
10463 case `echo -n x` in
10465 case `echo 'x\c'` in
10466 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10473 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10474 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10480 rm -f conf$$ conf$$.exe conf$$.
file
10481 if test -d conf$$.dir
; then
10482 rm -f conf$$.dir
/conf$$.
file
10488 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10490 # ... but there are two gotchas:
10491 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10492 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10493 # In both cases, we have to default to `cp -p'.
10494 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
10496 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10501 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10502 rmdir conf$$.dir
2>/dev
/null
10504 if mkdir
-p .
2>/dev
/null
; then
10507 test -d .
/-p && rmdir .
/-p
10511 if test -x / >/dev
/null
2>&1; then
10512 as_test_x
='test -x'
10514 if ls -dL / >/dev
/null
2>&1; then
10521 if test -d "$1"; then
10527 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10528 ???[sx]*):;;*)false;;esac;fi
10532 as_executable_p
=$as_test_x
10534 # Sed expression to map a string onto a valid CPP name.
10535 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10537 # Sed expression to map a string onto a valid variable name.
10538 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10543 # Save the log message, to keep $[0] and so on meaningful, and to
10544 # report actual input values of CONFIG_FILES etc. instead of their
10545 # values after options handling.
10547 This file was extended by Regina REXX Interpreter $as_me "", which was
10548 generated by GNU Autoconf 2.61. Invocation command line was
10550 CONFIG_FILES = $CONFIG_FILES
10551 CONFIG_HEADERS = $CONFIG_HEADERS
10552 CONFIG_LINKS = $CONFIG_LINKS
10553 CONFIG_COMMANDS = $CONFIG_COMMANDS
10556 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10561 cat >>$CONFIG_STATUS <<_ACEOF
10562 # Files that config.status was made for.
10563 config_files="$ac_config_files"
10564 config_headers="$ac_config_headers"
10568 cat >>$CONFIG_STATUS <<\_ACEOF
10570 \`$as_me' instantiates files from templates according to the
10571 current configuration.
10573 Usage: $0 [OPTIONS] [FILE]...
10575 -h, --help print this help, then exit
10576 -V, --version print version number and configuration settings, then exit
10577 -q, --quiet do not print progress messages
10578 -d, --debug don't remove temporary files
10579 --recheck update $as_me by reconfiguring in the same conditions
10580 --file=FILE[:TEMPLATE]
10581 instantiate the configuration file FILE
10582 --header=FILE[:TEMPLATE]
10583 instantiate the configuration header FILE
10585 Configuration files:
10588 Configuration headers:
10591 Report bugs to <bug-autoconf@gnu.org>."
10594 cat >>$CONFIG_STATUS <<_ACEOF
10596 Regina REXX Interpreter config.status ""
10597 configured by $0, generated by GNU Autoconf 2.61,
10598 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10600 Copyright (C) 2006 Free Software Foundation, Inc.
10601 This config.status script is free software; the Free Software Foundation
10602 gives unlimited permission to copy, distribute and modify it."
10608 cat >>$CONFIG_STATUS <<\_ACEOF
10609 # If no file are specified by the user, then we need to provide default
10610 # value. By we need to know if files were specified by the user.
10616 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10617 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10628 # Handling of the options.
10629 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10631 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10632 echo "$ac_cs_version"; exit ;;
10633 --debug |
--debu |
--deb |
--de |
--d |
-d )
10635 --file |
--fil |
--fi |
--f )
10637 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10638 ac_need_defaults
=false
;;
10639 --header |
--heade |
--head |
--hea )
10641 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10642 ac_need_defaults
=false
;;
10644 # Conflict between --help and --header
10645 { echo "$as_me: error: ambiguous option: $1
10646 Try \`$0 --help' for more information." >&2
10647 { (exit 1); exit 1; }; };;
10648 --help |
--hel |
-h )
10649 echo "$ac_cs_usage"; exit ;;
10650 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10651 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10654 # This is an error.
10655 -*) { echo "$as_me: error: unrecognized option: $1
10656 Try \`$0 --help' for more information." >&2
10657 { (exit 1); exit 1; }; } ;;
10659 *) ac_config_targets
="$ac_config_targets $1"
10660 ac_need_defaults
=false
;;
10666 ac_configure_extra_args
=
10668 if $ac_cs_silent; then
10670 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10674 cat >>$CONFIG_STATUS <<_ACEOF
10675 if \$ac_cs_recheck; then
10676 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10677 CONFIG_SHELL=$SHELL
10678 export CONFIG_SHELL
10679 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10683 cat >>$CONFIG_STATUS <<\_ACEOF
10687 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10688 ## Running $as_me. ##
10694 cat >>$CONFIG_STATUS <<_ACEOF
10697 cat >>$CONFIG_STATUS <<\_ACEOF
10699 # Handling of arguments.
10700 for ac_config_target
in $ac_config_targets
10702 case $ac_config_target in
10703 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
10704 "$mymakefile") CONFIG_FILES
="$CONFIG_FILES $mymakefile" ;;
10705 "regina-config") CONFIG_FILES
="$CONFIG_FILES regina-config" ;;
10706 "rxstack.init.d") CONFIG_FILES
="$CONFIG_FILES rxstack.init.d" ;;
10708 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10709 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10710 { (exit 1); exit 1; }; };;
10715 # If the user did not use the arguments to specify the items to instantiate,
10716 # then the envvar interface is used. Set only those that are not.
10717 # We use the long form for the default assignment because of an extremely
10718 # bizarre bug on SunOS 4.1.3.
10719 if $ac_need_defaults; then
10720 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10721 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10724 # Have a temporary directory for convenience. Make it in the build tree
10725 # simply because there is no reason against having it here, and in addition,
10726 # creating and moving files from /tmp can sometimes cause problems.
10727 # Hook for its removal unless debugging.
10728 # Note that there is a small window in which the directory will not be cleaned:
10729 # after its creation but before its name has been assigned to `$tmp'.
10733 trap 'exit_status=$?
10734 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10736 trap '{ (exit 1); exit 1; }' 1 2 13 15
10738 # Create a (secure) tmp directory for tmp files.
10741 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10742 test -n "$tmp" && test -d "$tmp"
10745 tmp
=.
/conf$$
-$RANDOM
10746 (umask 077 && mkdir
"$tmp")
10749 echo "$me: cannot create a temporary directory in ." >&2
10750 { (exit 1); exit 1; }
10754 # Set up the sed scripts for CONFIG_FILES section.
10757 # No need to generate the scripts if there are no CONFIG_FILES.
10758 # This happens for instance when ./config.status config.h
10759 if test -n "$CONFIG_FILES"; then
10766 for ac_last_try
in false false false false false
:; do
10767 cat >conf$
$subs.
sed <<_ACEOF
10768 SHELL!$SHELL$ac_delim
10769 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10770 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10771 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10772 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10773 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10774 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10775 exec_prefix!$exec_prefix$ac_delim
10776 prefix!$prefix$ac_delim
10777 program_transform_name!$program_transform_name$ac_delim
10778 bindir!$bindir$ac_delim
10779 sbindir!$sbindir$ac_delim
10780 libexecdir!$libexecdir$ac_delim
10781 datarootdir!$datarootdir$ac_delim
10782 datadir!$datadir$ac_delim
10783 sysconfdir!$sysconfdir$ac_delim
10784 sharedstatedir!$sharedstatedir$ac_delim
10785 localstatedir!$localstatedir$ac_delim
10786 includedir!$includedir$ac_delim
10787 oldincludedir!$oldincludedir$ac_delim
10788 docdir!$docdir$ac_delim
10789 infodir!$infodir$ac_delim
10790 htmldir!$htmldir$ac_delim
10791 dvidir!$dvidir$ac_delim
10792 pdfdir!$pdfdir$ac_delim
10793 psdir!$psdir$ac_delim
10794 libdir!$libdir$ac_delim
10795 localedir!$localedir$ac_delim
10796 mandir!$mandir$ac_delim
10797 DEFS!$DEFS$ac_delim
10798 ECHO_C!$ECHO_C$ac_delim
10799 ECHO_N!$ECHO_N$ac_delim
10800 ECHO_T!$ECHO_T$ac_delim
10801 LIBS!$LIBS$ac_delim
10802 build_alias!$build_alias$ac_delim
10803 host_alias!$host_alias$ac_delim
10804 target_alias!$target_alias$ac_delim
10805 VERSION!$VERSION$ac_delim
10806 VERSION_NODOT!$VERSION_NODOT$ac_delim
10807 VER_DATE!$VER_DATE$ac_delim
10808 VER_MAJOR!$VER_MAJOR$ac_delim
10809 VER_MINOR!$VER_MINOR$ac_delim
10810 VER_SUPP!$VER_SUPP$ac_delim
10812 CFLAGS!$CFLAGS$ac_delim
10813 LDFLAGS!$LDFLAGS$ac_delim
10814 CPPFLAGS!$CPPFLAGS$ac_delim
10815 ac_ct_CC!$ac_ct_CC$ac_delim
10816 EXEEXT!$EXEEXT$ac_delim
10817 OBJEXT!$OBJEXT$ac_delim
10818 build!$build$ac_delim
10819 build_cpu!$build_cpu$ac_delim
10820 build_vendor!$build_vendor$ac_delim
10821 build_os!$build_os$ac_delim
10822 host!$host$ac_delim
10823 host_cpu!$host_cpu$ac_delim
10824 host_vendor!$host_vendor$ac_delim
10825 host_os!$host_os$ac_delim
10826 target!$target$ac_delim
10827 target_cpu!$target_cpu$ac_delim
10828 target_vendor!$target_vendor$ac_delim
10829 target_os!$target_os$ac_delim
10830 valid_arch_flags!$valid_arch_flags$ac_delim
10831 SYS_DEFS!$SYS_DEFS$ac_delim
10832 binarybitprefix!$binarybitprefix$ac_delim
10833 libdir64!$libdir64$ac_delim
10834 libdir32!$libdir32$ac_delim
10835 bitflag!$bitflag$ac_delim
10836 GCI_CONVERT_HEADER!$GCI_CONVERT_HEADER$ac_delim
10838 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
10839 LEXLIB!$LEXLIB$ac_delim
10840 RANLIB!$RANLIB$ac_delim
10841 LN_S!$LN_S$ac_delim
10842 SET_MAKE!$SET_MAKE$ac_delim
10844 GREP!$GREP$ac_delim
10845 EGREP!$EGREP$ac_delim
10846 LIBOBJS!$LIBOBJS$ac_delim
10847 ALLOCA!$ALLOCA$ac_delim
10848 ALLOCA_SHO!$ALLOCA_SHO$ac_delim
10849 ALLOCA_TSO!$ALLOCA_TSO$ac_delim
10850 FNMATCH!$FNMATCH$ac_delim
10851 FNMATCH_SHO!$FNMATCH_SHO$ac_delim
10852 FNMATCH_TSO!$FNMATCH_TSO$ac_delim
10853 REGUTIL_TERM_LIB!$REGUTIL_TERM_LIB$ac_delim
10854 DEBUG!$DEBUG$ac_delim
10855 DEBUGGING!$DEBUGGING$ac_delim
10856 PURIFY!$PURIFY$ac_delim
10857 EFENCE!$EFENCE$ac_delim
10858 DLFCNINCDIR!$DLFCNINCDIR$ac_delim
10859 DLFCNLIBDIR!$DLFCNLIBDIR$ac_delim
10860 GCI_SHO!$GCI_SHO$ac_delim
10861 HAVE_GCI!$HAVE_GCI$ac_delim
10862 SHL_SCRIPT!$SHL_SCRIPT$ac_delim
10863 THREADING_COMPILE!$THREADING_COMPILE$ac_delim
10864 THREADING_LINK!$THREADING_LINK$ac_delim
10867 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
10869 elif $ac_last_try; then
10870 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10871 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10872 { (exit 1); exit 1; }; }
10874 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10878 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10879 if test -n "$ac_eof"; then
10880 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10881 ac_eof
=`expr $ac_eof + 1`
10884 cat >>$CONFIG_STATUS <<_ACEOF
10885 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10886 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10889 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10890 s/^/s,@/; s/!/@,|#_!!_#|/
10893 s/'"$ac_delim"'$/,g/; t
10895 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10896 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10897 rm -f conf$
$subs.
sed
10898 cat >>$CONFIG_STATUS <<_ACEOF
10904 for ac_last_try
in false false false false false
:; do
10905 cat >conf$
$subs.
sed <<_ACEOF
10906 THREADSAFE_TARGET!$THREADSAFE_TARGET$ac_delim
10907 MH_MT_LIBS!$MH_MT_LIBS$ac_delim
10908 MT_FILE!$MT_FILE$ac_delim
10909 REGINAMULTITHREAD!$REGINAMULTITHREAD$ac_delim
10910 TRACEMEM!$TRACEMEM$ac_delim
10911 FLISTS!$FLISTS$ac_delim
10912 REXXSOCKET!$REXXSOCKET$ac_delim
10913 rxcurses_config!$rxcurses_config$ac_delim
10914 rexxtk_config!$rexxtk_config$ac_delim
10915 rexxgd_config!$rexxgd_config$ac_delim
10916 rexxcurl_config!$rexxcurl_config$ac_delim
10917 rexxsql_config!$rexxsql_config$ac_delim
10918 rexxeec_config!$rexxeec_config$ac_delim
10919 rexxisam_config!$rexxisam_config$ac_delim
10920 rxsock_config!$rxsock_config$ac_delim
10921 rexxdw_config!$rexxdw_config$ac_delim
10922 MH_FUNC_LIBS!$MH_FUNC_LIBS$ac_delim
10923 BASE_BINARY!$BASE_BINARY$ac_delim
10924 BASE_INSTALL!$BASE_INSTALL$ac_delim
10925 BOTHLIBS!$BOTHLIBS$ac_delim
10926 CC2O!$CC2O$ac_delim
10927 CEXTRA!$CEXTRA$ac_delim
10928 DYNAMIC_LDFLAGS!$DYNAMIC_LDFLAGS$ac_delim
10929 DYN_COMP!$DYN_COMP$ac_delim
10930 EEXTRA!$EEXTRA$ac_delim
10931 EXECISER_DEP!$EXECISER_DEP$ac_delim
10932 GETOPT!$GETOPT$ac_delim
10933 LD_RXLIB_A1!$LD_RXLIB_A1$ac_delim
10934 LD_RXLIB_A2!$LD_RXLIB_A2$ac_delim
10935 LD_RXLIB_UTILA!$LD_RXLIB_UTILA$ac_delim
10936 LD_RXLIB_B1!$LD_RXLIB_B1$ac_delim
10937 LD_RXLIB_B2!$LD_RXLIB_B2$ac_delim
10938 LD_RXLIB_UTILB!$LD_RXLIB_UTILB$ac_delim
10939 LIBEXE!$LIBEXE$ac_delim
10940 LIBFILE!$LIBFILE$ac_delim
10941 LIBFLAGS!$LIBFLAGS$ac_delim
10942 LIBLINK!$LIBLINK$ac_delim
10943 LINKSHL!$LINKSHL$ac_delim
10944 LIBPRE!$LIBPRE$ac_delim
10945 LIBPST!$LIBPST$ac_delim
10946 LINKREG!$LINKREG$ac_delim
10947 O2SAVE!$O2SAVE$ac_delim
10948 O2SHO!$O2SHO$ac_delim
10950 OBJECTS!$OBJECTS$ac_delim
10951 OSAVE!$OSAVE$ac_delim
10952 OTHER_INSTALLS!$OTHER_INSTALLS$ac_delim
10953 REGINAEXP!$REGINAEXP$ac_delim
10954 SAVE2O!$SAVE2O$ac_delim
10955 SHLFILE!$SHLFILE$ac_delim
10956 SHLIBS!$SHLIBS$ac_delim
10957 SHLPRE!$SHLPRE$ac_delim
10958 BUNDLE!$BUNDLE$ac_delim
10959 SHL_LD!$SHL_LD$ac_delim
10960 SHL_TARGETS!$SHL_TARGETS$ac_delim
10961 STATICLIB!$STATICLIB$ac_delim
10962 STATIC_LDFLAGS!$STATIC_LDFLAGS$ac_delim
10963 TEST1EXP!$TEST1EXP$ac_delim
10964 TEST1EXPORTS!$TEST1EXPORTS$ac_delim
10965 TEST2EXP!$TEST2EXP$ac_delim
10966 TEST2EXPORTS!$TEST2EXPORTS$ac_delim
10967 REGUTILEXP!$REGUTILEXP$ac_delim
10968 REGUTILEXPORTS!$REGUTILEXPORTS$ac_delim
10969 USE_ABI!$USE_ABI$ac_delim
10970 RANLIB_DYNAMIC!$RANLIB_DYNAMIC$ac_delim
10971 SHLPST!$SHLPST$ac_delim
10972 MODPST!$MODPST$ac_delim
10973 O2TSAVE!$O2TSAVE$ac_delim
10974 O2TSO!$O2TSO$ac_delim
10975 STATICLD_SHO!$STATICLD_SHO$ac_delim
10976 mh_rpm_exists!$mh_rpm_exists$ac_delim
10977 RPMTOPDIR!$RPMTOPDIR$ac_delim
10978 MH_UNSIGNED_CHAR_SWITCH!$MH_UNSIGNED_CHAR_SWITCH$ac_delim
10979 LTLIBOBJS!$LTLIBOBJS$ac_delim
10982 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
10984 elif $ac_last_try; then
10985 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10986 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10987 { (exit 1); exit 1; }; }
10989 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10993 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10994 if test -n "$ac_eof"; then
10995 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10996 ac_eof
=`expr $ac_eof + 1`
10999 cat >>$CONFIG_STATUS <<_ACEOF
11000 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
11001 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
11004 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11005 s/^/s,@/; s/!/@,|#_!!_#|/
11008 s/'"$ac_delim"'$/,g/; t
11010 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11011 ' >>$CONFIG_STATUS <conf$
$subs.
sed
11012 rm -f conf$
$subs.
sed
11013 cat >>$CONFIG_STATUS <<_ACEOF
11020 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11021 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11022 # trailing colons and then remove the whole line if VPATH becomes empty
11023 # (actually we leave an empty line to preserve line numbers).
11024 if test "x$srcdir" = x.
; then
11025 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11026 s/:*\$(srcdir):*/:/
11027 s/:*\${srcdir}:*/:/
11029 s/^\([^=]*=[ ]*\):*/\1/
11035 cat >>$CONFIG_STATUS <<\_ACEOF
11036 fi # test -n "$CONFIG_FILES"
11039 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
11042 :[FHLC
]) ac_mode
=$ac_tag; continue;;
11044 case $ac_mode$ac_tag in
11046 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11047 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11048 { (exit 1); exit 1; }; };;
11049 :[FH
]-) ac_tag
=-:-;;
11050 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11067 -) ac_f
="$tmp/stdin";;
11068 *) # Look for the file first in the build tree, then in the source tree
11069 # (if the path is not absolute). The absolute path cannot be DOS-style,
11070 # because $ac_f cannot contain `:'.
11074 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11076 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11077 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11078 { (exit 1); exit 1; }; };;
11080 ac_file_inputs
="$ac_file_inputs $ac_f"
11083 # Let's still pretend it is `configure' which instantiates (i.e., don't
11084 # use $as_me), people would be surprised to read:
11085 # /* config.h. Generated by config.status. */
11086 configure_input
="Generated from "`IFS=:
11087 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11088 if test x
"$ac_file" != x-
; then
11089 configure_input
="$ac_file. $configure_input"
11090 { echo "$as_me:$LINENO: creating $ac_file" >&5
11091 echo "$as_me: creating $ac_file" >&6;}
11095 *:-:* |
*:-) cat >"$tmp/stdin";;
11100 ac_dir
=`$as_dirname -- "$ac_file" ||
11101 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11102 X"$ac_file" : 'X\(//\)[^/]' \| \
11103 X"$ac_file" : 'X\(//\)$' \| \
11104 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11110 /^X\(\/\/\)[^/].*/{
11125 -*) as_dir
=.
/$as_dir;;
11127 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11131 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11132 *) as_qdir
=$as_dir;;
11134 as_dirs
="'$as_qdir' $as_dirs"
11135 as_dir
=`$as_dirname -- "$as_dir" ||
11136 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11137 X"$as_dir" : 'X\(//\)[^/]' \| \
11138 X"$as_dir" : 'X\(//\)$' \| \
11139 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11145 /^X\(\/\/\)[^/].*/{
11158 test -d "$as_dir" && break
11160 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11161 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11162 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11163 { (exit 1); exit 1; }; }; }
11167 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11169 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11170 # A ".." for each directory in $ac_dir_suffix.
11171 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11172 case $ac_top_builddir_sub in
11173 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11174 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11177 ac_abs_top_builddir
=$ac_pwd
11178 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11179 # for backward compatibility:
11180 ac_top_builddir
=$ac_top_build_prefix
11183 .
) # We are building in place.
11185 ac_top_srcdir
=$ac_top_builddir_sub
11186 ac_abs_top_srcdir
=$ac_pwd ;;
11187 [\\/]* | ?
:[\\/]* ) # Absolute name.
11188 ac_srcdir
=$srcdir$ac_dir_suffix;
11189 ac_top_srcdir
=$srcdir
11190 ac_abs_top_srcdir
=$srcdir ;;
11191 *) # Relative name.
11192 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11193 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11194 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11196 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11207 cat >>$CONFIG_STATUS <<\_ACEOF
11208 # If the template does not know about datarootdir, expand it.
11209 # FIXME: This hack should be removed a few years after 2.60.
11210 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11212 case `sed -n '/datarootdir/ {
11221 ' $ac_file_inputs` in
11222 *datarootdir
*) ac_datarootdir_seen
=yes;;
11223 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
11224 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11225 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11227 cat >>$CONFIG_STATUS <<_ACEOF
11228 ac_datarootdir_hack='
11229 s&@datadir@&$datadir&g
11230 s&@docdir@&$docdir&g
11231 s&@infodir@&$infodir&g
11232 s&@localedir@&$localedir&g
11233 s&@mandir@&$mandir&g
11234 s&\\\${datarootdir}&$datarootdir&g' ;;
11238 # Neutralize VPATH when `$srcdir' = `.'.
11239 # Shell code in configure.ac might set extrasub.
11240 # FIXME: do we really want to maintain this feature?
11241 cat >>$CONFIG_STATUS <<_ACEOF
11245 cat >>$CONFIG_STATUS <<\_ACEOF
11247 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11248 s
&@configure_input@
&$configure_input&;t t
11249 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11250 s
&@srcdir@
&$ac_srcdir&;t t
11251 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11252 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11253 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11254 s
&@builddir@
&$ac_builddir&;t t
11255 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11256 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11257 $ac_datarootdir_hack
11258 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
11260 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11261 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11262 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11263 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11264 which seems to be undefined. Please make sure it is defined." >&5
11265 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11266 which seems to be undefined. Please make sure it is defined." >&2;}
11270 -) cat "$tmp/out"; rm -f "$tmp/out";;
11271 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11280 # Transform confdefs.h into a sed script `conftest.defines', that
11281 # substitutes the proper values into config.h.in to produce config.h.
11282 rm -f conftest.defines conftest.
tail
11283 # First, append a space to every undef/define line, to ease matching.
11284 echo 's/$/ /' >conftest.defines
11285 # Then, protect against being on the right side of a sed subst, or in
11286 # an unquoted here document, in config.status. If some macros were
11287 # called several times there might be several #defines for the same
11288 # symbol, which is useless. But do not sort them, since the last
11289 # AC_DEFINE must be honored.
11290 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
11291 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11292 # NAME is the cpp macro being defined, VALUE is the value it is being given.
11293 # PARAMS is the parameter list in the macro definition--in most cases, it's
11294 # just an empty string.
11295 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
11296 ac_dB
='\\)[ (].*,\\1define\\2'
11304 s/^[ ]*#[ ]*define[ ][ ]*//
11309 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11310 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11311 ' >>conftest.defines
11313 # Remove the space that was appended to ease matching.
11314 # Then replace #undef with comments. This is necessary, for
11315 # example, in the case of _POSIX_SOURCE, which is predefined and required
11316 # on some systems where configure will not decide to define it.
11317 # (The regexp can be short, since the line contains either #define or #undef.)
11319 s,^[ #]*u.*,/* & */,' >>conftest.defines
11321 # Break up conftest.defines:
11322 ac_max_sed_lines
=50
11324 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11325 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11326 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11328 ac_in
='$ac_file_inputs'
11329 ac_out
='"$tmp/out1"'
11330 ac_nxt
='"$tmp/out2"'
11334 # Write a here document:
11335 cat >>$CONFIG_STATUS <<_ACEOF
11336 # First, check the format of the line:
11337 cat >"\$tmp/defines.sed" <<\\CEOF
11338 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11339 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11343 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
11345 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11346 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
11347 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
11348 grep . conftest.
tail >/dev
/null ||
break
11349 rm -f conftest.defines
11350 mv conftest.
tail conftest.defines
11352 rm -f conftest.defines conftest.
tail
11354 echo "ac_result=$ac_in" >>$CONFIG_STATUS
11355 cat >>$CONFIG_STATUS <<\_ACEOF
11356 if test x
"$ac_file" != x-
; then
11357 echo "/* $configure_input */" >"$tmp/config.h"
11358 cat "$ac_result" >>"$tmp/config.h"
11359 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
11360 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11361 echo "$as_me: $ac_file is unchanged" >&6;}
11364 mv "$tmp/config.h" $ac_file
11367 echo "/* $configure_input */"
11379 { (exit 0); exit 0; }
11381 chmod +x
$CONFIG_STATUS
11382 ac_clean_files
=$ac_clean_files_save
11385 # configure is writing to config.log, and then calls config.status.
11386 # config.status does its own redirection, appending to config.log.
11387 # Unfortunately, on DOS this fails, as config.log is still kept open
11388 # by configure, so config.status won't be able to write to it; its
11389 # output is simply discarded. So we exec the FD to /dev/null,
11390 # effectively closing config.log, so it can be properly (re)opened and
11391 # appended to by config.status. When coming back to configure, we
11392 # need to make the FD available again.
11393 if test "$no_create" != yes; then
11395 ac_config_status_args
=
11396 test "$silent" = yes &&
11397 ac_config_status_args
="$ac_config_status_args --quiet"
11399 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11401 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11402 # would make configure fail if this is the last instruction.
11403 $ac_cs_success ||
{ (exit 1); exit 1; }
11406 chmod 755 regina-config
11408 echo "Regina has now been configured with the following options:"
11410 if test "x$SHL_TARGETS" = "x"; then
11411 echo " Dynamic Loading Support: none"
11413 echo " Dynamic Loading Support: supported. Extra components: $SHL_TARGETS"
11415 if test "$with_dlfcnincdir" != no
; then
11416 echo " dlfcn headers in: $with_dlfcnincdir"
11418 if test "$with_dlfcnlibdir" != no
; then
11419 echo " dlfcn libraries in: $with_dlfcnlibdir"
11422 myopts
="${bitflag}BIT"
11423 if test "$with_debug" = yes ; then
11424 myopts
="$myopts DEBUG"
11426 if test "$with_purify" = yes ; then
11427 myopts
="$myopts PURIFY"
11429 if test "$with_efence" = yes; then
11430 myopts
="$myopts EFENCE"
11432 if test "$with_orexx_bc" = yes; then
11433 myopts
="$myopts OREXX_BINARY"
11435 if test "$with_gci" = yes; then
11436 myopts
="$myopts GCI"
11438 if test "$with_flists" = no
; then
11439 myopts
="$myopts NO_FLISTS"
11441 if test "$with_socket" = no
; then
11444 myopts
="$myopts SOCKET=$with_socket"
11447 if test "$with_staticfunctions" = "yes"; then
11449 if test "$with_testpackage" = "yes"; then
11450 myfuncs
="$myfuncs test"
11452 if test "$with_regutil" = "yes"; then
11453 myfuncs
="$myfuncs regutil"
11455 if test "$with_rexxcurses" = "yes"; then
11456 myfuncs
="$myfuncs rexxcurses"
11458 if test "$with_rexxtk" = "yes"; then
11459 myfuncs
="$myfuncs rexxtk"
11461 if test "$with_rexxgd" = "yes"; then
11462 myfuncs
="$myfuncs rexxgd"
11464 if test "$with_rexxcurl" = "yes"; then
11465 myfuncs
="$myfuncs rexxcurl"
11467 if test "$with_rexxsql" = "yes"; then
11468 myfuncs
="$myfuncs rexxsql"
11470 if test "$with_rexxeec" = "yes"; then
11471 myfuncs
="$myfuncs rexxeec"
11473 if test "$with_rexxisam" = "yes"; then
11474 myfuncs
="$myfuncs rexxisam"
11476 if test "$with_rxsock" = "yes"; then
11477 myfuncs
="$myfuncs rxsock"
11479 if test "$with_rexxdw" = "yes"; then
11480 myfuncs
="$myfuncs rexxdw"
11482 echo " Static Loaded Packages: $myfuncs"
11485 if test "$on_beos" = yes; then
11486 bindir
="/boot/home/config/bin"
11487 libdir
="/boot/home/config/lib"
11490 echo " Build options: $myopts"
11491 echo " binaries will be installed in: $bindir"
11492 if test "x$binarybitprefix" = "x32"; then
11493 echo " binaries will have '32' appended to them. eg rexx32, regina32"
11495 echo " libraries will be installed in: $libdir"
11496 echo " {prefix}: $prefix"
11497 echo " {exec_prefix}: $exec_prefix"
11498 echo " RPM topdir: $RPMTOPDIR"
11500 echo "To build the Regina binaries, and dynamically loadable libraries, type 'make'"
11501 echo "To install Regina in the above directories, type 'make install'"