|
|
|
|
@ -7169,9 +7169,121 @@ EOF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_func in strtoll strtoq |
|
|
|
|
do |
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7176: checking for $ac_func" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 7181 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char $ac_func(); below. */ |
|
|
|
|
#include <assert.h> |
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
|
|
builtin and then its argument prototype would still apply. */ |
|
|
|
|
char $ac_func(); |
|
|
|
|
|
|
|
|
|
int main() { |
|
|
|
|
|
|
|
|
|
/* The GNU C library defines this for functions which it implements |
|
|
|
|
to always fail with ENOSYS. Some functions are actually named |
|
|
|
|
something starting with __ and the normal name is an alias. */ |
|
|
|
|
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
|
|
choke me |
|
|
|
|
#else |
|
|
|
|
$ac_func(); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:7204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_$ac_func=yes" |
|
|
|
|
else |
|
|
|
|
echo "configure: failed program was:" >&5 |
|
|
|
|
cat conftest.$ac_ext >&5 |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_$ac_func=no" |
|
|
|
|
fi |
|
|
|
|
rm -f conftest* |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
|
|
echo "$ac_t""yes" 1>&6 |
|
|
|
|
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
|
|
|
|
cat >> confdefs.h <<EOF |
|
|
|
|
#define $ac_tr_func 1 |
|
|
|
|
EOF |
|
|
|
|
break |
|
|
|
|
else |
|
|
|
|
echo "$ac_t""no" 1>&6 |
|
|
|
|
fi |
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
for ac_func in strtoull strtouq |
|
|
|
|
do |
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7231: checking for $ac_func" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 7236 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char $ac_func(); below. */ |
|
|
|
|
#include <assert.h> |
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
|
|
builtin and then its argument prototype would still apply. */ |
|
|
|
|
char $ac_func(); |
|
|
|
|
|
|
|
|
|
int main() { |
|
|
|
|
|
|
|
|
|
/* The GNU C library defines this for functions which it implements |
|
|
|
|
to always fail with ENOSYS. Some functions are actually named |
|
|
|
|
something starting with __ and the normal name is an alias. */ |
|
|
|
|
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
|
|
choke me |
|
|
|
|
#else |
|
|
|
|
$ac_func(); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:7259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_$ac_func=yes" |
|
|
|
|
else |
|
|
|
|
echo "configure: failed program was:" >&5 |
|
|
|
|
cat conftest.$ac_ext >&5 |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_$ac_func=no" |
|
|
|
|
fi |
|
|
|
|
rm -f conftest* |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
|
|
echo "$ac_t""yes" 1>&6 |
|
|
|
|
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
|
|
|
|
cat >> confdefs.h <<EOF |
|
|
|
|
#define $ac_tr_func 1 |
|
|
|
|
EOF |
|
|
|
|
break |
|
|
|
|
else |
|
|
|
|
echo "$ac_t""no" 1>&6 |
|
|
|
|
fi |
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking alignment of short""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7175: checking alignment of short" >&5 |
|
|
|
|
echo "configure:7287: checking alignment of short" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_alignof_short'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
@ -7179,7 +7291,7 @@ else |
|
|
|
|
pgac_cv_alignof_short='sizeof(short)' |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 7183 "configure" |
|
|
|
|
#line 7295 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
struct { char filler; short field; } mystruct; |
|
|
|
|
@ -7191,7 +7303,7 @@ main() |
|
|
|
|
exit(0); |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:7195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:7307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
pgac_cv_alignof_short=`cat conftestval` |
|
|
|
|
else |
|
|
|
|
@ -7211,7 +7323,7 @@ EOF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking alignment of int""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7215: checking alignment of int" >&5 |
|
|
|
|
echo "configure:7327: checking alignment of int" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_alignof_int'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
@ -7219,7 +7331,7 @@ else |
|
|
|
|
pgac_cv_alignof_int='sizeof(int)' |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 7223 "configure" |
|
|
|
|
#line 7335 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
struct { char filler; int field; } mystruct; |
|
|
|
|
@ -7231,7 +7343,7 @@ main() |
|
|
|
|
exit(0); |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:7235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:7347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
pgac_cv_alignof_int=`cat conftestval` |
|
|
|
|
else |
|
|
|
|
@ -7251,7 +7363,7 @@ EOF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking alignment of long""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7255: checking alignment of long" >&5 |
|
|
|
|
echo "configure:7367: checking alignment of long" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_alignof_long'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
@ -7259,7 +7371,7 @@ else |
|
|
|
|
pgac_cv_alignof_long='sizeof(long)' |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 7263 "configure" |
|
|
|
|
#line 7375 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
struct { char filler; long field; } mystruct; |
|
|
|
|
@ -7271,7 +7383,7 @@ main() |
|
|
|
|
exit(0); |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:7275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:7387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
pgac_cv_alignof_long=`cat conftestval` |
|
|
|
|
else |
|
|
|
|
@ -7292,7 +7404,7 @@ EOF |
|
|
|
|
|
|
|
|
|
if [ x"$HAVE_LONG_LONG_INT_64" = xyes ] ; then |
|
|
|
|
echo $ac_n "checking alignment of long long int""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7296: checking alignment of long long int" >&5 |
|
|
|
|
echo "configure:7408: checking alignment of long long int" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_alignof_long_long_int'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
@ -7300,7 +7412,7 @@ else |
|
|
|
|
pgac_cv_alignof_long_long_int='sizeof(long long int)' |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 7304 "configure" |
|
|
|
|
#line 7416 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
struct { char filler; long long int field; } mystruct; |
|
|
|
|
@ -7312,7 +7424,7 @@ main() |
|
|
|
|
exit(0); |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:7316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:7428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
pgac_cv_alignof_long_long_int=`cat conftestval` |
|
|
|
|
else |
|
|
|
|
@ -7333,7 +7445,7 @@ EOF |
|
|
|
|
|
|
|
|
|
fi |
|
|
|
|
echo $ac_n "checking alignment of double""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7337: checking alignment of double" >&5 |
|
|
|
|
echo "configure:7449: checking alignment of double" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_alignof_double'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
@ -7341,7 +7453,7 @@ else |
|
|
|
|
pgac_cv_alignof_double='sizeof(double)' |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 7345 "configure" |
|
|
|
|
#line 7457 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
struct { char filler; double field; } mystruct; |
|
|
|
|
@ -7353,7 +7465,7 @@ main() |
|
|
|
|
exit(0); |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:7469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
pgac_cv_alignof_double=`cat conftestval` |
|
|
|
|
else |
|
|
|
|
@ -7391,12 +7503,12 @@ EOF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for POSIX signal interface""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7395: checking for POSIX signal interface" >&5 |
|
|
|
|
echo "configure:7507: checking for POSIX signal interface" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_func_posix_signals'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 7400 "configure" |
|
|
|
|
#line 7512 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <signal.h> |
|
|
|
|
|
|
|
|
|
@ -7407,7 +7519,7 @@ act.sa_flags = SA_RESTART; |
|
|
|
|
sigaction(0, &act, &oact); |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:7411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:7523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
pgac_cv_func_posix_signals=yes |
|
|
|
|
else |
|
|
|
|
@ -7437,7 +7549,7 @@ do |
|
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
|
|
set dummy $ac_prog; ac_word=$2 |
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7441: checking for $ac_word" >&5 |
|
|
|
|
echo "configure:7553: checking for $ac_word" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_TCLSH'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
@ -7473,7 +7585,7 @@ test -n "$TCLSH" && break |
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for tclConfig.sh""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7477: checking for tclConfig.sh" >&5 |
|
|
|
|
echo "configure:7589: checking for tclConfig.sh" >&5 |
|
|
|
|
# Let user override test |
|
|
|
|
if test -z "$TCL_CONFIG_SH"; then |
|
|
|
|
pgac_test_dirs="$with_tclconfig" |
|
|
|
|
@ -7506,7 +7618,7 @@ fi |
|
|
|
|
# Check for Tk configuration script tkConfig.sh |
|
|
|
|
if test "$with_tk" = yes; then |
|
|
|
|
echo $ac_n "checking for tkConfig.sh""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7510: checking for tkConfig.sh" >&5 |
|
|
|
|
echo "configure:7622: checking for tkConfig.sh" >&5 |
|
|
|
|
# Let user override test |
|
|
|
|
if test -z "$TK_CONFIG_SH"; then |
|
|
|
|
pgac_test_dirs="$with_tkconfig $with_tclconfig" |
|
|
|
|
@ -7545,7 +7657,7 @@ do |
|
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
|
|
set dummy $ac_prog; ac_word=$2 |
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7549: checking for $ac_word" >&5 |
|
|
|
|
echo "configure:7661: checking for $ac_word" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_NSGMLS'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
@ -7581,7 +7693,7 @@ do |
|
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
|
|
set dummy $ac_prog; ac_word=$2 |
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7585: checking for $ac_word" >&5 |
|
|
|
|
echo "configure:7697: checking for $ac_word" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_JADE'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
@ -7612,7 +7724,7 @@ done |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for DocBook V3.1""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7616: checking for DocBook V3.1" >&5 |
|
|
|
|
echo "configure:7728: checking for DocBook V3.1" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_check_docbook'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
@ -7645,7 +7757,7 @@ have_docbook=$pgac_cv_check_docbook |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for DocBook stylesheets""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7649: checking for DocBook stylesheets" >&5 |
|
|
|
|
echo "configure:7761: checking for DocBook stylesheets" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_path_stylesheets'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
@ -7684,7 +7796,7 @@ do |
|
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
|
|
set dummy $ac_prog; ac_word=$2 |
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7688: checking for $ac_word" >&5 |
|
|
|
|
echo "configure:7800: checking for $ac_word" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_SGMLSPL'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
|