comparison configure @ 33677:131dfbc3b5d1

*** empty log message ***
author Gerd Moellmann <gerd@gnu.org>
date Tue, 21 Nov 2000 12:50:59 +0000
parents ce8363e1347d
children fd29993d1f00
comparison
equal deleted inserted replaced
33676:cc2cd2cf0f67 33677:131dfbc3b5d1
3502 #include "confdefs.h" 3502 #include "confdefs.h"
3503 3503
3504 int main() { 3504 int main() {
3505 3505
3506 /* Ultrix mips cc rejects this. */ 3506 /* Ultrix mips cc rejects this. */
3507 typedef int charset[2]; const charset x = {0,0}; 3507 typedef int charset[2]; const charset x;
3508 /* SunOS 4.1.1 cc rejects this. */ 3508 /* SunOS 4.1.1 cc rejects this. */
3509 char const *const *ccp; 3509 char const *const *ccp;
3510 char **p; 3510 char **p;
3511 /* NEC SVR4.0.2 mips cc rejects this. */ 3511 /* NEC SVR4.0.2 mips cc rejects this. */
3512 struct point {int x, y;}; 3512 struct point {int x, y;};
5368 fi 5368 fi
5369 rm -f conftest* 5369 rm -f conftest*
5370 fi 5370 fi
5371 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5371 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5372 echo "$ac_t""yes" 1>&6 5372 echo "$ac_t""yes" 1>&6
5373 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 5373 echo $ac_n "checking for png_get_channels in -lpng""... $ac_c" 1>&6
5374 echo "configure:5375: checking for png_set_expand in -lpng" >&5 5374 echo "configure:5375: checking for png_get_channels in -lpng" >&5
5375 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` 5375 ac_lib_var=`echo png'_'png_get_channels | sed 'y%./+-%__p_%'`
5376 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5376 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5377 echo $ac_n "(cached) $ac_c" 1>&6 5377 echo $ac_n "(cached) $ac_c" 1>&6
5378 else 5378 else
5379 ac_save_LIBS="$LIBS" 5379 ac_save_LIBS="$LIBS"
5380 LIBS="-lpng -lX11 -lz -lm $LIBS" 5380 LIBS="-lpng -lX11 -lz -lm $LIBS"
5382 #line 5383 "configure" 5382 #line 5383 "configure"
5383 #include "confdefs.h" 5383 #include "confdefs.h"
5384 /* Override any gcc2 internal prototype to avoid an error. */ 5384 /* Override any gcc2 internal prototype to avoid an error. */
5385 /* We use char because int might match the return type of a gcc2 5385 /* We use char because int might match the return type of a gcc2
5386 builtin and then its argument prototype would still apply. */ 5386 builtin and then its argument prototype would still apply. */
5387 char png_set_expand(); 5387 char png_get_channels();
5388 5388
5389 int main() { 5389 int main() {
5390 png_set_expand() 5390 png_get_channels()
5391 ; return 0; } 5391 ; return 0; }
5392 EOF 5392 EOF
5393 if { (eval echo configure:5394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5393 if { (eval echo configure:5394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5394 rm -rf conftest* 5394 rm -rf conftest*
5395 eval "ac_cv_lib_$ac_lib_var=yes" 5395 eval "ac_cv_lib_$ac_lib_var=yes"
5650 cat > conftest.$ac_ext <<EOF 5650 cat > conftest.$ac_ext <<EOF
5651 #line 5652 "configure" 5651 #line 5652 "configure"
5652 #include "confdefs.h" 5652 #include "confdefs.h"
5653 #include <alloca.h> 5653 #include <alloca.h>
5654 int main() { 5654 int main() {
5655 void *p = alloca(2 * sizeof(int)); 5655 char *p = alloca(2 * sizeof(int));
5656 ; return 0; } 5656 ; return 0; }
5657 EOF 5657 EOF
5658 if { (eval echo configure:5659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5658 if { (eval echo configure:5659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5659 rm -rf conftest* 5659 rm -rf conftest*
5660 ac_cv_header_alloca_h=yes 5660 ac_cv_header_alloca_h=yes
9275 fi 9275 fi
9276 fi; done 9276 fi; done
9277 9277
9278 EOF 9278 EOF
9279 cat >> $CONFIG_STATUS <<EOF 9279 cat >> $CONFIG_STATUS <<EOF
9280 CPP="$CPP" CPPFLAGS="$CPPFLAGS" 9280 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPPFLAGS="$CPPFLAGS"
9281 EOF 9281 EOF
9282 cat >> $CONFIG_STATUS <<\EOF 9282 cat >> $CONFIG_STATUS <<\EOF
9283 9283
9284 9284
9285 ### Make the necessary directories, if they don't exist. 9285 ### Make the necessary directories, if they don't exist.
9357 EOF 9357 EOF
9358 chmod +x $CONFIG_STATUS 9358 chmod +x $CONFIG_STATUS
9359 rm -fr confdefs* $ac_clean_files 9359 rm -fr confdefs* $ac_clean_files
9360 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 9360 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
9361 9361
9362