From f5f47add96096b94c5e4cc27c3f22599a450729a Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 21 Nov 2000 12:50:59 +0000 Subject: [PATCH] *** empty log message *** --- ChangeLog | 3 +++ configure | 17 +++++++++-------- src/ChangeLog | 3 +-- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0eadd679c09..0c5e89e4155 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ * configure.in (HAVE_PNG): Check for the presence of png_get_channels to rule out older PNG libs. + * configure.in (AC_OUTPUT): Arrange to emit definitions of + GCC and NON_GNU_CPP into config.status. + 2000-11-20 Dave Love * configure.in: Fix last change. diff --git a/configure b/configure index 1dd7e2e6580..ba572ded50c 100755 --- a/configure +++ b/configure @@ -3504,7 +3504,7 @@ else int main() { /* Ultrix mips cc rejects this. */ -typedef int charset[2]; const charset x = {0,0}; +typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; @@ -5370,9 +5370,9 @@ rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 - echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 -echo "configure:5375: checking for png_set_expand in -lpng" >&5 -ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` + echo $ac_n "checking for png_get_channels in -lpng""... $ac_c" 1>&6 +echo "configure:5375: checking for png_get_channels in -lpng" >&5 +ac_lib_var=`echo png'_'png_get_channels | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5384,10 +5384,10 @@ cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then @@ -5652,7 +5652,7 @@ else #include "confdefs.h" #include int main() { -void *p = alloca(2 * sizeof(int)); +char *p = alloca(2 * sizeof(int)); ; return 0; } EOF if { (eval echo configure:5659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then @@ -9277,7 +9277,7 @@ fi; done EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF @@ -9359,3 +9359,4 @@ chmod +x $CONFIG_STATUS rm -fr confdefs* $ac_clean_files test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 + diff --git a/src/ChangeLog b/src/ChangeLog index 50495831a26..51471ebe7d3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,7 +1,6 @@ 2000-11-21 Gerd Moellmann - * buffer.c (mmap_free_1): Use a cast to avoid an anoying compiler - warning on some systems. + * buffer.c (mmap_free_1): Avoid a compiler warning. * term.c, cm.c: Don't try to include termcap.h; see comment there.