forked from PsychoticNinja/irssi
removed (void) definition from libtool test, so it passes with non-ansi C compilers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2293 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d723a5b64b
commit
ca5df6fb8c
@ -382,7 +382,7 @@ DYNLIB_MODULES=no
|
|||||||
dnl ** compile object file
|
dnl ** compile object file
|
||||||
cat > conftest.c <<EOF
|
cat > conftest.c <<EOF
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
int modfunc(void){return (int)floor(1.2);}
|
int modfunc(){return (int)floor(1.2);}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
./libtool --mode=compile $CC $CFLAGS -c conftest.c 2> /dev/null > /dev/null
|
./libtool --mode=compile $CC $CFLAGS -c conftest.c 2> /dev/null > /dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user