aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rwxr-xr-xconfigure17
-rw-r--r--src/ChangeLog3
3 files changed, 13 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 0eadd679c0..0c5e89e415 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 <[email protected]>
* configure.in: Fix last change.
diff --git a/configure b/configure
index 1dd7e2e658..ba572ded50 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 <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char png_set_expand();
+char png_get_channels();
int main() {
-png_set_expand()
+png_get_channels()
; return 0; }
EOF
if { (eval echo configure:5394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -5652,7 +5652,7 @@ else
#include "confdefs.h"
#include <alloca.h>
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 <<EOF
-CPP="$CPP" CPPFLAGS="$CPPFLAGS"
+GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPPFLAGS="$CPPFLAGS"
EOF
cat >> $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 50495831a2..51471ebe7d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,7 +1,6 @@
2000-11-21 Gerd Moellmann <[email protected]>
- * 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.