autogen.sh
author Sam Lantinga <slouken@libsdl.org>
Tue, 17 Feb 2009 05:25:25 +0000
branchSDL-1.2
changeset 4163 bec67d0b6645
parent 1832 c687a8691de3
child 3342 3da232c5980a
permissions -rwxr-xr-x
Fixed bug #646

Description From Pavol Rusnak 2008-11-27 05:51:44 (-) [reply]

src/video/fbcon/SDL_fbvideo.c:283: warning: ordered comparison of pointer with
integer zero

The source code is

if (fgets(line,length,f)<=0)

Suggest replace with

if (fgets(line,length,f) == 0)
     1 #!/bin/sh
     2 #
     3 echo "Generating build information using autoconf"
     4 echo "This may take a while ..."
     5 
     6 # Regenerate configuration files
     7 cp acinclude.m4 aclocal.m4
     8 found=false
     9 for autoconf in autoconf autoconf259 autoconf-2.59
    10 do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
    11 done
    12 if test x$found = xfalse; then
    13     echo "Couldn't find autoconf, aborting"
    14     exit 1
    15 fi
    16 (cd test; sh autogen.sh)
    17 
    18 # Run configure for this platform
    19 echo "Now you are ready to run ./configure"