aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn2000-06-30 22:02:25 +0000
committerKen Raeburn2000-06-30 22:02:25 +0000
commit5a9bf171d00b1f74e66803d57e45cff779bc0752 (patch)
treee4dc9e377b8ed7ff4ad518c604e121fee954124b
parent97d176db6bf737df6490822aff18423d9df9879b (diff)
downloademacs-5a9bf171d00b1f74e66803d57e45cff779bc0752.tar.gz
emacs-5a9bf171d00b1f74e66803d57e45cff779bc0752.zip
* configure.in: Add ${C_SWITCH_X_SITE} temporarily to CPPFLAGS, while
searching for image-handling libraries.
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure548
-rw-r--r--configure.in4
3 files changed, 285 insertions, 272 deletions
diff --git a/ChangeLog b/ChangeLog
index 36509be1eb3..f3005dd2dc4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
12000-06-30 Ken Raeburn <raeburn@gnu.org>
2
3 * configure.in: Add ${C_SWITCH_X_SITE} temporarily to CPPFLAGS,
4 while searching for image-handling libraries.
5
12000-06-26 Gerd Moellmann <gerd@gnu.org> 62000-06-26 Gerd Moellmann <gerd@gnu.org>
2 7
3 * configure.in (--with-xim): New option. 8 * configure.in (--with-xim): New option.
diff --git a/configure b/configure
index 8a26beb276e..774c6f5ad41 100755
--- a/configure
+++ b/configure
@@ -3910,11 +3910,14 @@ echo "$ac_t""$HAVE_XFREE386" 1>&6
3910# Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used 3910# Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
3911# for the tests that follow. We set it back to REAL_CFLAGS later on. 3911# for the tests that follow. We set it back to REAL_CFLAGS later on.
3912 3912
3913REAL_CPPFLAGS="$CPPFLAGS"
3914
3913if test "${HAVE_X11}" = "yes"; then 3915if test "${HAVE_X11}" = "yes"; then
3914 DEFS="$C_SWITCH_X_SITE $DEFS" 3916 DEFS="$C_SWITCH_X_SITE $DEFS"
3915 LDFLAGS="$LDFLAGS $LD_SWITCH_X_SITE" 3917 LDFLAGS="$LDFLAGS $LD_SWITCH_X_SITE"
3916 LIBS="$LIBX $LIBS" 3918 LIBS="$LIBX $LIBS"
3917 CFLAGS="$C_SWITCH_X_SITE $CFLAGS" 3919 CFLAGS="$C_SWITCH_X_SITE $CFLAGS"
3920 CPPFLAGS="$C_SWITCH_X_SITE $CPPFLAGS"
3918 3921
3919 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests. 3922 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
3920 # This is handled by LD_SWITCH_X_SITE_AUX during the real build, 3923 # This is handled by LD_SWITCH_X_SITE_AUX during the real build,
@@ -3927,16 +3930,16 @@ if test "${HAVE_X11}" = "yes"; then
3927 3930
3928 if test "${opsys}" = "gnu-linux"; then 3931 if test "${opsys}" = "gnu-linux"; then
3929 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 3932 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6
3930echo "configure:3931: checking whether X on GNU/Linux needs -b to link" >&5 3933echo "configure:3934: checking whether X on GNU/Linux needs -b to link" >&5
3931 cat > conftest.$ac_ext <<EOF 3934 cat > conftest.$ac_ext <<EOF
3932#line 3933 "configure" 3935#line 3936 "configure"
3933#include "confdefs.h" 3936#include "confdefs.h"
3934 3937
3935int main() { 3938int main() {
3936XOpenDisplay ("foo"); 3939XOpenDisplay ("foo");
3937; return 0; } 3940; return 0; }
3938EOF 3941EOF
3939if { (eval echo configure:3940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3942if { (eval echo configure:3943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3940 rm -rf conftest* 3943 rm -rf conftest*
3941 xlinux_first_failure=no 3944 xlinux_first_failure=no
3942else 3945else
@@ -3956,14 +3959,14 @@ rm -f conftest*
3956 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 3959 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
3957 LIBS="$LIBS -b i486-linuxaout" 3960 LIBS="$LIBS -b i486-linuxaout"
3958 cat > conftest.$ac_ext <<EOF 3961 cat > conftest.$ac_ext <<EOF
3959#line 3960 "configure" 3962#line 3963 "configure"
3960#include "confdefs.h" 3963#include "confdefs.h"
3961 3964
3962int main() { 3965int main() {
3963XOpenDisplay ("foo"); 3966XOpenDisplay ("foo");
3964; return 0; } 3967; return 0; }
3965EOF 3968EOF
3966if { (eval echo configure:3967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3969if { (eval echo configure:3970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3967 rm -rf conftest* 3970 rm -rf conftest*
3968 xlinux_second_failure=no 3971 xlinux_second_failure=no
3969else 3972else
@@ -3993,12 +3996,12 @@ rm -f conftest*
3993XScreenNumberOfScreen XSetWMProtocols 3996XScreenNumberOfScreen XSetWMProtocols
3994do 3997do
3995echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3998echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3996echo "configure:3997: checking for $ac_func" >&5 3999echo "configure:4000: checking for $ac_func" >&5
3997if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4000if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3998 echo $ac_n "(cached) $ac_c" 1>&6 4001 echo $ac_n "(cached) $ac_c" 1>&6
3999else 4002else
4000 cat > conftest.$ac_ext <<EOF 4003 cat > conftest.$ac_ext <<EOF
4001#line 4002 "configure" 4004#line 4005 "configure"
4002#include "confdefs.h" 4005#include "confdefs.h"
4003/* System header to define __stub macros and hopefully few prototypes, 4006/* System header to define __stub macros and hopefully few prototypes,
4004 which can conflict with char $ac_func(); below. */ 4007 which can conflict with char $ac_func(); below. */
@@ -4021,7 +4024,7 @@ $ac_func();
4021 4024
4022; return 0; } 4025; return 0; }
4023EOF 4026EOF
4024if { (eval echo configure:4025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4027if { (eval echo configure:4028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4025 rm -rf conftest* 4028 rm -rf conftest*
4026 eval "ac_cv_func_$ac_func=yes" 4029 eval "ac_cv_func_$ac_func=yes"
4027else 4030else
@@ -4049,12 +4052,12 @@ fi
4049 4052
4050if test "${window_system}" = "x11"; then 4053if test "${window_system}" = "x11"; then
4051 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 4054 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6
4052echo "configure:4053: checking X11 version 6" >&5 4055echo "configure:4056: checking X11 version 6" >&5
4053 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then 4056 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then
4054 echo $ac_n "(cached) $ac_c" 1>&6 4057 echo $ac_n "(cached) $ac_c" 1>&6
4055else 4058else
4056 cat > conftest.$ac_ext <<EOF 4059 cat > conftest.$ac_ext <<EOF
4057#line 4058 "configure" 4060#line 4061 "configure"
4058#include "confdefs.h" 4061#include "confdefs.h"
4059#include <X11/Xlib.h> 4062#include <X11/Xlib.h>
4060int main() { 4063int main() {
@@ -4064,7 +4067,7 @@ fail;
4064 4067
4065; return 0; } 4068; return 0; }
4066EOF 4069EOF
4067if { (eval echo configure:4068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4070if { (eval echo configure:4071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4068 rm -rf conftest* 4071 rm -rf conftest*
4069 emacs_cv_x11_version_6=yes 4072 emacs_cv_x11_version_6=yes
4070else 4073else
@@ -4089,12 +4092,12 @@ fi
4089 4092
4090if test "${window_system}" = "x11"; then 4093if test "${window_system}" = "x11"; then
4091 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 4094 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6
4092echo "configure:4093: checking X11 version 5" >&5 4095echo "configure:4096: checking X11 version 5" >&5
4093 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then 4096 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then
4094 echo $ac_n "(cached) $ac_c" 1>&6 4097 echo $ac_n "(cached) $ac_c" 1>&6
4095else 4098else
4096 cat > conftest.$ac_ext <<EOF 4099 cat > conftest.$ac_ext <<EOF
4097#line 4098 "configure" 4100#line 4101 "configure"
4098#include "confdefs.h" 4101#include "confdefs.h"
4099#include <X11/Xlib.h> 4102#include <X11/Xlib.h>
4100int main() { 4103int main() {
@@ -4104,7 +4107,7 @@ fail;
4104 4107
4105; return 0; } 4108; return 0; }
4106EOF 4109EOF
4107if { (eval echo configure:4108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4110if { (eval echo configure:4111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4108 rm -rf conftest* 4111 rm -rf conftest*
4109 emacs_cv_x11_version_5=yes 4112 emacs_cv_x11_version_5=yes
4110else 4113else
@@ -4132,12 +4135,12 @@ fi
4132if test x"${USE_X_TOOLKIT}" = xmaybe; then 4135if test x"${USE_X_TOOLKIT}" = xmaybe; then
4133 if test x"${HAVE_X11R5}" = xyes; then 4136 if test x"${HAVE_X11R5}" = xyes; then
4134 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 4137 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6
4135echo "configure:4136: checking X11 version 5 with Xaw" >&5 4138echo "configure:4139: checking X11 version 5 with Xaw" >&5
4136 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then 4139 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then
4137 echo $ac_n "(cached) $ac_c" 1>&6 4140 echo $ac_n "(cached) $ac_c" 1>&6
4138else 4141else
4139 cat > conftest.$ac_ext <<EOF 4142 cat > conftest.$ac_ext <<EOF
4140#line 4141 "configure" 4143#line 4144 "configure"
4141#include "confdefs.h" 4144#include "confdefs.h"
4142 4145
4143#include <X11/Intrinsic.h> 4146#include <X11/Intrinsic.h>
@@ -4146,7 +4149,7 @@ int main() {
4146 4149
4147; return 0; } 4150; return 0; }
4148EOF 4151EOF
4149if { (eval echo configure:4150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4152if { (eval echo configure:4153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4150 rm -rf conftest* 4153 rm -rf conftest*
4151 emacs_cv_x11_version_5_with_xaw=yes 4154 emacs_cv_x11_version_5_with_xaw=yes
4152else 4155else
@@ -4174,12 +4177,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT
4174 4177
4175if test "${USE_X_TOOLKIT}" != "none"; then 4178if test "${USE_X_TOOLKIT}" != "none"; then
4176 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 4179 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6
4177echo "configure:4178: checking X11 toolkit version" >&5 4180echo "configure:4181: checking X11 toolkit version" >&5
4178 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then 4181 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then
4179 echo $ac_n "(cached) $ac_c" 1>&6 4182 echo $ac_n "(cached) $ac_c" 1>&6
4180else 4183else
4181 cat > conftest.$ac_ext <<EOF 4184 cat > conftest.$ac_ext <<EOF
4182#line 4183 "configure" 4185#line 4186 "configure"
4183#include "confdefs.h" 4186#include "confdefs.h"
4184#include <X11/Intrinsic.h> 4187#include <X11/Intrinsic.h>
4185int main() { 4188int main() {
@@ -4189,7 +4192,7 @@ fail;
4189 4192
4190; return 0; } 4193; return 0; }
4191EOF 4194EOF
4192if { (eval echo configure:4193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4195if { (eval echo configure:4196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4193 rm -rf conftest* 4196 rm -rf conftest*
4194 emacs_cv_x11_toolkit_version_6=yes 4197 emacs_cv_x11_toolkit_version_6=yes
4195else 4198else
@@ -4219,7 +4222,7 @@ EOF
4219 LIBS="-lXt $LIBS" 4222 LIBS="-lXt $LIBS"
4220 fi 4223 fi
4221 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 4224 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6
4222echo "configure:4223: checking for XmuConvertStandardSelection in -lXmu" >&5 4225echo "configure:4226: checking for XmuConvertStandardSelection in -lXmu" >&5
4223ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` 4226ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'`
4224if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4227if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4225 echo $ac_n "(cached) $ac_c" 1>&6 4228 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4227,7 +4230,7 @@ else
4227 ac_save_LIBS="$LIBS" 4230 ac_save_LIBS="$LIBS"
4228LIBS="-lXmu $LIBS" 4231LIBS="-lXmu $LIBS"
4229cat > conftest.$ac_ext <<EOF 4232cat > conftest.$ac_ext <<EOF
4230#line 4231 "configure" 4233#line 4234 "configure"
4231#include "confdefs.h" 4234#include "confdefs.h"
4232/* Override any gcc2 internal prototype to avoid an error. */ 4235/* Override any gcc2 internal prototype to avoid an error. */
4233/* We use char because int might match the return type of a gcc2 4236/* We use char because int might match the return type of a gcc2
@@ -4238,7 +4241,7 @@ int main() {
4238XmuConvertStandardSelection() 4241XmuConvertStandardSelection()
4239; return 0; } 4242; return 0; }
4240EOF 4243EOF
4241if { (eval echo configure:4242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4244if { (eval echo configure:4245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4242 rm -rf conftest* 4245 rm -rf conftest*
4243 eval "ac_cv_lib_$ac_lib_var=yes" 4246 eval "ac_cv_lib_$ac_lib_var=yes"
4244else 4247else
@@ -4270,12 +4273,12 @@ fi
4270 4273
4271if test "${USE_X_TOOLKIT}" = "MOTIF"; then 4274if test "${USE_X_TOOLKIT}" = "MOTIF"; then
4272 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 4275 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6
4273echo "configure:4274: checking for Motif version 2.1" >&5 4276echo "configure:4277: checking for Motif version 2.1" >&5
4274if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then 4277if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then
4275 echo $ac_n "(cached) $ac_c" 1>&6 4278 echo $ac_n "(cached) $ac_c" 1>&6
4276else 4279else
4277 cat > conftest.$ac_ext <<EOF 4280 cat > conftest.$ac_ext <<EOF
4278#line 4279 "configure" 4281#line 4282 "configure"
4279#include "confdefs.h" 4282#include "confdefs.h"
4280#include <Xm/Xm.h> 4283#include <Xm/Xm.h>
4281int main() { 4284int main() {
@@ -4286,7 +4289,7 @@ Motif version prior to 2.1.
4286#endif 4289#endif
4287; return 0; } 4290; return 0; }
4288EOF 4291EOF
4289if { (eval echo configure:4290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4292if { (eval echo configure:4293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4290 rm -rf conftest* 4293 rm -rf conftest*
4291 emacs_cv_motif_version_2_1=yes 4294 emacs_cv_motif_version_2_1=yes
4292else 4295else
@@ -4306,7 +4309,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6
4306EOF 4309EOF
4307 4310
4308 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 4311 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6
4309echo "configure:4310: checking for XpCreateContext in -lXp" >&5 4312echo "configure:4313: checking for XpCreateContext in -lXp" >&5
4310ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` 4313ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'`
4311if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4314if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4312 echo $ac_n "(cached) $ac_c" 1>&6 4315 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4314,7 +4317,7 @@ else
4314 ac_save_LIBS="$LIBS" 4317 ac_save_LIBS="$LIBS"
4315LIBS="-lXp -lXext $LIBS" 4318LIBS="-lXp -lXext $LIBS"
4316cat > conftest.$ac_ext <<EOF 4319cat > conftest.$ac_ext <<EOF
4317#line 4318 "configure" 4320#line 4321 "configure"
4318#include "confdefs.h" 4321#include "confdefs.h"
4319/* Override any gcc2 internal prototype to avoid an error. */ 4322/* Override any gcc2 internal prototype to avoid an error. */
4320/* We use char because int might match the return type of a gcc2 4323/* We use char because int might match the return type of a gcc2
@@ -4325,7 +4328,7 @@ int main() {
4325XpCreateContext() 4328XpCreateContext()
4326; return 0; } 4329; return 0; }
4327EOF 4330EOF
4328if { (eval echo configure:4329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4331if { (eval echo configure:4332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4329 rm -rf conftest* 4332 rm -rf conftest*
4330 eval "ac_cv_lib_$ac_lib_var=yes" 4333 eval "ac_cv_lib_$ac_lib_var=yes"
4331else 4334else
@@ -4362,17 +4365,17 @@ if test "${HAVE_X11}" = "yes"; then
4362 CFLAGS="${LD_SWITCH_X_SITE}" 4365 CFLAGS="${LD_SWITCH_X_SITE}"
4363 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` 4366 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'`
4364echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 4367echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6
4365echo "configure:4366: checking for X11/Xaw3d/Scrollbar.h" >&5 4368echo "configure:4369: checking for X11/Xaw3d/Scrollbar.h" >&5
4366if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4369if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4367 echo $ac_n "(cached) $ac_c" 1>&6 4370 echo $ac_n "(cached) $ac_c" 1>&6
4368else 4371else
4369 cat > conftest.$ac_ext <<EOF 4372 cat > conftest.$ac_ext <<EOF
4370#line 4371 "configure" 4373#line 4374 "configure"
4371#include "confdefs.h" 4374#include "confdefs.h"
4372#include <X11/Xaw3d/Scrollbar.h> 4375#include <X11/Xaw3d/Scrollbar.h>
4373EOF 4376EOF
4374ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4377ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4375{ (eval echo configure:4376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4378{ (eval echo configure:4379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4376ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4379ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4377if test -z "$ac_err"; then 4380if test -z "$ac_err"; then
4378 rm -rf conftest* 4381 rm -rf conftest*
@@ -4389,7 +4392,7 @@ fi
4389if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4392if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4390 echo "$ac_t""yes" 1>&6 4393 echo "$ac_t""yes" 1>&6
4391 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 4394 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6
4392echo "configure:4393: checking for XawScrollbarSetThumb in -lXaw3d" >&5 4395echo "configure:4396: checking for XawScrollbarSetThumb in -lXaw3d" >&5
4393ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 4396ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
4394if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4397if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4395 echo $ac_n "(cached) $ac_c" 1>&6 4398 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4397,7 +4400,7 @@ else
4397 ac_save_LIBS="$LIBS" 4400 ac_save_LIBS="$LIBS"
4398LIBS="-lXaw3d -lX11 $LIBS" 4401LIBS="-lXaw3d -lX11 $LIBS"
4399cat > conftest.$ac_ext <<EOF 4402cat > conftest.$ac_ext <<EOF
4400#line 4401 "configure" 4403#line 4404 "configure"
4401#include "confdefs.h" 4404#include "confdefs.h"
4402/* Override any gcc2 internal prototype to avoid an error. */ 4405/* Override any gcc2 internal prototype to avoid an error. */
4403/* We use char because int might match the return type of a gcc2 4406/* We use char because int might match the return type of a gcc2
@@ -4408,7 +4411,7 @@ int main() {
4408XawScrollbarSetThumb() 4411XawScrollbarSetThumb()
4409; return 0; } 4412; return 0; }
4410EOF 4413EOF
4411if { (eval echo configure:4412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4414if { (eval echo configure:4415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4412 rm -rf conftest* 4415 rm -rf conftest*
4413 eval "ac_cv_lib_$ac_lib_var=yes" 4416 eval "ac_cv_lib_$ac_lib_var=yes"
4414else 4417else
@@ -4480,17 +4483,17 @@ if test "${HAVE_X11}" = "yes"; then
4480 CFLAGS="${LD_SWITCH_X_SITE}" 4483 CFLAGS="${LD_SWITCH_X_SITE}"
4481 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` 4484 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'`
4482echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 4485echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6
4483echo "configure:4484: checking for X11/xpm.h" >&5 4486echo "configure:4487: checking for X11/xpm.h" >&5
4484if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4487if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4485 echo $ac_n "(cached) $ac_c" 1>&6 4488 echo $ac_n "(cached) $ac_c" 1>&6
4486else 4489else
4487 cat > conftest.$ac_ext <<EOF 4490 cat > conftest.$ac_ext <<EOF
4488#line 4489 "configure" 4491#line 4492 "configure"
4489#include "confdefs.h" 4492#include "confdefs.h"
4490#include <X11/xpm.h> 4493#include <X11/xpm.h>
4491EOF 4494EOF
4492ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4495ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4493{ (eval echo configure:4494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4496{ (eval echo configure:4497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4494ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4497ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4495if test -z "$ac_err"; then 4498if test -z "$ac_err"; then
4496 rm -rf conftest* 4499 rm -rf conftest*
@@ -4507,7 +4510,7 @@ fi
4507if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4510if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4508 echo "$ac_t""yes" 1>&6 4511 echo "$ac_t""yes" 1>&6
4509 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 4512 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6
4510echo "configure:4511: checking for XpmReadFileToPixmap in -lXpm" >&5 4513echo "configure:4514: checking for XpmReadFileToPixmap in -lXpm" >&5
4511ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` 4514ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'`
4512if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4515if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4513 echo $ac_n "(cached) $ac_c" 1>&6 4516 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4515,7 +4518,7 @@ else
4515 ac_save_LIBS="$LIBS" 4518 ac_save_LIBS="$LIBS"
4516LIBS="-lXpm -lX11 $LIBS" 4519LIBS="-lXpm -lX11 $LIBS"
4517cat > conftest.$ac_ext <<EOF 4520cat > conftest.$ac_ext <<EOF
4518#line 4519 "configure" 4521#line 4522 "configure"
4519#include "confdefs.h" 4522#include "confdefs.h"
4520/* Override any gcc2 internal prototype to avoid an error. */ 4523/* Override any gcc2 internal prototype to avoid an error. */
4521/* We use char because int might match the return type of a gcc2 4524/* We use char because int might match the return type of a gcc2
@@ -4526,7 +4529,7 @@ int main() {
4526XpmReadFileToPixmap() 4529XpmReadFileToPixmap()
4527; return 0; } 4530; return 0; }
4528EOF 4531EOF
4529if { (eval echo configure:4530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4532if { (eval echo configure:4533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4530 rm -rf conftest* 4533 rm -rf conftest*
4531 eval "ac_cv_lib_$ac_lib_var=yes" 4534 eval "ac_cv_lib_$ac_lib_var=yes"
4532else 4535else
@@ -4569,17 +4572,17 @@ if test "${HAVE_X11}" = "yes"; then
4569 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4572 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4570 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` 4573 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'`
4571echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 4574echo $ac_n "checking for jerror.h""... $ac_c" 1>&6
4572echo "configure:4573: checking for jerror.h" >&5 4575echo "configure:4576: checking for jerror.h" >&5
4573if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4576if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4574 echo $ac_n "(cached) $ac_c" 1>&6 4577 echo $ac_n "(cached) $ac_c" 1>&6
4575else 4578else
4576 cat > conftest.$ac_ext <<EOF 4579 cat > conftest.$ac_ext <<EOF
4577#line 4578 "configure" 4580#line 4581 "configure"
4578#include "confdefs.h" 4581#include "confdefs.h"
4579#include <jerror.h> 4582#include <jerror.h>
4580EOF 4583EOF
4581ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4584ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4582{ (eval echo configure:4583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4585{ (eval echo configure:4586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4583ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4586ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4584if test -z "$ac_err"; then 4587if test -z "$ac_err"; then
4585 rm -rf conftest* 4588 rm -rf conftest*
@@ -4596,7 +4599,7 @@ fi
4596if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4599if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4597 echo "$ac_t""yes" 1>&6 4600 echo "$ac_t""yes" 1>&6
4598 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 4601 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6
4599echo "configure:4600: checking for jpeg_destroy_compress in -ljpeg" >&5 4602echo "configure:4603: checking for jpeg_destroy_compress in -ljpeg" >&5
4600ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` 4603ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'`
4601if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4604if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4602 echo $ac_n "(cached) $ac_c" 1>&6 4605 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4604,7 +4607,7 @@ else
4604 ac_save_LIBS="$LIBS" 4607 ac_save_LIBS="$LIBS"
4605LIBS="-ljpeg -lX11 $LIBS" 4608LIBS="-ljpeg -lX11 $LIBS"
4606cat > conftest.$ac_ext <<EOF 4609cat > conftest.$ac_ext <<EOF
4607#line 4608 "configure" 4610#line 4611 "configure"
4608#include "confdefs.h" 4611#include "confdefs.h"
4609/* Override any gcc2 internal prototype to avoid an error. */ 4612/* Override any gcc2 internal prototype to avoid an error. */
4610/* We use char because int might match the return type of a gcc2 4613/* We use char because int might match the return type of a gcc2
@@ -4615,7 +4618,7 @@ int main() {
4615jpeg_destroy_compress() 4618jpeg_destroy_compress()
4616; return 0; } 4619; return 0; }
4617EOF 4620EOF
4618if { (eval echo configure:4619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4621if { (eval echo configure:4622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4619 rm -rf conftest* 4622 rm -rf conftest*
4620 eval "ac_cv_lib_$ac_lib_var=yes" 4623 eval "ac_cv_lib_$ac_lib_var=yes"
4621else 4624else
@@ -4658,17 +4661,17 @@ if test "${HAVE_X11}" = "yes"; then
4658 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4661 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4659 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 4662 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
4660echo $ac_n "checking for png.h""... $ac_c" 1>&6 4663echo $ac_n "checking for png.h""... $ac_c" 1>&6
4661echo "configure:4662: checking for png.h" >&5 4664echo "configure:4665: checking for png.h" >&5
4662if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4665if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4663 echo $ac_n "(cached) $ac_c" 1>&6 4666 echo $ac_n "(cached) $ac_c" 1>&6
4664else 4667else
4665 cat > conftest.$ac_ext <<EOF 4668 cat > conftest.$ac_ext <<EOF
4666#line 4667 "configure" 4669#line 4670 "configure"
4667#include "confdefs.h" 4670#include "confdefs.h"
4668#include <png.h> 4671#include <png.h>
4669EOF 4672EOF
4670ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4673ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4671{ (eval echo configure:4672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4674{ (eval echo configure:4675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4672ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4675ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4673if test -z "$ac_err"; then 4676if test -z "$ac_err"; then
4674 rm -rf conftest* 4677 rm -rf conftest*
@@ -4685,7 +4688,7 @@ fi
4685if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4688if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4686 echo "$ac_t""yes" 1>&6 4689 echo "$ac_t""yes" 1>&6
4687 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 4690 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6
4688echo "configure:4689: checking for png_set_expand in -lpng" >&5 4691echo "configure:4692: checking for png_set_expand in -lpng" >&5
4689ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` 4692ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'`
4690if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4693if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4691 echo $ac_n "(cached) $ac_c" 1>&6 4694 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4693,7 +4696,7 @@ else
4693 ac_save_LIBS="$LIBS" 4696 ac_save_LIBS="$LIBS"
4694LIBS="-lpng -lX11 -lz -lm $LIBS" 4697LIBS="-lpng -lX11 -lz -lm $LIBS"
4695cat > conftest.$ac_ext <<EOF 4698cat > conftest.$ac_ext <<EOF
4696#line 4697 "configure" 4699#line 4700 "configure"
4697#include "confdefs.h" 4700#include "confdefs.h"
4698/* Override any gcc2 internal prototype to avoid an error. */ 4701/* Override any gcc2 internal prototype to avoid an error. */
4699/* We use char because int might match the return type of a gcc2 4702/* We use char because int might match the return type of a gcc2
@@ -4704,7 +4707,7 @@ int main() {
4704png_set_expand() 4707png_set_expand()
4705; return 0; } 4708; return 0; }
4706EOF 4709EOF
4707if { (eval echo configure:4708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4710if { (eval echo configure:4711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4708 rm -rf conftest* 4711 rm -rf conftest*
4709 eval "ac_cv_lib_$ac_lib_var=yes" 4712 eval "ac_cv_lib_$ac_lib_var=yes"
4710else 4713else
@@ -4747,17 +4750,17 @@ if test "${HAVE_X11}" = "yes"; then
4747 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4750 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4748 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 4751 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
4749echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 4752echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
4750echo "configure:4751: checking for tiffio.h" >&5 4753echo "configure:4754: checking for tiffio.h" >&5
4751if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4754if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4752 echo $ac_n "(cached) $ac_c" 1>&6 4755 echo $ac_n "(cached) $ac_c" 1>&6
4753else 4756else
4754 cat > conftest.$ac_ext <<EOF 4757 cat > conftest.$ac_ext <<EOF
4755#line 4756 "configure" 4758#line 4759 "configure"
4756#include "confdefs.h" 4759#include "confdefs.h"
4757#include <tiffio.h> 4760#include <tiffio.h>
4758EOF 4761EOF
4759ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4762ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4760{ (eval echo configure:4761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4763{ (eval echo configure:4764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4761ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4764ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4762if test -z "$ac_err"; then 4765if test -z "$ac_err"; then
4763 rm -rf conftest* 4766 rm -rf conftest*
@@ -4777,7 +4780,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4777 # At least one tiff package requires the jpeg library. 4780 # At least one tiff package requires the jpeg library.
4778 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 4781 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
4779 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 4782 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6
4780echo "configure:4781: checking for TIFFGetVersion in -ltiff" >&5 4783echo "configure:4784: checking for TIFFGetVersion in -ltiff" >&5
4781ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` 4784ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'`
4782if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4785if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4783 echo $ac_n "(cached) $ac_c" 1>&6 4786 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4785,7 +4788,7 @@ else
4785 ac_save_LIBS="$LIBS" 4788 ac_save_LIBS="$LIBS"
4786LIBS="-ltiff $tifflibs $LIBS" 4789LIBS="-ltiff $tifflibs $LIBS"
4787cat > conftest.$ac_ext <<EOF 4790cat > conftest.$ac_ext <<EOF
4788#line 4789 "configure" 4791#line 4792 "configure"
4789#include "confdefs.h" 4792#include "confdefs.h"
4790/* Override any gcc2 internal prototype to avoid an error. */ 4793/* Override any gcc2 internal prototype to avoid an error. */
4791/* We use char because int might match the return type of a gcc2 4794/* We use char because int might match the return type of a gcc2
@@ -4796,7 +4799,7 @@ int main() {
4796TIFFGetVersion() 4799TIFFGetVersion()
4797; return 0; } 4800; return 0; }
4798EOF 4801EOF
4799if { (eval echo configure:4800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4802if { (eval echo configure:4803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4800 rm -rf conftest* 4803 rm -rf conftest*
4801 eval "ac_cv_lib_$ac_lib_var=yes" 4804 eval "ac_cv_lib_$ac_lib_var=yes"
4802else 4805else
@@ -4839,17 +4842,17 @@ if test "${HAVE_X11}" = "yes"; then
4839 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 4842 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
4840 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` 4843 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
4841echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 4844echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
4842echo "configure:4843: checking for gif_lib.h" >&5 4845echo "configure:4846: checking for gif_lib.h" >&5
4843if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4846if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4844 echo $ac_n "(cached) $ac_c" 1>&6 4847 echo $ac_n "(cached) $ac_c" 1>&6
4845else 4848else
4846 cat > conftest.$ac_ext <<EOF 4849 cat > conftest.$ac_ext <<EOF
4847#line 4848 "configure" 4850#line 4851 "configure"
4848#include "confdefs.h" 4851#include "confdefs.h"
4849#include <gif_lib.h> 4852#include <gif_lib.h>
4850EOF 4853EOF
4851ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4854ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4852{ (eval echo configure:4853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4855{ (eval echo configure:4856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4853ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4856ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4854if test -z "$ac_err"; then 4857if test -z "$ac_err"; then
4855 rm -rf conftest* 4858 rm -rf conftest*
@@ -4866,7 +4869,7 @@ fi
4866if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4869if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4867 echo "$ac_t""yes" 1>&6 4870 echo "$ac_t""yes" 1>&6
4868 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 4871 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6
4869echo "configure:4870: checking for DGifOpen in -lungif" >&5 4872echo "configure:4873: checking for DGifOpen in -lungif" >&5
4870ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` 4873ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'`
4871if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4874if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4872 echo $ac_n "(cached) $ac_c" 1>&6 4875 echo $ac_n "(cached) $ac_c" 1>&6
@@ -4874,7 +4877,7 @@ else
4874 ac_save_LIBS="$LIBS" 4877 ac_save_LIBS="$LIBS"
4875LIBS="-lungif -lX11 $LIBS" 4878LIBS="-lungif -lX11 $LIBS"
4876cat > conftest.$ac_ext <<EOF 4879cat > conftest.$ac_ext <<EOF
4877#line 4878 "configure" 4880#line 4881 "configure"
4878#include "confdefs.h" 4881#include "confdefs.h"
4879/* Override any gcc2 internal prototype to avoid an error. */ 4882/* Override any gcc2 internal prototype to avoid an error. */
4880/* We use char because int might match the return type of a gcc2 4883/* We use char because int might match the return type of a gcc2
@@ -4885,7 +4888,7 @@ int main() {
4885DGifOpen() 4888DGifOpen()
4886; return 0; } 4889; return 0; }
4887EOF 4890EOF
4888if { (eval echo configure:4889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4891if { (eval echo configure:4892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4889 rm -rf conftest* 4892 rm -rf conftest*
4890 eval "ac_cv_lib_$ac_lib_var=yes" 4893 eval "ac_cv_lib_$ac_lib_var=yes"
4891else 4894else
@@ -4922,19 +4925,19 @@ fi
4922 4925
4923# If netdb.h doesn't declare h_errno, we must declare it by hand. 4926# If netdb.h doesn't declare h_errno, we must declare it by hand.
4924echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 4927echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
4925echo "configure:4926: checking whether netdb declares h_errno" >&5 4928echo "configure:4929: checking whether netdb declares h_errno" >&5
4926if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then 4929if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then
4927 echo $ac_n "(cached) $ac_c" 1>&6 4930 echo $ac_n "(cached) $ac_c" 1>&6
4928else 4931else
4929 cat > conftest.$ac_ext <<EOF 4932 cat > conftest.$ac_ext <<EOF
4930#line 4931 "configure" 4933#line 4934 "configure"
4931#include "confdefs.h" 4934#include "confdefs.h"
4932#include <netdb.h> 4935#include <netdb.h>
4933int main() { 4936int main() {
4934return h_errno; 4937return h_errno;
4935; return 0; } 4938; return 0; }
4936EOF 4939EOF
4937if { (eval echo configure:4938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4940if { (eval echo configure:4941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4938 rm -rf conftest* 4941 rm -rf conftest*
4939 emacs_cv_netdb_declares_h_errno=yes 4942 emacs_cv_netdb_declares_h_errno=yes
4940else 4943else
@@ -4957,19 +4960,19 @@ fi
4957# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 4960# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4958# for constant arguments. Useless! 4961# for constant arguments. Useless!
4959echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 4962echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
4960echo "configure:4961: checking for working alloca.h" >&5 4963echo "configure:4964: checking for working alloca.h" >&5
4961if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 4964if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
4962 echo $ac_n "(cached) $ac_c" 1>&6 4965 echo $ac_n "(cached) $ac_c" 1>&6
4963else 4966else
4964 cat > conftest.$ac_ext <<EOF 4967 cat > conftest.$ac_ext <<EOF
4965#line 4966 "configure" 4968#line 4969 "configure"
4966#include "confdefs.h" 4969#include "confdefs.h"
4967#include <alloca.h> 4970#include <alloca.h>
4968int main() { 4971int main() {
4969char *p = alloca(2 * sizeof(int)); 4972char *p = alloca(2 * sizeof(int));
4970; return 0; } 4973; return 0; }
4971EOF 4974EOF
4972if { (eval echo configure:4973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4975if { (eval echo configure:4976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4973 rm -rf conftest* 4976 rm -rf conftest*
4974 ac_cv_header_alloca_h=yes 4977 ac_cv_header_alloca_h=yes
4975else 4978else
@@ -4990,12 +4993,12 @@ EOF
4990fi 4993fi
4991 4994
4992echo $ac_n "checking for alloca""... $ac_c" 1>&6 4995echo $ac_n "checking for alloca""... $ac_c" 1>&6
4993echo "configure:4994: checking for alloca" >&5 4996echo "configure:4997: checking for alloca" >&5
4994if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 4997if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
4995 echo $ac_n "(cached) $ac_c" 1>&6 4998 echo $ac_n "(cached) $ac_c" 1>&6
4996else 4999else
4997 cat > conftest.$ac_ext <<EOF 5000 cat > conftest.$ac_ext <<EOF
4998#line 4999 "configure" 5001#line 5002 "configure"
4999#include "confdefs.h" 5002#include "confdefs.h"
5000 5003
5001#ifdef __GNUC__ 5004#ifdef __GNUC__
@@ -5023,7 +5026,7 @@ int main() {
5023char *p = (char *) alloca(1); 5026char *p = (char *) alloca(1);
5024; return 0; } 5027; return 0; }
5025EOF 5028EOF
5026if { (eval echo configure:5027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5029if { (eval echo configure:5030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5027 rm -rf conftest* 5030 rm -rf conftest*
5028 ac_cv_func_alloca_works=yes 5031 ac_cv_func_alloca_works=yes
5029else 5032else
@@ -5055,12 +5058,12 @@ EOF
5055 5058
5056 5059
5057echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 5060echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
5058echo "configure:5059: checking whether alloca needs Cray hooks" >&5 5061echo "configure:5062: checking whether alloca needs Cray hooks" >&5
5059if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 5062if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
5060 echo $ac_n "(cached) $ac_c" 1>&6 5063 echo $ac_n "(cached) $ac_c" 1>&6
5061else 5064else
5062 cat > conftest.$ac_ext <<EOF 5065 cat > conftest.$ac_ext <<EOF
5063#line 5064 "configure" 5066#line 5067 "configure"
5064#include "confdefs.h" 5067#include "confdefs.h"
5065#if defined(CRAY) && ! defined(CRAY2) 5068#if defined(CRAY) && ! defined(CRAY2)
5066webecray 5069webecray
@@ -5085,12 +5088,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
5085if test $ac_cv_os_cray = yes; then 5088if test $ac_cv_os_cray = yes; then
5086for ac_func in _getb67 GETB67 getb67; do 5089for ac_func in _getb67 GETB67 getb67; do
5087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5090 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5088echo "configure:5089: checking for $ac_func" >&5 5091echo "configure:5092: checking for $ac_func" >&5
5089if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5092if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5090 echo $ac_n "(cached) $ac_c" 1>&6 5093 echo $ac_n "(cached) $ac_c" 1>&6
5091else 5094else
5092 cat > conftest.$ac_ext <<EOF 5095 cat > conftest.$ac_ext <<EOF
5093#line 5094 "configure" 5096#line 5097 "configure"
5094#include "confdefs.h" 5097#include "confdefs.h"
5095/* System header to define __stub macros and hopefully few prototypes, 5098/* System header to define __stub macros and hopefully few prototypes,
5096 which can conflict with char $ac_func(); below. */ 5099 which can conflict with char $ac_func(); below. */
@@ -5113,7 +5116,7 @@ $ac_func();
5113 5116
5114; return 0; } 5117; return 0; }
5115EOF 5118EOF
5116if { (eval echo configure:5117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5119if { (eval echo configure:5120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5117 rm -rf conftest* 5120 rm -rf conftest*
5118 eval "ac_cv_func_$ac_func=yes" 5121 eval "ac_cv_func_$ac_func=yes"
5119else 5122else
@@ -5140,7 +5143,7 @@ done
5140fi 5143fi
5141 5144
5142echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 5145echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
5143echo "configure:5144: checking stack direction for C alloca" >&5 5146echo "configure:5147: checking stack direction for C alloca" >&5
5144if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 5147if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
5145 echo $ac_n "(cached) $ac_c" 1>&6 5148 echo $ac_n "(cached) $ac_c" 1>&6
5146else 5149else
@@ -5148,7 +5151,7 @@ else
5148 ac_cv_c_stack_direction=0 5151 ac_cv_c_stack_direction=0
5149else 5152else
5150 cat > conftest.$ac_ext <<EOF 5153 cat > conftest.$ac_ext <<EOF
5151#line 5152 "configure" 5154#line 5155 "configure"
5152#include "confdefs.h" 5155#include "confdefs.h"
5153find_stack_direction () 5156find_stack_direction ()
5154{ 5157{
@@ -5167,7 +5170,7 @@ main ()
5167 exit (find_stack_direction() < 0); 5170 exit (find_stack_direction() < 0);
5168} 5171}
5169EOF 5172EOF
5170if { (eval echo configure:5171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5173if { (eval echo configure:5174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5171then 5174then
5172 ac_cv_c_stack_direction=1 5175 ac_cv_c_stack_direction=1
5173else 5176else
@@ -5192,7 +5195,7 @@ fi
5192# fmod, logb, and frexp are found in -lm on most systems. 5195# fmod, logb, and frexp are found in -lm on most systems.
5193# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 5196# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
5194echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 5197echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
5195echo "configure:5196: checking for sqrt in -lm" >&5 5198echo "configure:5199: checking for sqrt in -lm" >&5
5196ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` 5199ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
5197if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5200if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5198 echo $ac_n "(cached) $ac_c" 1>&6 5201 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5200,7 +5203,7 @@ else
5200 ac_save_LIBS="$LIBS" 5203 ac_save_LIBS="$LIBS"
5201LIBS="-lm $LIBS" 5204LIBS="-lm $LIBS"
5202cat > conftest.$ac_ext <<EOF 5205cat > conftest.$ac_ext <<EOF
5203#line 5204 "configure" 5206#line 5207 "configure"
5204#include "confdefs.h" 5207#include "confdefs.h"
5205/* Override any gcc2 internal prototype to avoid an error. */ 5208/* Override any gcc2 internal prototype to avoid an error. */
5206/* We use char because int might match the return type of a gcc2 5209/* We use char because int might match the return type of a gcc2
@@ -5211,7 +5214,7 @@ int main() {
5211sqrt() 5214sqrt()
5212; return 0; } 5215; return 0; }
5213EOF 5216EOF
5214if { (eval echo configure:5215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5217if { (eval echo configure:5218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5215 rm -rf conftest* 5218 rm -rf conftest*
5216 eval "ac_cv_lib_$ac_lib_var=yes" 5219 eval "ac_cv_lib_$ac_lib_var=yes"
5217else 5220else
@@ -5241,7 +5244,7 @@ fi
5241 5244
5242# Check for mail-locking functions in a "mail" library 5245# Check for mail-locking functions in a "mail" library
5243echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 5246echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6
5244echo "configure:5245: checking for maillock in -lmail" >&5 5247echo "configure:5248: checking for maillock in -lmail" >&5
5245ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` 5248ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'`
5246if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5249if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5247 echo $ac_n "(cached) $ac_c" 1>&6 5250 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5249,7 +5252,7 @@ else
5249 ac_save_LIBS="$LIBS" 5252 ac_save_LIBS="$LIBS"
5250LIBS="-lmail $LIBS" 5253LIBS="-lmail $LIBS"
5251cat > conftest.$ac_ext <<EOF 5254cat > conftest.$ac_ext <<EOF
5252#line 5253 "configure" 5255#line 5256 "configure"
5253#include "confdefs.h" 5256#include "confdefs.h"
5254/* Override any gcc2 internal prototype to avoid an error. */ 5257/* Override any gcc2 internal prototype to avoid an error. */
5255/* We use char because int might match the return type of a gcc2 5258/* We use char because int might match the return type of a gcc2
@@ -5260,7 +5263,7 @@ int main() {
5260maillock() 5263maillock()
5261; return 0; } 5264; return 0; }
5262EOF 5265EOF
5263if { (eval echo configure:5264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5266if { (eval echo configure:5267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5264 rm -rf conftest* 5267 rm -rf conftest*
5265 eval "ac_cv_lib_$ac_lib_var=yes" 5268 eval "ac_cv_lib_$ac_lib_var=yes"
5266else 5269else
@@ -5288,7 +5291,7 @@ else
5288fi 5291fi
5289 5292
5290echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 5293echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6
5291echo "configure:5292: checking for maillock in -llockfile" >&5 5294echo "configure:5295: checking for maillock in -llockfile" >&5
5292ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` 5295ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'`
5293if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5296if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5294 echo $ac_n "(cached) $ac_c" 1>&6 5297 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5296,7 +5299,7 @@ else
5296 ac_save_LIBS="$LIBS" 5299 ac_save_LIBS="$LIBS"
5297LIBS="-llockfile $LIBS" 5300LIBS="-llockfile $LIBS"
5298cat > conftest.$ac_ext <<EOF 5301cat > conftest.$ac_ext <<EOF
5299#line 5300 "configure" 5302#line 5303 "configure"
5300#include "confdefs.h" 5303#include "confdefs.h"
5301/* Override any gcc2 internal prototype to avoid an error. */ 5304/* Override any gcc2 internal prototype to avoid an error. */
5302/* We use char because int might match the return type of a gcc2 5305/* We use char because int might match the return type of a gcc2
@@ -5307,7 +5310,7 @@ int main() {
5307maillock() 5310maillock()
5308; return 0; } 5311; return 0; }
5309EOF 5312EOF
5310if { (eval echo configure:5311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5313if { (eval echo configure:5314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5311 rm -rf conftest* 5314 rm -rf conftest*
5312 eval "ac_cv_lib_$ac_lib_var=yes" 5315 eval "ac_cv_lib_$ac_lib_var=yes"
5313else 5316else
@@ -5341,7 +5344,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then
5341 # Extract the first word of "liblockfile.so", so it can be a program name with args. 5344 # Extract the first word of "liblockfile.so", so it can be a program name with args.
5342set dummy liblockfile.so; ac_word=$2 5345set dummy liblockfile.so; ac_word=$2
5343echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5346echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5344echo "configure:5345: checking for $ac_word" >&5 5347echo "configure:5348: checking for $ac_word" >&5
5345if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then 5348if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then
5346 echo $ac_n "(cached) $ac_c" 1>&6 5349 echo $ac_n "(cached) $ac_c" 1>&6
5347else 5350else
@@ -5382,12 +5385,12 @@ fi
5382for ac_func in touchlock 5385for ac_func in touchlock
5383do 5386do
5384echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5387echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5385echo "configure:5386: checking for $ac_func" >&5 5388echo "configure:5389: checking for $ac_func" >&5
5386if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5389if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5387 echo $ac_n "(cached) $ac_c" 1>&6 5390 echo $ac_n "(cached) $ac_c" 1>&6
5388else 5391else
5389 cat > conftest.$ac_ext <<EOF 5392 cat > conftest.$ac_ext <<EOF
5390#line 5391 "configure" 5393#line 5394 "configure"
5391#include "confdefs.h" 5394#include "confdefs.h"
5392/* System header to define __stub macros and hopefully few prototypes, 5395/* System header to define __stub macros and hopefully few prototypes,
5393 which can conflict with char $ac_func(); below. */ 5396 which can conflict with char $ac_func(); below. */
@@ -5410,7 +5413,7 @@ $ac_func();
5410 5413
5411; return 0; } 5414; return 0; }
5412EOF 5415EOF
5413if { (eval echo configure:5414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5416if { (eval echo configure:5417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5414 rm -rf conftest* 5417 rm -rf conftest*
5415 eval "ac_cv_func_$ac_func=yes" 5418 eval "ac_cv_func_$ac_func=yes"
5416else 5419else
@@ -5438,17 +5441,17 @@ for ac_hdr in maillock.h
5438do 5441do
5439ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5442ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5440echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5443echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5441echo "configure:5442: checking for $ac_hdr" >&5 5444echo "configure:5445: checking for $ac_hdr" >&5
5442if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5445if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5443 echo $ac_n "(cached) $ac_c" 1>&6 5446 echo $ac_n "(cached) $ac_c" 1>&6
5444else 5447else
5445 cat > conftest.$ac_ext <<EOF 5448 cat > conftest.$ac_ext <<EOF
5446#line 5447 "configure" 5449#line 5450 "configure"
5447#include "confdefs.h" 5450#include "confdefs.h"
5448#include <$ac_hdr> 5451#include <$ac_hdr>
5449EOF 5452EOF
5450ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5453ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5451{ (eval echo configure:5452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5454{ (eval echo configure:5455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5452ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5455ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5453if test -z "$ac_err"; then 5456if test -z "$ac_err"; then
5454 rm -rf conftest* 5457 rm -rf conftest*
@@ -5483,12 +5486,12 @@ utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
5483__fpending mblen mbrlen strsignal setitimer ualarm 5486__fpending mblen mbrlen strsignal setitimer ualarm
5484do 5487do
5485echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5488echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5486echo "configure:5487: checking for $ac_func" >&5 5489echo "configure:5490: checking for $ac_func" >&5
5487if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5490if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5488 echo $ac_n "(cached) $ac_c" 1>&6 5491 echo $ac_n "(cached) $ac_c" 1>&6
5489else 5492else
5490 cat > conftest.$ac_ext <<EOF 5493 cat > conftest.$ac_ext <<EOF
5491#line 5492 "configure" 5494#line 5495 "configure"
5492#include "confdefs.h" 5495#include "confdefs.h"
5493/* System header to define __stub macros and hopefully few prototypes, 5496/* System header to define __stub macros and hopefully few prototypes,
5494 which can conflict with char $ac_func(); below. */ 5497 which can conflict with char $ac_func(); below. */
@@ -5511,7 +5514,7 @@ $ac_func();
5511 5514
5512; return 0; } 5515; return 0; }
5513EOF 5516EOF
5514if { (eval echo configure:5515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5517if { (eval echo configure:5518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5515 rm -rf conftest* 5518 rm -rf conftest*
5516 eval "ac_cv_func_$ac_func=yes" 5519 eval "ac_cv_func_$ac_func=yes"
5517else 5520else
@@ -5540,17 +5543,17 @@ for ac_hdr in sys/time.h unistd.h
5540do 5543do
5541ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5544ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5542echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5545echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5543echo "configure:5544: checking for $ac_hdr" >&5 5546echo "configure:5547: checking for $ac_hdr" >&5
5544if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5547if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5545 echo $ac_n "(cached) $ac_c" 1>&6 5548 echo $ac_n "(cached) $ac_c" 1>&6
5546else 5549else
5547 cat > conftest.$ac_ext <<EOF 5550 cat > conftest.$ac_ext <<EOF
5548#line 5549 "configure" 5551#line 5552 "configure"
5549#include "confdefs.h" 5552#include "confdefs.h"
5550#include <$ac_hdr> 5553#include <$ac_hdr>
5551EOF 5554EOF
5552ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5555ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5553{ (eval echo configure:5554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5556{ (eval echo configure:5557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5554ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5557ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5555if test -z "$ac_err"; then 5558if test -z "$ac_err"; then
5556 rm -rf conftest* 5559 rm -rf conftest*
@@ -5579,12 +5582,12 @@ done
5579for ac_func in alarm 5582for ac_func in alarm
5580do 5583do
5581echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5584echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5582echo "configure:5583: checking for $ac_func" >&5 5585echo "configure:5586: checking for $ac_func" >&5
5583if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5586if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5584 echo $ac_n "(cached) $ac_c" 1>&6 5587 echo $ac_n "(cached) $ac_c" 1>&6
5585else 5588else
5586 cat > conftest.$ac_ext <<EOF 5589 cat > conftest.$ac_ext <<EOF
5587#line 5588 "configure" 5590#line 5591 "configure"
5588#include "confdefs.h" 5591#include "confdefs.h"
5589/* System header to define __stub macros and hopefully few prototypes, 5592/* System header to define __stub macros and hopefully few prototypes,
5590 which can conflict with char $ac_func(); below. */ 5593 which can conflict with char $ac_func(); below. */
@@ -5607,7 +5610,7 @@ $ac_func();
5607 5610
5608; return 0; } 5611; return 0; }
5609EOF 5612EOF
5610if { (eval echo configure:5611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5613if { (eval echo configure:5614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5611 rm -rf conftest* 5614 rm -rf conftest*
5612 eval "ac_cv_func_$ac_func=yes" 5615 eval "ac_cv_func_$ac_func=yes"
5613else 5616else
@@ -5632,7 +5635,7 @@ fi
5632done 5635done
5633 5636
5634echo $ac_n "checking for working mktime""... $ac_c" 1>&6 5637echo $ac_n "checking for working mktime""... $ac_c" 1>&6
5635echo "configure:5636: checking for working mktime" >&5 5638echo "configure:5639: checking for working mktime" >&5
5636if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then 5639if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then
5637 echo $ac_n "(cached) $ac_c" 1>&6 5640 echo $ac_n "(cached) $ac_c" 1>&6
5638else 5641else
@@ -5640,7 +5643,7 @@ else
5640 ac_cv_func_working_mktime=no 5643 ac_cv_func_working_mktime=no
5641else 5644else
5642 cat > conftest.$ac_ext <<EOF 5645 cat > conftest.$ac_ext <<EOF
5643#line 5644 "configure" 5646#line 5647 "configure"
5644#include "confdefs.h" 5647#include "confdefs.h"
5645/* Test program from Paul Eggert (eggert@twinsun.com) 5648/* Test program from Paul Eggert (eggert@twinsun.com)
5646 and Tony Leneis (tony@plaza.ds.adp.com). */ 5649 and Tony Leneis (tony@plaza.ds.adp.com). */
@@ -5789,7 +5792,7 @@ main ()
5789 exit (0); 5792 exit (0);
5790} 5793}
5791EOF 5794EOF
5792if { (eval echo configure:5793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5795if { (eval echo configure:5796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5793then 5796then
5794 ac_cv_func_working_mktime=yes 5797 ac_cv_func_working_mktime=yes
5795else 5798else
@@ -5821,7 +5824,7 @@ ac_have_func=no # yes means we've found a way to get the load average.
5821# On Solaris, -lkvm requires nlist from -lelf, so check that first 5824# On Solaris, -lkvm requires nlist from -lelf, so check that first
5822# to get the right answer into the cache. 5825# to get the right answer into the cache.
5823echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 5826echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6
5824echo "configure:5825: checking for elf_begin in -lelf" >&5 5827echo "configure:5828: checking for elf_begin in -lelf" >&5
5825ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` 5828ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'`
5826if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5829if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5827 echo $ac_n "(cached) $ac_c" 1>&6 5830 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5829,7 +5832,7 @@ else
5829 ac_save_LIBS="$LIBS" 5832 ac_save_LIBS="$LIBS"
5830LIBS="-lelf $LIBS" 5833LIBS="-lelf $LIBS"
5831cat > conftest.$ac_ext <<EOF 5834cat > conftest.$ac_ext <<EOF
5832#line 5833 "configure" 5835#line 5836 "configure"
5833#include "confdefs.h" 5836#include "confdefs.h"
5834/* Override any gcc2 internal prototype to avoid an error. */ 5837/* Override any gcc2 internal prototype to avoid an error. */
5835/* We use char because int might match the return type of a gcc2 5838/* We use char because int might match the return type of a gcc2
@@ -5840,7 +5843,7 @@ int main() {
5840elf_begin() 5843elf_begin()
5841; return 0; } 5844; return 0; }
5842EOF 5845EOF
5843if { (eval echo configure:5844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5846if { (eval echo configure:5847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5844 rm -rf conftest* 5847 rm -rf conftest*
5845 eval "ac_cv_lib_$ac_lib_var=yes" 5848 eval "ac_cv_lib_$ac_lib_var=yes"
5846else 5849else
@@ -5861,7 +5864,7 @@ else
5861fi 5864fi
5862 5865
5863echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 5866echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6
5864echo "configure:5865: checking for kvm_open in -lkvm" >&5 5867echo "configure:5868: checking for kvm_open in -lkvm" >&5
5865ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` 5868ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'`
5866if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5869if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5867 echo $ac_n "(cached) $ac_c" 1>&6 5870 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5869,7 +5872,7 @@ else
5869 ac_save_LIBS="$LIBS" 5872 ac_save_LIBS="$LIBS"
5870LIBS="-lkvm $LIBS" 5873LIBS="-lkvm $LIBS"
5871cat > conftest.$ac_ext <<EOF 5874cat > conftest.$ac_ext <<EOF
5872#line 5873 "configure" 5875#line 5876 "configure"
5873#include "confdefs.h" 5876#include "confdefs.h"
5874/* Override any gcc2 internal prototype to avoid an error. */ 5877/* Override any gcc2 internal prototype to avoid an error. */
5875/* We use char because int might match the return type of a gcc2 5878/* We use char because int might match the return type of a gcc2
@@ -5880,7 +5883,7 @@ int main() {
5880kvm_open() 5883kvm_open()
5881; return 0; } 5884; return 0; }
5882EOF 5885EOF
5883if { (eval echo configure:5884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5886if { (eval echo configure:5887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5884 rm -rf conftest* 5887 rm -rf conftest*
5885 eval "ac_cv_lib_$ac_lib_var=yes" 5888 eval "ac_cv_lib_$ac_lib_var=yes"
5886else 5889else
@@ -5902,7 +5905,7 @@ fi
5902 5905
5903# Check for the 4.4BSD definition of getloadavg. 5906# Check for the 4.4BSD definition of getloadavg.
5904echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 5907echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6
5905echo "configure:5906: checking for getloadavg in -lutil" >&5 5908echo "configure:5909: checking for getloadavg in -lutil" >&5
5906ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` 5909ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'`
5907if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5910if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5908 echo $ac_n "(cached) $ac_c" 1>&6 5911 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5910,7 +5913,7 @@ else
5910 ac_save_LIBS="$LIBS" 5913 ac_save_LIBS="$LIBS"
5911LIBS="-lutil $LIBS" 5914LIBS="-lutil $LIBS"
5912cat > conftest.$ac_ext <<EOF 5915cat > conftest.$ac_ext <<EOF
5913#line 5914 "configure" 5916#line 5917 "configure"
5914#include "confdefs.h" 5917#include "confdefs.h"
5915/* Override any gcc2 internal prototype to avoid an error. */ 5918/* Override any gcc2 internal prototype to avoid an error. */
5916/* We use char because int might match the return type of a gcc2 5919/* We use char because int might match the return type of a gcc2
@@ -5921,7 +5924,7 @@ int main() {
5921getloadavg() 5924getloadavg()
5922; return 0; } 5925; return 0; }
5923EOF 5926EOF
5924if { (eval echo configure:5925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5927if { (eval echo configure:5928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5925 rm -rf conftest* 5928 rm -rf conftest*
5926 eval "ac_cv_lib_$ac_lib_var=yes" 5929 eval "ac_cv_lib_$ac_lib_var=yes"
5927else 5930else
@@ -5947,7 +5950,7 @@ if test $ac_have_func = no; then
5947 # Since it is not a standard part of AIX, it might be installed locally. 5950 # Since it is not a standard part of AIX, it might be installed locally.
5948 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" 5951 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS"
5949 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 5952 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6
5950echo "configure:5951: checking for getloadavg in -lgetloadavg" >&5 5953echo "configure:5954: checking for getloadavg in -lgetloadavg" >&5
5951ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` 5954ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'`
5952if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5955if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5953 echo $ac_n "(cached) $ac_c" 1>&6 5956 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5955,7 +5958,7 @@ else
5955 ac_save_LIBS="$LIBS" 5958 ac_save_LIBS="$LIBS"
5956LIBS="-lgetloadavg $LIBS" 5959LIBS="-lgetloadavg $LIBS"
5957cat > conftest.$ac_ext <<EOF 5960cat > conftest.$ac_ext <<EOF
5958#line 5959 "configure" 5961#line 5962 "configure"
5959#include "confdefs.h" 5962#include "confdefs.h"
5960/* Override any gcc2 internal prototype to avoid an error. */ 5963/* Override any gcc2 internal prototype to avoid an error. */
5961/* We use char because int might match the return type of a gcc2 5964/* We use char because int might match the return type of a gcc2
@@ -5966,7 +5969,7 @@ int main() {
5966getloadavg() 5969getloadavg()
5967; return 0; } 5970; return 0; }
5968EOF 5971EOF
5969if { (eval echo configure:5970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5972if { (eval echo configure:5973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5970 rm -rf conftest* 5973 rm -rf conftest*
5971 eval "ac_cv_lib_$ac_lib_var=yes" 5974 eval "ac_cv_lib_$ac_lib_var=yes"
5972else 5975else
@@ -5993,12 +5996,12 @@ fi
5993for ac_func in getloadavg 5996for ac_func in getloadavg
5994do 5997do
5995echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5998echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5996echo "configure:5997: checking for $ac_func" >&5 5999echo "configure:6000: checking for $ac_func" >&5
5997if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6000if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5998 echo $ac_n "(cached) $ac_c" 1>&6 6001 echo $ac_n "(cached) $ac_c" 1>&6
5999else 6002else
6000 cat > conftest.$ac_ext <<EOF 6003 cat > conftest.$ac_ext <<EOF
6001#line 6002 "configure" 6004#line 6005 "configure"
6002#include "confdefs.h" 6005#include "confdefs.h"
6003/* System header to define __stub macros and hopefully few prototypes, 6006/* System header to define __stub macros and hopefully few prototypes,
6004 which can conflict with char $ac_func(); below. */ 6007 which can conflict with char $ac_func(); below. */
@@ -6021,7 +6024,7 @@ $ac_func();
6021 6024
6022; return 0; } 6025; return 0; }
6023EOF 6026EOF
6024if { (eval echo configure:6025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6027if { (eval echo configure:6028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6025 rm -rf conftest* 6028 rm -rf conftest*
6026 eval "ac_cv_func_$ac_func=yes" 6029 eval "ac_cv_func_$ac_func=yes"
6027else 6030else
@@ -6059,17 +6062,17 @@ else
6059 ac_have_func=no 6062 ac_have_func=no
6060 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` 6063 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'`
6061echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 6064echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6
6062echo "configure:6063: checking for sys/dg_sys_info.h" >&5 6065echo "configure:6066: checking for sys/dg_sys_info.h" >&5
6063if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6066if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6064 echo $ac_n "(cached) $ac_c" 1>&6 6067 echo $ac_n "(cached) $ac_c" 1>&6
6065else 6068else
6066 cat > conftest.$ac_ext <<EOF 6069 cat > conftest.$ac_ext <<EOF
6067#line 6068 "configure" 6070#line 6071 "configure"
6068#include "confdefs.h" 6071#include "confdefs.h"
6069#include <sys/dg_sys_info.h> 6072#include <sys/dg_sys_info.h>
6070EOF 6073EOF
6071ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6074ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6072{ (eval echo configure:6073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6075{ (eval echo configure:6076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6073ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6076ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6074if test -z "$ac_err"; then 6077if test -z "$ac_err"; then
6075 rm -rf conftest* 6078 rm -rf conftest*
@@ -6090,7 +6093,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6090EOF 6093EOF
6091 6094
6092 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 6095 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6
6093echo "configure:6094: checking for dg_sys_info in -ldgc" >&5 6096echo "configure:6097: checking for dg_sys_info in -ldgc" >&5
6094ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` 6097ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'`
6095if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6098if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6096 echo $ac_n "(cached) $ac_c" 1>&6 6099 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6098,7 +6101,7 @@ else
6098 ac_save_LIBS="$LIBS" 6101 ac_save_LIBS="$LIBS"
6099LIBS="-ldgc $LIBS" 6102LIBS="-ldgc $LIBS"
6100cat > conftest.$ac_ext <<EOF 6103cat > conftest.$ac_ext <<EOF
6101#line 6102 "configure" 6104#line 6105 "configure"
6102#include "confdefs.h" 6105#include "confdefs.h"
6103/* Override any gcc2 internal prototype to avoid an error. */ 6106/* Override any gcc2 internal prototype to avoid an error. */
6104/* We use char because int might match the return type of a gcc2 6107/* We use char because int might match the return type of a gcc2
@@ -6109,7 +6112,7 @@ int main() {
6109dg_sys_info() 6112dg_sys_info()
6110; return 0; } 6113; return 0; }
6111EOF 6114EOF
6112if { (eval echo configure:6113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6115if { (eval echo configure:6116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6113 rm -rf conftest* 6116 rm -rf conftest*
6114 eval "ac_cv_lib_$ac_lib_var=yes" 6117 eval "ac_cv_lib_$ac_lib_var=yes"
6115else 6118else
@@ -6154,17 +6157,17 @@ EOF
6154 if test $ac_have_func = no; then 6157 if test $ac_have_func = no; then
6155 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` 6158 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'`
6156echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 6159echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6
6157echo "configure:6158: checking for inq_stats/cpustats.h" >&5 6160echo "configure:6161: checking for inq_stats/cpustats.h" >&5
6158if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6161if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6159 echo $ac_n "(cached) $ac_c" 1>&6 6162 echo $ac_n "(cached) $ac_c" 1>&6
6160else 6163else
6161 cat > conftest.$ac_ext <<EOF 6164 cat > conftest.$ac_ext <<EOF
6162#line 6163 "configure" 6165#line 6166 "configure"
6163#include "confdefs.h" 6166#include "confdefs.h"
6164#include <inq_stats/cpustats.h> 6167#include <inq_stats/cpustats.h>
6165EOF 6168EOF
6166ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6169ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6167{ (eval echo configure:6168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6170{ (eval echo configure:6171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6168ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6171ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6169if test -z "$ac_err"; then 6172if test -z "$ac_err"; then
6170 rm -rf conftest* 6173 rm -rf conftest*
@@ -6197,17 +6200,17 @@ fi
6197 if test $ac_have_func = no; then 6200 if test $ac_have_func = no; then
6198 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` 6201 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'`
6199echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 6202echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6
6200echo "configure:6201: checking for sys/cpustats.h" >&5 6203echo "configure:6204: checking for sys/cpustats.h" >&5
6201if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6204if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6202 echo $ac_n "(cached) $ac_c" 1>&6 6205 echo $ac_n "(cached) $ac_c" 1>&6
6203else 6206else
6204 cat > conftest.$ac_ext <<EOF 6207 cat > conftest.$ac_ext <<EOF
6205#line 6206 "configure" 6208#line 6209 "configure"
6206#include "confdefs.h" 6209#include "confdefs.h"
6207#include <sys/cpustats.h> 6210#include <sys/cpustats.h>
6208EOF 6211EOF
6209ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6212ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6210{ (eval echo configure:6211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6213{ (eval echo configure:6214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6211ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6214ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6212if test -z "$ac_err"; then 6215if test -z "$ac_err"; then
6213 rm -rf conftest* 6216 rm -rf conftest*
@@ -6238,17 +6241,17 @@ fi
6238do 6241do
6239ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6242ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6240echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6243echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6241echo "configure:6242: checking for $ac_hdr" >&5 6244echo "configure:6245: checking for $ac_hdr" >&5
6242if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6245if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6243 echo $ac_n "(cached) $ac_c" 1>&6 6246 echo $ac_n "(cached) $ac_c" 1>&6
6244else 6247else
6245 cat > conftest.$ac_ext <<EOF 6248 cat > conftest.$ac_ext <<EOF
6246#line 6247 "configure" 6249#line 6250 "configure"
6247#include "confdefs.h" 6250#include "confdefs.h"
6248#include <$ac_hdr> 6251#include <$ac_hdr>
6249EOF 6252EOF
6250ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6253ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6251{ (eval echo configure:6252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6254{ (eval echo configure:6255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6252ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6255ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6253if test -z "$ac_err"; then 6256if test -z "$ac_err"; then
6254 rm -rf conftest* 6257 rm -rf conftest*
@@ -6278,17 +6281,17 @@ done
6278 6281
6279 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 6282 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
6280echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 6283echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
6281echo "configure:6282: checking for nlist.h" >&5 6284echo "configure:6285: checking for nlist.h" >&5
6282if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6285if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6283 echo $ac_n "(cached) $ac_c" 1>&6 6286 echo $ac_n "(cached) $ac_c" 1>&6
6284else 6287else
6285 cat > conftest.$ac_ext <<EOF 6288 cat > conftest.$ac_ext <<EOF
6286#line 6287 "configure" 6289#line 6290 "configure"
6287#include "confdefs.h" 6290#include "confdefs.h"
6288#include <nlist.h> 6291#include <nlist.h>
6289EOF 6292EOF
6290ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6293ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6291{ (eval echo configure:6292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6294{ (eval echo configure:6295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6292ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6295ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6293if test -z "$ac_err"; then 6296if test -z "$ac_err"; then
6294 rm -rf conftest* 6297 rm -rf conftest*
@@ -6309,19 +6312,19 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6309EOF 6312EOF
6310 6313
6311 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 6314 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6
6312echo "configure:6313: checking for n_un in struct nlist" >&5 6315echo "configure:6316: checking for n_un in struct nlist" >&5
6313if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then 6316if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then
6314 echo $ac_n "(cached) $ac_c" 1>&6 6317 echo $ac_n "(cached) $ac_c" 1>&6
6315else 6318else
6316 cat > conftest.$ac_ext <<EOF 6319 cat > conftest.$ac_ext <<EOF
6317#line 6318 "configure" 6320#line 6321 "configure"
6318#include "confdefs.h" 6321#include "confdefs.h"
6319#include <nlist.h> 6322#include <nlist.h>
6320int main() { 6323int main() {
6321struct nlist n; n.n_un.n_name = 0; 6324struct nlist n; n.n_un.n_name = 0;
6322; return 0; } 6325; return 0; }
6323EOF 6326EOF
6324if { (eval echo configure:6325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6327if { (eval echo configure:6328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6325 rm -rf conftest* 6328 rm -rf conftest*
6326 ac_cv_struct_nlist_n_un=yes 6329 ac_cv_struct_nlist_n_un=yes
6327else 6330else
@@ -6348,12 +6351,12 @@ fi # Do not have getloadavg in system libraries.
6348 6351
6349# Some definitions of getloadavg require that the program be installed setgid. 6352# Some definitions of getloadavg require that the program be installed setgid.
6350echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 6353echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6
6351echo "configure:6352: checking whether getloadavg requires setgid" >&5 6354echo "configure:6355: checking whether getloadavg requires setgid" >&5
6352if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then 6355if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then
6353 echo $ac_n "(cached) $ac_c" 1>&6 6356 echo $ac_n "(cached) $ac_c" 1>&6
6354else 6357else
6355 cat > conftest.$ac_ext <<EOF 6358 cat > conftest.$ac_ext <<EOF
6356#line 6357 "configure" 6359#line 6360 "configure"
6357#include "confdefs.h" 6360#include "confdefs.h"
6358#include "$srcdir/getloadavg.c" 6361#include "$srcdir/getloadavg.c"
6359#ifdef LDAV_PRIVILEGED 6362#ifdef LDAV_PRIVILEGED
@@ -6384,7 +6387,7 @@ fi
6384 6387
6385if test $ac_cv_func_getloadavg_setgid = yes; then 6388if test $ac_cv_func_getloadavg_setgid = yes; then
6386 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 6389 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6
6387echo "configure:6388: checking group of /dev/kmem" >&5 6390echo "configure:6391: checking group of /dev/kmem" >&5
6388if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then 6391if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then
6389 echo $ac_n "(cached) $ac_c" 1>&6 6392 echo $ac_n "(cached) $ac_c" 1>&6
6390else 6393else
@@ -6413,7 +6416,7 @@ fi
6413 if test "$enable_largefile" != no; then 6416 if test "$enable_largefile" != no; then
6414 6417
6415 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6 6418 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6
6416echo "configure:6417: checking for special C compiler options needed for large files" >&5 6419echo "configure:6420: checking for special C compiler options needed for large files" >&5
6417if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then 6420if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then
6418 echo $ac_n "(cached) $ac_c" 1>&6 6421 echo $ac_n "(cached) $ac_c" 1>&6
6419else 6422else
@@ -6422,7 +6425,7 @@ else
6422 # IRIX 6.2 and later do not support large files by default, 6425 # IRIX 6.2 and later do not support large files by default,
6423 # so use the C compiler's -n32 option if that helps. 6426 # so use the C compiler's -n32 option if that helps.
6424 cat > conftest.$ac_ext <<EOF 6427 cat > conftest.$ac_ext <<EOF
6425#line 6426 "configure" 6428#line 6429 "configure"
6426#include "confdefs.h" 6429#include "confdefs.h"
6427#include <sys/types.h> 6430#include <sys/types.h>
6428 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6431 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6431,7 +6434,7 @@ int main() {
6431 6434
6432; return 0; } 6435; return 0; }
6433EOF 6436EOF
6434if { (eval echo configure:6435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6437if { (eval echo configure:6438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6435 : 6438 :
6436else 6439else
6437 echo "configure: failed program was:" >&5 6440 echo "configure: failed program was:" >&5
@@ -6440,7 +6443,7 @@ else
6440 ac_save_CC="$CC" 6443 ac_save_CC="$CC"
6441 CC="$CC -n32" 6444 CC="$CC -n32"
6442 cat > conftest.$ac_ext <<EOF 6445 cat > conftest.$ac_ext <<EOF
6443#line 6444 "configure" 6446#line 6447 "configure"
6444#include "confdefs.h" 6447#include "confdefs.h"
6445#include <sys/types.h> 6448#include <sys/types.h>
6446 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6449 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6449,7 +6452,7 @@ int main() {
6449 6452
6450; return 0; } 6453; return 0; }
6451EOF 6454EOF
6452if { (eval echo configure:6453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6455if { (eval echo configure:6456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6453 rm -rf conftest* 6456 rm -rf conftest*
6454 ac_cv_sys_largefile_CC=' -n32' 6457 ac_cv_sys_largefile_CC=' -n32'
6455else 6458else
@@ -6469,13 +6472,13 @@ echo "$ac_t""$ac_cv_sys_largefile_CC" 1>&6
6469 fi 6472 fi
6470 6473
6471 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 6474 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
6472echo "configure:6473: checking for _FILE_OFFSET_BITS value needed for large files" >&5 6475echo "configure:6476: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6473if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then 6476if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
6474 echo $ac_n "(cached) $ac_c" 1>&6 6477 echo $ac_n "(cached) $ac_c" 1>&6
6475else 6478else
6476 ac_cv_sys_file_offset_bits=no 6479 ac_cv_sys_file_offset_bits=no
6477 cat > conftest.$ac_ext <<EOF 6480 cat > conftest.$ac_ext <<EOF
6478#line 6479 "configure" 6481#line 6482 "configure"
6479#include "confdefs.h" 6482#include "confdefs.h"
6480#include <sys/types.h> 6483#include <sys/types.h>
6481 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6484 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6486,14 +6489,14 @@ int main() {
6486 6489
6487; return 0; } 6490; return 0; }
6488EOF 6491EOF
6489if { (eval echo configure:6490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6492if { (eval echo configure:6493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6490 : 6493 :
6491else 6494else
6492 echo "configure: failed program was:" >&5 6495 echo "configure: failed program was:" >&5
6493 cat conftest.$ac_ext >&5 6496 cat conftest.$ac_ext >&5
6494 rm -rf conftest* 6497 rm -rf conftest*
6495 cat > conftest.$ac_ext <<EOF 6498 cat > conftest.$ac_ext <<EOF
6496#line 6497 "configure" 6499#line 6500 "configure"
6497#include "confdefs.h" 6500#include "confdefs.h"
6498#define _FILE_OFFSET_BITS 64 6501#define _FILE_OFFSET_BITS 64
6499#include <sys/types.h> 6502#include <sys/types.h>
@@ -6505,7 +6508,7 @@ int main() {
6505 6508
6506; return 0; } 6509; return 0; }
6507EOF 6510EOF
6508if { (eval echo configure:6509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6511if { (eval echo configure:6512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6509 rm -rf conftest* 6512 rm -rf conftest*
6510 ac_cv_sys_file_offset_bits=64 6513 ac_cv_sys_file_offset_bits=64
6511else 6514else
@@ -6525,13 +6528,13 @@ EOF
6525 6528
6526 fi 6529 fi
6527 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 6530 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
6528echo "configure:6529: checking for _LARGEFILE_SOURCE value needed for large files" >&5 6531echo "configure:6532: checking for _LARGEFILE_SOURCE value needed for large files" >&5
6529if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then 6532if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then
6530 echo $ac_n "(cached) $ac_c" 1>&6 6533 echo $ac_n "(cached) $ac_c" 1>&6
6531else 6534else
6532 ac_cv_sys_largefile_source=no 6535 ac_cv_sys_largefile_source=no
6533 cat > conftest.$ac_ext <<EOF 6536 cat > conftest.$ac_ext <<EOF
6534#line 6535 "configure" 6537#line 6538 "configure"
6535#include "confdefs.h" 6538#include "confdefs.h"
6536#include <sys/types.h> 6539#include <sys/types.h>
6537 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6540 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6542,14 +6545,14 @@ int main() {
6542return !ftello; 6545return !ftello;
6543; return 0; } 6546; return 0; }
6544EOF 6547EOF
6545if { (eval echo configure:6546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6548if { (eval echo configure:6549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6546 : 6549 :
6547else 6550else
6548 echo "configure: failed program was:" >&5 6551 echo "configure: failed program was:" >&5
6549 cat conftest.$ac_ext >&5 6552 cat conftest.$ac_ext >&5
6550 rm -rf conftest* 6553 rm -rf conftest*
6551 cat > conftest.$ac_ext <<EOF 6554 cat > conftest.$ac_ext <<EOF
6552#line 6553 "configure" 6555#line 6556 "configure"
6553#include "confdefs.h" 6556#include "confdefs.h"
6554#define _LARGEFILE_SOURCE 1 6557#define _LARGEFILE_SOURCE 1
6555#include <sys/types.h> 6558#include <sys/types.h>
@@ -6561,7 +6564,7 @@ int main() {
6561return !ftello; 6564return !ftello;
6562; return 0; } 6565; return 0; }
6563EOF 6566EOF
6564if { (eval echo configure:6565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6567if { (eval echo configure:6568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6565 rm -rf conftest* 6568 rm -rf conftest*
6566 ac_cv_sys_largefile_source=1 6569 ac_cv_sys_largefile_source=1
6567else 6570else
@@ -6581,13 +6584,13 @@ EOF
6581 6584
6582 fi 6585 fi
6583 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6 6586 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
6584echo "configure:6585: checking for _LARGE_FILES value needed for large files" >&5 6587echo "configure:6588: checking for _LARGE_FILES value needed for large files" >&5
6585if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then 6588if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
6586 echo $ac_n "(cached) $ac_c" 1>&6 6589 echo $ac_n "(cached) $ac_c" 1>&6
6587else 6590else
6588 ac_cv_sys_large_files=no 6591 ac_cv_sys_large_files=no
6589 cat > conftest.$ac_ext <<EOF 6592 cat > conftest.$ac_ext <<EOF
6590#line 6591 "configure" 6593#line 6594 "configure"
6591#include "confdefs.h" 6594#include "confdefs.h"
6592#include <sys/types.h> 6595#include <sys/types.h>
6593 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6596 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6598,14 +6601,14 @@ int main() {
6598 6601
6599; return 0; } 6602; return 0; }
6600EOF 6603EOF
6601if { (eval echo configure:6602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6604if { (eval echo configure:6605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6602 : 6605 :
6603else 6606else
6604 echo "configure: failed program was:" >&5 6607 echo "configure: failed program was:" >&5
6605 cat conftest.$ac_ext >&5 6608 cat conftest.$ac_ext >&5
6606 rm -rf conftest* 6609 rm -rf conftest*
6607 cat > conftest.$ac_ext <<EOF 6610 cat > conftest.$ac_ext <<EOF
6608#line 6609 "configure" 6611#line 6612 "configure"
6609#include "confdefs.h" 6612#include "confdefs.h"
6610#define _LARGE_FILES 1 6613#define _LARGE_FILES 1
6611#include <sys/types.h> 6614#include <sys/types.h>
@@ -6617,7 +6620,7 @@ int main() {
6617 6620
6618; return 0; } 6621; return 0; }
6619EOF 6622EOF
6620if { (eval echo configure:6621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6623if { (eval echo configure:6624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6621 rm -rf conftest* 6624 rm -rf conftest*
6622 ac_cv_sys_large_files=1 6625 ac_cv_sys_large_files=1
6623else 6626else
@@ -6637,13 +6640,13 @@ EOF
6637 6640
6638 fi 6641 fi
6639 echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6 6642 echo $ac_n "checking for _XOPEN_SOURCE value needed for large files""... $ac_c" 1>&6
6640echo "configure:6641: checking for _XOPEN_SOURCE value needed for large files" >&5 6643echo "configure:6644: checking for _XOPEN_SOURCE value needed for large files" >&5
6641if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then 6644if eval "test \"`echo '$''{'ac_cv_sys_xopen_source'+set}'`\" = set"; then
6642 echo $ac_n "(cached) $ac_c" 1>&6 6645 echo $ac_n "(cached) $ac_c" 1>&6
6643else 6646else
6644 ac_cv_sys_xopen_source=no 6647 ac_cv_sys_xopen_source=no
6645 cat > conftest.$ac_ext <<EOF 6648 cat > conftest.$ac_ext <<EOF
6646#line 6647 "configure" 6649#line 6650 "configure"
6647#include "confdefs.h" 6650#include "confdefs.h"
6648#include <sys/types.h> 6651#include <sys/types.h>
6649 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1]; 6652 int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
@@ -6654,14 +6657,14 @@ int main() {
6654return !ftello; 6657return !ftello;
6655; return 0; } 6658; return 0; }
6656EOF 6659EOF
6657if { (eval echo configure:6658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6660if { (eval echo configure:6661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6658 : 6661 :
6659else 6662else
6660 echo "configure: failed program was:" >&5 6663 echo "configure: failed program was:" >&5
6661 cat conftest.$ac_ext >&5 6664 cat conftest.$ac_ext >&5
6662 rm -rf conftest* 6665 rm -rf conftest*
6663 cat > conftest.$ac_ext <<EOF 6666 cat > conftest.$ac_ext <<EOF
6664#line 6665 "configure" 6667#line 6668 "configure"
6665#include "confdefs.h" 6668#include "confdefs.h"
6666#define _XOPEN_SOURCE 500 6669#define _XOPEN_SOURCE 500
6667#include <sys/types.h> 6670#include <sys/types.h>
@@ -6673,7 +6676,7 @@ int main() {
6673return !ftello; 6676return !ftello;
6674; return 0; } 6677; return 0; }
6675EOF 6678EOF
6676if { (eval echo configure:6677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6679if { (eval echo configure:6680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6677 rm -rf conftest* 6680 rm -rf conftest*
6678 ac_cv_sys_xopen_source=500 6681 ac_cv_sys_xopen_source=500
6679else 6682else
@@ -6697,12 +6700,12 @@ EOF
6697for ac_func in ftello 6700for ac_func in ftello
6698do 6701do
6699echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6702echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6700echo "configure:6701: checking for $ac_func" >&5 6703echo "configure:6704: checking for $ac_func" >&5
6701if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6704if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6702 echo $ac_n "(cached) $ac_c" 1>&6 6705 echo $ac_n "(cached) $ac_c" 1>&6
6703else 6706else
6704 cat > conftest.$ac_ext <<EOF 6707 cat > conftest.$ac_ext <<EOF
6705#line 6706 "configure" 6708#line 6709 "configure"
6706#include "confdefs.h" 6709#include "confdefs.h"
6707/* System header to define __stub macros and hopefully few prototypes, 6710/* System header to define __stub macros and hopefully few prototypes,
6708 which can conflict with char $ac_func(); below. */ 6711 which can conflict with char $ac_func(); below. */
@@ -6725,7 +6728,7 @@ $ac_func();
6725 6728
6726; return 0; } 6729; return 0; }
6727EOF 6730EOF
6728if { (eval echo configure:6729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6731if { (eval echo configure:6732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6729 rm -rf conftest* 6732 rm -rf conftest*
6730 eval "ac_cv_func_$ac_func=yes" 6733 eval "ac_cv_func_$ac_func=yes"
6731else 6734else
@@ -6755,12 +6758,12 @@ done
6755for ac_func in grantpt 6758for ac_func in grantpt
6756do 6759do
6757echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6760echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6758echo "configure:6759: checking for $ac_func" >&5 6761echo "configure:6762: checking for $ac_func" >&5
6759if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6762if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6760 echo $ac_n "(cached) $ac_c" 1>&6 6763 echo $ac_n "(cached) $ac_c" 1>&6
6761else 6764else
6762 cat > conftest.$ac_ext <<EOF 6765 cat > conftest.$ac_ext <<EOF
6763#line 6764 "configure" 6766#line 6767 "configure"
6764#include "confdefs.h" 6767#include "confdefs.h"
6765/* System header to define __stub macros and hopefully few prototypes, 6768/* System header to define __stub macros and hopefully few prototypes,
6766 which can conflict with char $ac_func(); below. */ 6769 which can conflict with char $ac_func(); below. */
@@ -6783,7 +6786,7 @@ $ac_func();
6783 6786
6784; return 0; } 6787; return 0; }
6785EOF 6788EOF
6786if { (eval echo configure:6787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6789if { (eval echo configure:6790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6787 rm -rf conftest* 6790 rm -rf conftest*
6788 eval "ac_cv_func_$ac_func=yes" 6791 eval "ac_cv_func_$ac_func=yes"
6789else 6792else
@@ -6812,12 +6815,12 @@ done
6812for ac_func in getpt 6815for ac_func in getpt
6813do 6816do
6814echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6817echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6815echo "configure:6816: checking for $ac_func" >&5 6818echo "configure:6819: checking for $ac_func" >&5
6816if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 6819if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6817 echo $ac_n "(cached) $ac_c" 1>&6 6820 echo $ac_n "(cached) $ac_c" 1>&6
6818else 6821else
6819 cat > conftest.$ac_ext <<EOF 6822 cat > conftest.$ac_ext <<EOF
6820#line 6821 "configure" 6823#line 6824 "configure"
6821#include "confdefs.h" 6824#include "confdefs.h"
6822/* System header to define __stub macros and hopefully few prototypes, 6825/* System header to define __stub macros and hopefully few prototypes,
6823 which can conflict with char $ac_func(); below. */ 6826 which can conflict with char $ac_func(); below. */
@@ -6840,7 +6843,7 @@ $ac_func();
6840 6843
6841; return 0; } 6844; return 0; }
6842EOF 6845EOF
6843if { (eval echo configure:6844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6846if { (eval echo configure:6847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6844 rm -rf conftest* 6847 rm -rf conftest*
6845 eval "ac_cv_func_$ac_func=yes" 6848 eval "ac_cv_func_$ac_func=yes"
6846else 6849else
@@ -6870,7 +6873,7 @@ done
6870# It's better to believe a function is not available 6873# It's better to believe a function is not available
6871# than to expect to find it in ncurses. 6874# than to expect to find it in ncurses.
6872echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 6875echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
6873echo "configure:6874: checking for tparm in -lncurses" >&5 6876echo "configure:6877: checking for tparm in -lncurses" >&5
6874ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 6877ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
6875if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6878if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6876 echo $ac_n "(cached) $ac_c" 1>&6 6879 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6878,7 +6881,7 @@ else
6878 ac_save_LIBS="$LIBS" 6881 ac_save_LIBS="$LIBS"
6879LIBS="-lncurses $LIBS" 6882LIBS="-lncurses $LIBS"
6880cat > conftest.$ac_ext <<EOF 6883cat > conftest.$ac_ext <<EOF
6881#line 6882 "configure" 6884#line 6885 "configure"
6882#include "confdefs.h" 6885#include "confdefs.h"
6883/* Override any gcc2 internal prototype to avoid an error. */ 6886/* Override any gcc2 internal prototype to avoid an error. */
6884/* We use char because int might match the return type of a gcc2 6887/* We use char because int might match the return type of a gcc2
@@ -6889,7 +6892,7 @@ int main() {
6889tparm() 6892tparm()
6890; return 0; } 6893; return 0; }
6891EOF 6894EOF
6892if { (eval echo configure:6893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6895if { (eval echo configure:6896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6893 rm -rf conftest* 6896 rm -rf conftest*
6894 eval "ac_cv_lib_$ac_lib_var=yes" 6897 eval "ac_cv_lib_$ac_lib_var=yes"
6895else 6898else
@@ -6920,7 +6923,7 @@ fi
6920# These tell us which Kerberos-related libraries to use. 6923# These tell us which Kerberos-related libraries to use.
6921if test "${with_kerberos+set}" = set; then 6924if test "${with_kerberos+set}" = set; then
6922 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 6925 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
6923echo "configure:6924: checking for com_err in -lcom_err" >&5 6926echo "configure:6927: checking for com_err in -lcom_err" >&5
6924ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 6927ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
6925if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6928if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6926 echo $ac_n "(cached) $ac_c" 1>&6 6929 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6928,7 +6931,7 @@ else
6928 ac_save_LIBS="$LIBS" 6931 ac_save_LIBS="$LIBS"
6929LIBS="-lcom_err $LIBS" 6932LIBS="-lcom_err $LIBS"
6930cat > conftest.$ac_ext <<EOF 6933cat > conftest.$ac_ext <<EOF
6931#line 6932 "configure" 6934#line 6935 "configure"
6932#include "confdefs.h" 6935#include "confdefs.h"
6933/* Override any gcc2 internal prototype to avoid an error. */ 6936/* Override any gcc2 internal prototype to avoid an error. */
6934/* We use char because int might match the return type of a gcc2 6937/* We use char because int might match the return type of a gcc2
@@ -6939,7 +6942,7 @@ int main() {
6939com_err() 6942com_err()
6940; return 0; } 6943; return 0; }
6941EOF 6944EOF
6942if { (eval echo configure:6943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6945if { (eval echo configure:6946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6943 rm -rf conftest* 6946 rm -rf conftest*
6944 eval "ac_cv_lib_$ac_lib_var=yes" 6947 eval "ac_cv_lib_$ac_lib_var=yes"
6945else 6948else
@@ -6967,7 +6970,7 @@ else
6967fi 6970fi
6968 6971
6969 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 6972 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
6970echo "configure:6971: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 6973echo "configure:6974: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
6971ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 6974ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
6972if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6975if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6973 echo $ac_n "(cached) $ac_c" 1>&6 6976 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6975,7 +6978,7 @@ else
6975 ac_save_LIBS="$LIBS" 6978 ac_save_LIBS="$LIBS"
6976LIBS="-lk5crypto $LIBS" 6979LIBS="-lk5crypto $LIBS"
6977cat > conftest.$ac_ext <<EOF 6980cat > conftest.$ac_ext <<EOF
6978#line 6979 "configure" 6981#line 6982 "configure"
6979#include "confdefs.h" 6982#include "confdefs.h"
6980/* Override any gcc2 internal prototype to avoid an error. */ 6983/* Override any gcc2 internal prototype to avoid an error. */
6981/* We use char because int might match the return type of a gcc2 6984/* We use char because int might match the return type of a gcc2
@@ -6986,7 +6989,7 @@ int main() {
6986mit_des_cbc_encrypt() 6989mit_des_cbc_encrypt()
6987; return 0; } 6990; return 0; }
6988EOF 6991EOF
6989if { (eval echo configure:6990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6992if { (eval echo configure:6993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6990 rm -rf conftest* 6993 rm -rf conftest*
6991 eval "ac_cv_lib_$ac_lib_var=yes" 6994 eval "ac_cv_lib_$ac_lib_var=yes"
6992else 6995else
@@ -7014,7 +7017,7 @@ else
7014fi 7017fi
7015 7018
7016 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 7019 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
7017echo "configure:7018: checking for mit_des_cbc_encrypt in -lcrypto" >&5 7020echo "configure:7021: checking for mit_des_cbc_encrypt in -lcrypto" >&5
7018ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 7021ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
7019if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7022if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7020 echo $ac_n "(cached) $ac_c" 1>&6 7023 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7022,7 +7025,7 @@ else
7022 ac_save_LIBS="$LIBS" 7025 ac_save_LIBS="$LIBS"
7023LIBS="-lcrypto $LIBS" 7026LIBS="-lcrypto $LIBS"
7024cat > conftest.$ac_ext <<EOF 7027cat > conftest.$ac_ext <<EOF
7025#line 7026 "configure" 7028#line 7029 "configure"
7026#include "confdefs.h" 7029#include "confdefs.h"
7027/* Override any gcc2 internal prototype to avoid an error. */ 7030/* Override any gcc2 internal prototype to avoid an error. */
7028/* We use char because int might match the return type of a gcc2 7031/* We use char because int might match the return type of a gcc2
@@ -7033,7 +7036,7 @@ int main() {
7033mit_des_cbc_encrypt() 7036mit_des_cbc_encrypt()
7034; return 0; } 7037; return 0; }
7035EOF 7038EOF
7036if { (eval echo configure:7037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7039if { (eval echo configure:7040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7037 rm -rf conftest* 7040 rm -rf conftest*
7038 eval "ac_cv_lib_$ac_lib_var=yes" 7041 eval "ac_cv_lib_$ac_lib_var=yes"
7039else 7042else
@@ -7061,7 +7064,7 @@ else
7061fi 7064fi
7062 7065
7063 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 7066 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
7064echo "configure:7065: checking for krb5_init_context in -lkrb5" >&5 7067echo "configure:7068: checking for krb5_init_context in -lkrb5" >&5
7065ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 7068ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
7066if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7069if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7067 echo $ac_n "(cached) $ac_c" 1>&6 7070 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7069,7 +7072,7 @@ else
7069 ac_save_LIBS="$LIBS" 7072 ac_save_LIBS="$LIBS"
7070LIBS="-lkrb5 $LIBS" 7073LIBS="-lkrb5 $LIBS"
7071cat > conftest.$ac_ext <<EOF 7074cat > conftest.$ac_ext <<EOF
7072#line 7073 "configure" 7075#line 7076 "configure"
7073#include "confdefs.h" 7076#include "confdefs.h"
7074/* Override any gcc2 internal prototype to avoid an error. */ 7077/* Override any gcc2 internal prototype to avoid an error. */
7075/* We use char because int might match the return type of a gcc2 7078/* We use char because int might match the return type of a gcc2
@@ -7080,7 +7083,7 @@ int main() {
7080krb5_init_context() 7083krb5_init_context()
7081; return 0; } 7084; return 0; }
7082EOF 7085EOF
7083if { (eval echo configure:7084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7086if { (eval echo configure:7087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7084 rm -rf conftest* 7087 rm -rf conftest*
7085 eval "ac_cv_lib_$ac_lib_var=yes" 7088 eval "ac_cv_lib_$ac_lib_var=yes"
7086else 7089else
@@ -7109,7 +7112,7 @@ fi
7109 7112
7110 if test "${with_kerberos5+set}" != set; then 7113 if test "${with_kerberos5+set}" != set; then
7111 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 7114 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
7112echo "configure:7113: checking for des_cbc_encrypt in -ldes425" >&5 7115echo "configure:7116: checking for des_cbc_encrypt in -ldes425" >&5
7113ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 7116ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7114if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7117if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7115 echo $ac_n "(cached) $ac_c" 1>&6 7118 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7117,7 +7120,7 @@ else
7117 ac_save_LIBS="$LIBS" 7120 ac_save_LIBS="$LIBS"
7118LIBS="-ldes425 $LIBS" 7121LIBS="-ldes425 $LIBS"
7119cat > conftest.$ac_ext <<EOF 7122cat > conftest.$ac_ext <<EOF
7120#line 7121 "configure" 7123#line 7124 "configure"
7121#include "confdefs.h" 7124#include "confdefs.h"
7122/* Override any gcc2 internal prototype to avoid an error. */ 7125/* Override any gcc2 internal prototype to avoid an error. */
7123/* We use char because int might match the return type of a gcc2 7126/* We use char because int might match the return type of a gcc2
@@ -7128,7 +7131,7 @@ int main() {
7128des_cbc_encrypt() 7131des_cbc_encrypt()
7129; return 0; } 7132; return 0; }
7130EOF 7133EOF
7131if { (eval echo configure:7132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7134if { (eval echo configure:7135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7132 rm -rf conftest* 7135 rm -rf conftest*
7133 eval "ac_cv_lib_$ac_lib_var=yes" 7136 eval "ac_cv_lib_$ac_lib_var=yes"
7134else 7137else
@@ -7154,7 +7157,7 @@ EOF
7154else 7157else
7155 echo "$ac_t""no" 1>&6 7158 echo "$ac_t""no" 1>&6
7156echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 7159echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
7157echo "configure:7158: checking for des_cbc_encrypt in -ldes" >&5 7160echo "configure:7161: checking for des_cbc_encrypt in -ldes" >&5
7158ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 7161ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
7159if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7162if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7160 echo $ac_n "(cached) $ac_c" 1>&6 7163 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7162,7 +7165,7 @@ else
7162 ac_save_LIBS="$LIBS" 7165 ac_save_LIBS="$LIBS"
7163LIBS="-ldes $LIBS" 7166LIBS="-ldes $LIBS"
7164cat > conftest.$ac_ext <<EOF 7167cat > conftest.$ac_ext <<EOF
7165#line 7166 "configure" 7168#line 7169 "configure"
7166#include "confdefs.h" 7169#include "confdefs.h"
7167/* Override any gcc2 internal prototype to avoid an error. */ 7170/* Override any gcc2 internal prototype to avoid an error. */
7168/* We use char because int might match the return type of a gcc2 7171/* We use char because int might match the return type of a gcc2
@@ -7173,7 +7176,7 @@ int main() {
7173des_cbc_encrypt() 7176des_cbc_encrypt()
7174; return 0; } 7177; return 0; }
7175EOF 7178EOF
7176if { (eval echo configure:7177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7179if { (eval echo configure:7180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7177 rm -rf conftest* 7180 rm -rf conftest*
7178 eval "ac_cv_lib_$ac_lib_var=yes" 7181 eval "ac_cv_lib_$ac_lib_var=yes"
7179else 7182else
@@ -7203,7 +7206,7 @@ fi
7203fi 7206fi
7204 7207
7205 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 7208 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
7206echo "configure:7207: checking for krb_get_cred in -lkrb4" >&5 7209echo "configure:7210: checking for krb_get_cred in -lkrb4" >&5
7207ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 7210ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
7208if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7211if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7209 echo $ac_n "(cached) $ac_c" 1>&6 7212 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7211,7 +7214,7 @@ else
7211 ac_save_LIBS="$LIBS" 7214 ac_save_LIBS="$LIBS"
7212LIBS="-lkrb4 $LIBS" 7215LIBS="-lkrb4 $LIBS"
7213cat > conftest.$ac_ext <<EOF 7216cat > conftest.$ac_ext <<EOF
7214#line 7215 "configure" 7217#line 7218 "configure"
7215#include "confdefs.h" 7218#include "confdefs.h"
7216/* Override any gcc2 internal prototype to avoid an error. */ 7219/* Override any gcc2 internal prototype to avoid an error. */
7217/* We use char because int might match the return type of a gcc2 7220/* We use char because int might match the return type of a gcc2
@@ -7222,7 +7225,7 @@ int main() {
7222krb_get_cred() 7225krb_get_cred()
7223; return 0; } 7226; return 0; }
7224EOF 7227EOF
7225if { (eval echo configure:7226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7228if { (eval echo configure:7229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7226 rm -rf conftest* 7229 rm -rf conftest*
7227 eval "ac_cv_lib_$ac_lib_var=yes" 7230 eval "ac_cv_lib_$ac_lib_var=yes"
7228else 7231else
@@ -7248,7 +7251,7 @@ EOF
7248else 7251else
7249 echo "$ac_t""no" 1>&6 7252 echo "$ac_t""no" 1>&6
7250echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 7253echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
7251echo "configure:7252: checking for krb_get_cred in -lkrb" >&5 7254echo "configure:7255: checking for krb_get_cred in -lkrb" >&5
7252ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 7255ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
7253if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7256if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7254 echo $ac_n "(cached) $ac_c" 1>&6 7257 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7256,7 +7259,7 @@ else
7256 ac_save_LIBS="$LIBS" 7259 ac_save_LIBS="$LIBS"
7257LIBS="-lkrb $LIBS" 7260LIBS="-lkrb $LIBS"
7258cat > conftest.$ac_ext <<EOF 7261cat > conftest.$ac_ext <<EOF
7259#line 7260 "configure" 7262#line 7263 "configure"
7260#include "confdefs.h" 7263#include "confdefs.h"
7261/* Override any gcc2 internal prototype to avoid an error. */ 7264/* Override any gcc2 internal prototype to avoid an error. */
7262/* We use char because int might match the return type of a gcc2 7265/* We use char because int might match the return type of a gcc2
@@ -7267,7 +7270,7 @@ int main() {
7267krb_get_cred() 7270krb_get_cred()
7268; return 0; } 7271; return 0; }
7269EOF 7272EOF
7270if { (eval echo configure:7271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7273if { (eval echo configure:7274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7271 rm -rf conftest* 7274 rm -rf conftest*
7272 eval "ac_cv_lib_$ac_lib_var=yes" 7275 eval "ac_cv_lib_$ac_lib_var=yes"
7273else 7276else
@@ -7303,17 +7306,17 @@ fi
7303do 7306do
7304ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7307ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7305echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7308echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7306echo "configure:7307: checking for $ac_hdr" >&5 7309echo "configure:7310: checking for $ac_hdr" >&5
7307if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7310if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7308 echo $ac_n "(cached) $ac_c" 1>&6 7311 echo $ac_n "(cached) $ac_c" 1>&6
7309else 7312else
7310 cat > conftest.$ac_ext <<EOF 7313 cat > conftest.$ac_ext <<EOF
7311#line 7312 "configure" 7314#line 7315 "configure"
7312#include "confdefs.h" 7315#include "confdefs.h"
7313#include <$ac_hdr> 7316#include <$ac_hdr>
7314EOF 7317EOF
7315ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7318ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7316{ (eval echo configure:7317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7319{ (eval echo configure:7320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7317ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7320ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7318if test -z "$ac_err"; then 7321if test -z "$ac_err"; then
7319 rm -rf conftest* 7322 rm -rf conftest*
@@ -7344,17 +7347,17 @@ done
7344do 7347do
7345ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7348ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7346echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7349echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7347echo "configure:7348: checking for $ac_hdr" >&5 7350echo "configure:7351: checking for $ac_hdr" >&5
7348if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7351if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7349 echo $ac_n "(cached) $ac_c" 1>&6 7352 echo $ac_n "(cached) $ac_c" 1>&6
7350else 7353else
7351 cat > conftest.$ac_ext <<EOF 7354 cat > conftest.$ac_ext <<EOF
7352#line 7353 "configure" 7355#line 7356 "configure"
7353#include "confdefs.h" 7356#include "confdefs.h"
7354#include <$ac_hdr> 7357#include <$ac_hdr>
7355EOF 7358EOF
7356ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7359ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7357{ (eval echo configure:7358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7360{ (eval echo configure:7361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7358ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7361ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7359if test -z "$ac_err"; then 7362if test -z "$ac_err"; then
7360 rm -rf conftest* 7363 rm -rf conftest*
@@ -7381,17 +7384,17 @@ for ac_hdr in kerberosIV/des.h
7381do 7384do
7382ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7385ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7383echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7386echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7384echo "configure:7385: checking for $ac_hdr" >&5 7387echo "configure:7388: checking for $ac_hdr" >&5
7385if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7388if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7386 echo $ac_n "(cached) $ac_c" 1>&6 7389 echo $ac_n "(cached) $ac_c" 1>&6
7387else 7390else
7388 cat > conftest.$ac_ext <<EOF 7391 cat > conftest.$ac_ext <<EOF
7389#line 7390 "configure" 7392#line 7393 "configure"
7390#include "confdefs.h" 7393#include "confdefs.h"
7391#include <$ac_hdr> 7394#include <$ac_hdr>
7392EOF 7395EOF
7393ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7396ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7394{ (eval echo configure:7395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7397{ (eval echo configure:7398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7395ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7398ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7396if test -z "$ac_err"; then 7399if test -z "$ac_err"; then
7397 rm -rf conftest* 7400 rm -rf conftest*
@@ -7418,17 +7421,17 @@ for ac_hdr in kerberos/des.h
7418do 7421do
7419ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7422ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7420echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7423echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7421echo "configure:7422: checking for $ac_hdr" >&5 7424echo "configure:7425: checking for $ac_hdr" >&5
7422if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7425if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7423 echo $ac_n "(cached) $ac_c" 1>&6 7426 echo $ac_n "(cached) $ac_c" 1>&6
7424else 7427else
7425 cat > conftest.$ac_ext <<EOF 7428 cat > conftest.$ac_ext <<EOF
7426#line 7427 "configure" 7429#line 7430 "configure"
7427#include "confdefs.h" 7430#include "confdefs.h"
7428#include <$ac_hdr> 7431#include <$ac_hdr>
7429EOF 7432EOF
7430ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7433ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7431{ (eval echo configure:7432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7434{ (eval echo configure:7435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7432ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7435ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7433if test -z "$ac_err"; then 7436if test -z "$ac_err"; then
7434 rm -rf conftest* 7437 rm -rf conftest*
@@ -7464,17 +7467,17 @@ done
7464do 7467do
7465ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7468ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7466echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7469echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7467echo "configure:7468: checking for $ac_hdr" >&5 7470echo "configure:7471: checking for $ac_hdr" >&5
7468if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7471if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7469 echo $ac_n "(cached) $ac_c" 1>&6 7472 echo $ac_n "(cached) $ac_c" 1>&6
7470else 7473else
7471 cat > conftest.$ac_ext <<EOF 7474 cat > conftest.$ac_ext <<EOF
7472#line 7473 "configure" 7475#line 7476 "configure"
7473#include "confdefs.h" 7476#include "confdefs.h"
7474#include <$ac_hdr> 7477#include <$ac_hdr>
7475EOF 7478EOF
7476ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7479ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7477{ (eval echo configure:7478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7480{ (eval echo configure:7481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7478ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7481ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7479if test -z "$ac_err"; then 7482if test -z "$ac_err"; then
7480 rm -rf conftest* 7483 rm -rf conftest*
@@ -7501,17 +7504,17 @@ for ac_hdr in kerberosIV/krb.h
7501do 7504do
7502ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7505ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7503echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7506echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7504echo "configure:7505: checking for $ac_hdr" >&5 7507echo "configure:7508: checking for $ac_hdr" >&5
7505if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7508if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7506 echo $ac_n "(cached) $ac_c" 1>&6 7509 echo $ac_n "(cached) $ac_c" 1>&6
7507else 7510else
7508 cat > conftest.$ac_ext <<EOF 7511 cat > conftest.$ac_ext <<EOF
7509#line 7510 "configure" 7512#line 7513 "configure"
7510#include "confdefs.h" 7513#include "confdefs.h"
7511#include <$ac_hdr> 7514#include <$ac_hdr>
7512EOF 7515EOF
7513ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7516ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7514{ (eval echo configure:7515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7517{ (eval echo configure:7518: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7515ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7518ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7516if test -z "$ac_err"; then 7519if test -z "$ac_err"; then
7517 rm -rf conftest* 7520 rm -rf conftest*
@@ -7538,17 +7541,17 @@ for ac_hdr in kerberos/krb.h
7538do 7541do
7539ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7542ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7540echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7543echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7541echo "configure:7542: checking for $ac_hdr" >&5 7544echo "configure:7545: checking for $ac_hdr" >&5
7542if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7545if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7543 echo $ac_n "(cached) $ac_c" 1>&6 7546 echo $ac_n "(cached) $ac_c" 1>&6
7544else 7547else
7545 cat > conftest.$ac_ext <<EOF 7548 cat > conftest.$ac_ext <<EOF
7546#line 7547 "configure" 7549#line 7550 "configure"
7547#include "confdefs.h" 7550#include "confdefs.h"
7548#include <$ac_hdr> 7551#include <$ac_hdr>
7549EOF 7552EOF
7550ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7553ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7551{ (eval echo configure:7552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7554{ (eval echo configure:7555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7552ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7555ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7553if test -z "$ac_err"; then 7556if test -z "$ac_err"; then
7554 rm -rf conftest* 7557 rm -rf conftest*
@@ -7585,17 +7588,17 @@ done
7585do 7588do
7586ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7589ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7587echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7590echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7588echo "configure:7589: checking for $ac_hdr" >&5 7591echo "configure:7592: checking for $ac_hdr" >&5
7589if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7592if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7590 echo $ac_n "(cached) $ac_c" 1>&6 7593 echo $ac_n "(cached) $ac_c" 1>&6
7591else 7594else
7592 cat > conftest.$ac_ext <<EOF 7595 cat > conftest.$ac_ext <<EOF
7593#line 7594 "configure" 7596#line 7597 "configure"
7594#include "confdefs.h" 7597#include "confdefs.h"
7595#include <$ac_hdr> 7598#include <$ac_hdr>
7596EOF 7599EOF
7597ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7600ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7598{ (eval echo configure:7599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7601{ (eval echo configure:7602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7599ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7602ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7600if test -z "$ac_err"; then 7603if test -z "$ac_err"; then
7601 rm -rf conftest* 7604 rm -rf conftest*
@@ -7626,7 +7629,7 @@ fi
7626# Solaris requires -lintl if you want strerror (which calls dgettext) 7629# Solaris requires -lintl if you want strerror (which calls dgettext)
7627# to return localized messages. 7630# to return localized messages.
7628echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 7631echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
7629echo "configure:7630: checking for dgettext in -lintl" >&5 7632echo "configure:7633: checking for dgettext in -lintl" >&5
7630ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 7633ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
7631if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 7634if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7632 echo $ac_n "(cached) $ac_c" 1>&6 7635 echo $ac_n "(cached) $ac_c" 1>&6
@@ -7634,7 +7637,7 @@ else
7634 ac_save_LIBS="$LIBS" 7637 ac_save_LIBS="$LIBS"
7635LIBS="-lintl $LIBS" 7638LIBS="-lintl $LIBS"
7636cat > conftest.$ac_ext <<EOF 7639cat > conftest.$ac_ext <<EOF
7637#line 7638 "configure" 7640#line 7641 "configure"
7638#include "confdefs.h" 7641#include "confdefs.h"
7639/* Override any gcc2 internal prototype to avoid an error. */ 7642/* Override any gcc2 internal prototype to avoid an error. */
7640/* We use char because int might match the return type of a gcc2 7643/* We use char because int might match the return type of a gcc2
@@ -7645,7 +7648,7 @@ int main() {
7645dgettext() 7648dgettext()
7646; return 0; } 7649; return 0; }
7647EOF 7650EOF
7648if { (eval echo configure:7649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7651if { (eval echo configure:7652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7649 rm -rf conftest* 7652 rm -rf conftest*
7650 eval "ac_cv_lib_$ac_lib_var=yes" 7653 eval "ac_cv_lib_$ac_lib_var=yes"
7651else 7654else
@@ -7674,7 +7677,7 @@ fi
7674 7677
7675 7678
7676echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 7679echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
7677echo "configure:7678: checking whether localtime caches TZ" >&5 7680echo "configure:7681: checking whether localtime caches TZ" >&5
7678if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 7681if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
7679 echo $ac_n "(cached) $ac_c" 1>&6 7682 echo $ac_n "(cached) $ac_c" 1>&6
7680else 7683else
@@ -7684,7 +7687,7 @@ if test "$cross_compiling" = yes; then
7684emacs_cv_localtime_cache=yes 7687emacs_cv_localtime_cache=yes
7685else 7688else
7686 cat > conftest.$ac_ext <<EOF 7689 cat > conftest.$ac_ext <<EOF
7687#line 7688 "configure" 7690#line 7691 "configure"
7688#include "confdefs.h" 7691#include "confdefs.h"
7689#include <time.h> 7692#include <time.h>
7690extern char **environ; 7693extern char **environ;
@@ -7716,7 +7719,7 @@ main()
7716 exit (0); 7719 exit (0);
7717} 7720}
7718EOF 7721EOF
7719if { (eval echo configure:7720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 7722if { (eval echo configure:7723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7720then 7723then
7721 emacs_cv_localtime_cache=no 7724 emacs_cv_localtime_cache=no
7722else 7725else
@@ -7746,12 +7749,12 @@ if test "x$HAVE_TIMEVAL" = xyes; then
7746 for ac_func in gettimeofday 7749 for ac_func in gettimeofday
7747do 7750do
7748echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7751echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7749echo "configure:7750: checking for $ac_func" >&5 7752echo "configure:7753: checking for $ac_func" >&5
7750if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 7753if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7751 echo $ac_n "(cached) $ac_c" 1>&6 7754 echo $ac_n "(cached) $ac_c" 1>&6
7752else 7755else
7753 cat > conftest.$ac_ext <<EOF 7756 cat > conftest.$ac_ext <<EOF
7754#line 7755 "configure" 7757#line 7758 "configure"
7755#include "confdefs.h" 7758#include "confdefs.h"
7756/* System header to define __stub macros and hopefully few prototypes, 7759/* System header to define __stub macros and hopefully few prototypes,
7757 which can conflict with char $ac_func(); below. */ 7760 which can conflict with char $ac_func(); below. */
@@ -7774,7 +7777,7 @@ $ac_func();
7774 7777
7775; return 0; } 7778; return 0; }
7776EOF 7779EOF
7777if { (eval echo configure:7778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7780if { (eval echo configure:7781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7778 rm -rf conftest* 7781 rm -rf conftest*
7779 eval "ac_cv_func_$ac_func=yes" 7782 eval "ac_cv_func_$ac_func=yes"
7780else 7783else
@@ -7799,12 +7802,12 @@ fi
7799done 7802done
7800 7803
7801 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 7804 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
7802echo "configure:7803: checking whether gettimeofday can accept two arguments" >&5 7805echo "configure:7806: checking whether gettimeofday can accept two arguments" >&5
7803if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 7806if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
7804 echo $ac_n "(cached) $ac_c" 1>&6 7807 echo $ac_n "(cached) $ac_c" 1>&6
7805else 7808else
7806 cat > conftest.$ac_ext <<EOF 7809 cat > conftest.$ac_ext <<EOF
7807#line 7808 "configure" 7810#line 7811 "configure"
7808#include "confdefs.h" 7811#include "confdefs.h"
7809 7812
7810#ifdef TIME_WITH_SYS_TIME 7813#ifdef TIME_WITH_SYS_TIME
@@ -7822,7 +7825,7 @@ struct timeval time;
7822 gettimeofday (&time, 0); 7825 gettimeofday (&time, 0);
7823; return 0; } 7826; return 0; }
7824EOF 7827EOF
7825if { (eval echo configure:7826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7828if { (eval echo configure:7829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7826 rm -rf conftest* 7829 rm -rf conftest*
7827 emacs_cv_gettimeofday_two_arguments=yes 7830 emacs_cv_gettimeofday_two_arguments=yes
7828else 7831else
@@ -7845,25 +7848,25 @@ fi
7845 7848
7846if test "$ac_cv_func_gettimeofday" = yes; then 7849if test "$ac_cv_func_gettimeofday" = yes; then
7847 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 7850 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6
7848echo "configure:7849: checking for struct timezone" >&5 7851echo "configure:7852: checking for struct timezone" >&5
7849if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then 7852if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then
7850 echo $ac_n "(cached) $ac_c" 1>&6 7853 echo $ac_n "(cached) $ac_c" 1>&6
7851else 7854else
7852 cat > conftest.$ac_ext <<EOF 7855 cat > conftest.$ac_ext <<EOF
7853#line 7854 "configure" 7856#line 7857 "configure"
7854#include "confdefs.h" 7857#include "confdefs.h"
7855#include <sys/time.h> 7858#include <sys/time.h>
7856int main() { 7859int main() {
7857struct timezone tz; 7860struct timezone tz;
7858; return 0; } 7861; return 0; }
7859EOF 7862EOF
7860if { (eval echo configure:7861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7863if { (eval echo configure:7864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7861 rm -rf conftest* 7864 rm -rf conftest*
7862 if test "$cross_compiling" = yes; then 7865 if test "$cross_compiling" = yes; then
7863 emacs_cv_struct_timezone=yes 7866 emacs_cv_struct_timezone=yes
7864else 7867else
7865 cat > conftest.$ac_ext <<EOF 7868 cat > conftest.$ac_ext <<EOF
7866#line 7867 "configure" 7869#line 7870 "configure"
7867#include "confdefs.h" 7870#include "confdefs.h"
7868 7871
7869#ifdef TIME_WITH_SYS_TIME 7872#ifdef TIME_WITH_SYS_TIME
@@ -7882,7 +7885,7 @@ main () {
7882 exit (gettimeofday (&time, &dummy)); 7885 exit (gettimeofday (&time, &dummy));
7883} 7886}
7884EOF 7887EOF
7885if { (eval echo configure:7886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 7888if { (eval echo configure:7889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7886then 7889then
7887 emacs_cv_struct_timezone=yes 7890 emacs_cv_struct_timezone=yes
7888else 7891else
@@ -7908,12 +7911,12 @@ fi
7908 7911
7909ok_so_far=yes 7912ok_so_far=yes
7910echo $ac_n "checking for socket""... $ac_c" 1>&6 7913echo $ac_n "checking for socket""... $ac_c" 1>&6
7911echo "configure:7912: checking for socket" >&5 7914echo "configure:7915: checking for socket" >&5
7912if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 7915if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
7913 echo $ac_n "(cached) $ac_c" 1>&6 7916 echo $ac_n "(cached) $ac_c" 1>&6
7914else 7917else
7915 cat > conftest.$ac_ext <<EOF 7918 cat > conftest.$ac_ext <<EOF
7916#line 7917 "configure" 7919#line 7920 "configure"
7917#include "confdefs.h" 7920#include "confdefs.h"
7918/* System header to define __stub macros and hopefully few prototypes, 7921/* System header to define __stub macros and hopefully few prototypes,
7919 which can conflict with char socket(); below. */ 7922 which can conflict with char socket(); below. */
@@ -7936,7 +7939,7 @@ socket();
7936 7939
7937; return 0; } 7940; return 0; }
7938EOF 7941EOF
7939if { (eval echo configure:7940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7942if { (eval echo configure:7943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7940 rm -rf conftest* 7943 rm -rf conftest*
7941 eval "ac_cv_func_socket=yes" 7944 eval "ac_cv_func_socket=yes"
7942else 7945else
@@ -7959,17 +7962,17 @@ fi
7959if test $ok_so_far = yes; then 7962if test $ok_so_far = yes; then
7960 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 7963 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
7961echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 7964echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
7962echo "configure:7963: checking for netinet/in.h" >&5 7965echo "configure:7966: checking for netinet/in.h" >&5
7963if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 7966if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7964 echo $ac_n "(cached) $ac_c" 1>&6 7967 echo $ac_n "(cached) $ac_c" 1>&6
7965else 7968else
7966 cat > conftest.$ac_ext <<EOF 7969 cat > conftest.$ac_ext <<EOF
7967#line 7968 "configure" 7970#line 7971 "configure"
7968#include "confdefs.h" 7971#include "confdefs.h"
7969#include <netinet/in.h> 7972#include <netinet/in.h>
7970EOF 7973EOF
7971ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7974ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7972{ (eval echo configure:7973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7975{ (eval echo configure:7976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7973ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7976ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7974if test -z "$ac_err"; then 7977if test -z "$ac_err"; then
7975 rm -rf conftest* 7978 rm -rf conftest*
@@ -7995,17 +7998,17 @@ fi
7995if test $ok_so_far = yes; then 7998if test $ok_so_far = yes; then
7996 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 7999 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
7997echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 8000echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
7998echo "configure:7999: checking for arpa/inet.h" >&5 8001echo "configure:8002: checking for arpa/inet.h" >&5
7999if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8002if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8000 echo $ac_n "(cached) $ac_c" 1>&6 8003 echo $ac_n "(cached) $ac_c" 1>&6
8001else 8004else
8002 cat > conftest.$ac_ext <<EOF 8005 cat > conftest.$ac_ext <<EOF
8003#line 8004 "configure" 8006#line 8007 "configure"
8004#include "confdefs.h" 8007#include "confdefs.h"
8005#include <arpa/inet.h> 8008#include <arpa/inet.h>
8006EOF 8009EOF
8007ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8010ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8008{ (eval echo configure:8009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8011{ (eval echo configure:8012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8009ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8012ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8010if test -z "$ac_err"; then 8013if test -z "$ac_err"; then
8011 rm -rf conftest* 8014 rm -rf conftest*
@@ -8043,7 +8046,7 @@ EOF
8043fi 8046fi
8044 8047
8045echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 8048echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
8046echo "configure:8047: checking whether system supports dynamic ptys" >&5 8049echo "configure:8050: checking whether system supports dynamic ptys" >&5
8047if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 8050if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
8048 echo "$ac_t""yes" 1>&6 8051 echo "$ac_t""yes" 1>&6
8049 cat >> confdefs.h <<\EOF 8052 cat >> confdefs.h <<\EOF
@@ -8055,12 +8058,12 @@ else
8055fi 8058fi
8056 8059
8057echo $ac_n "checking for pid_t""... $ac_c" 1>&6 8060echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8058echo "configure:8059: checking for pid_t" >&5 8061echo "configure:8062: checking for pid_t" >&5
8059if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 8062if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8060 echo $ac_n "(cached) $ac_c" 1>&6 8063 echo $ac_n "(cached) $ac_c" 1>&6
8061else 8064else
8062 cat > conftest.$ac_ext <<EOF 8065 cat > conftest.$ac_ext <<EOF
8063#line 8064 "configure" 8066#line 8067 "configure"
8064#include "confdefs.h" 8067#include "confdefs.h"
8065#include <sys/types.h> 8068#include <sys/types.h>
8066#if STDC_HEADERS 8069#if STDC_HEADERS
@@ -8089,17 +8092,17 @@ fi
8089 8092
8090ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 8093ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
8091echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 8094echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
8092echo "configure:8093: checking for vfork.h" >&5 8095echo "configure:8096: checking for vfork.h" >&5
8093if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 8096if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8094 echo $ac_n "(cached) $ac_c" 1>&6 8097 echo $ac_n "(cached) $ac_c" 1>&6
8095else 8098else
8096 cat > conftest.$ac_ext <<EOF 8099 cat > conftest.$ac_ext <<EOF
8097#line 8098 "configure" 8100#line 8101 "configure"
8098#include "confdefs.h" 8101#include "confdefs.h"
8099#include <vfork.h> 8102#include <vfork.h>
8100EOF 8103EOF
8101ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8104ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8102{ (eval echo configure:8103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8105{ (eval echo configure:8106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8103ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8106ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8104if test -z "$ac_err"; then 8107if test -z "$ac_err"; then
8105 rm -rf conftest* 8108 rm -rf conftest*
@@ -8124,18 +8127,18 @@ else
8124fi 8127fi
8125 8128
8126echo $ac_n "checking for working vfork""... $ac_c" 1>&6 8129echo $ac_n "checking for working vfork""... $ac_c" 1>&6
8127echo "configure:8128: checking for working vfork" >&5 8130echo "configure:8131: checking for working vfork" >&5
8128if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 8131if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
8129 echo $ac_n "(cached) $ac_c" 1>&6 8132 echo $ac_n "(cached) $ac_c" 1>&6
8130else 8133else
8131 if test "$cross_compiling" = yes; then 8134 if test "$cross_compiling" = yes; then
8132 echo $ac_n "checking for vfork""... $ac_c" 1>&6 8135 echo $ac_n "checking for vfork""... $ac_c" 1>&6
8133echo "configure:8134: checking for vfork" >&5 8136echo "configure:8137: checking for vfork" >&5
8134if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 8137if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
8135 echo $ac_n "(cached) $ac_c" 1>&6 8138 echo $ac_n "(cached) $ac_c" 1>&6
8136else 8139else
8137 cat > conftest.$ac_ext <<EOF 8140 cat > conftest.$ac_ext <<EOF
8138#line 8139 "configure" 8141#line 8142 "configure"
8139#include "confdefs.h" 8142#include "confdefs.h"
8140/* System header to define __stub macros and hopefully few prototypes, 8143/* System header to define __stub macros and hopefully few prototypes,
8141 which can conflict with char vfork(); below. */ 8144 which can conflict with char vfork(); below. */
@@ -8158,7 +8161,7 @@ vfork();
8158 8161
8159; return 0; } 8162; return 0; }
8160EOF 8163EOF
8161if { (eval echo configure:8162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8164if { (eval echo configure:8165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8162 rm -rf conftest* 8165 rm -rf conftest*
8163 eval "ac_cv_func_vfork=yes" 8166 eval "ac_cv_func_vfork=yes"
8164else 8167else
@@ -8180,7 +8183,7 @@ fi
8180ac_cv_func_vfork_works=$ac_cv_func_vfork 8183ac_cv_func_vfork_works=$ac_cv_func_vfork
8181else 8184else
8182 cat > conftest.$ac_ext <<EOF 8185 cat > conftest.$ac_ext <<EOF
8183#line 8184 "configure" 8186#line 8187 "configure"
8184#include "confdefs.h" 8187#include "confdefs.h"
8185/* Thanks to Paul Eggert for this test. */ 8188/* Thanks to Paul Eggert for this test. */
8186#include <stdio.h> 8189#include <stdio.h>
@@ -8275,7 +8278,7 @@ main() {
8275 } 8278 }
8276} 8279}
8277EOF 8280EOF
8278if { (eval echo configure:8279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8281if { (eval echo configure:8282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8279then 8282then
8280 ac_cv_func_vfork_works=yes 8283 ac_cv_func_vfork_works=yes
8281else 8284else
@@ -8300,6 +8303,7 @@ fi
8300 8303
8301# Set up the CFLAGS for real compilation, so we can substitute it. 8304# Set up the CFLAGS for real compilation, so we can substitute it.
8302CFLAGS="$REAL_CFLAGS" 8305CFLAGS="$REAL_CFLAGS"
8306CPPFLAGS="$REAL_CPPFLAGS"
8303 8307
8304#### Find out which version of Emacs this is. 8308#### Find out which version of Emacs this is.
8305version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 8309version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
diff --git a/configure.in b/configure.in
index 1152b795d8d..b4e63069a3c 100644
--- a/configure.in
+++ b/configure.in
@@ -1549,11 +1549,14 @@ AC_MSG_RESULT($HAVE_XFREE386)
1549# Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used 1549# Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
1550# for the tests that follow. We set it back to REAL_CFLAGS later on. 1550# for the tests that follow. We set it back to REAL_CFLAGS later on.
1551 1551
1552REAL_CPPFLAGS="$CPPFLAGS"
1553
1552if test "${HAVE_X11}" = "yes"; then 1554if test "${HAVE_X11}" = "yes"; then
1553 DEFS="$C_SWITCH_X_SITE $DEFS" 1555 DEFS="$C_SWITCH_X_SITE $DEFS"
1554 LDFLAGS="$LDFLAGS $LD_SWITCH_X_SITE" 1556 LDFLAGS="$LDFLAGS $LD_SWITCH_X_SITE"
1555 LIBS="$LIBX $LIBS" 1557 LIBS="$LIBX $LIBS"
1556 CFLAGS="$C_SWITCH_X_SITE $CFLAGS" 1558 CFLAGS="$C_SWITCH_X_SITE $CFLAGS"
1559 CPPFLAGS="$C_SWITCH_X_SITE $CPPFLAGS"
1557 1560
1558 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests. 1561 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
1559 # This is handled by LD_SWITCH_X_SITE_AUX during the real build, 1562 # This is handled by LD_SWITCH_X_SITE_AUX during the real build,
@@ -2061,6 +2064,7 @@ AC_FUNC_VFORK
2061 2064
2062# Set up the CFLAGS for real compilation, so we can substitute it. 2065# Set up the CFLAGS for real compilation, so we can substitute it.
2063CFLAGS="$REAL_CFLAGS" 2066CFLAGS="$REAL_CFLAGS"
2067CPPFLAGS="$REAL_CPPFLAGS"
2064 2068
2065changequote(, )dnl 2069changequote(, )dnl
2066#### Find out which version of Emacs this is. 2070#### Find out which version of Emacs this is.