Commit 4bb8907c authored by Owen Taylor's avatar Owen Taylor

Now that glib.h has been removed, it can't be used as the

unique file for AC_INIT()
                                        -owt
parent c3fe09e0
......@@ -463,7 +463,7 @@ echo > confdefs.h
# A filename unique to this package, relative to the directory that
# configure is in, which we can look for to find out if srcdir is correct.
ac_unique_file=glib.h
ac_unique_file=glist.c
# Find the source files, if location was not specified.
if test -z "$srcdir"; then
......@@ -1509,17 +1509,17 @@ test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
if test "x$GCC" = "xyes"; then
if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then
if eval "test x$GCC = xyes"; then
if eval test -z \"`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`\" ; then
CFLAGS="$CFLAGS -Wall"
fi
if test "x$enable_ansi" = "xyes"; then
if test -z "`echo "$CFLAGS" | grep "\-ansi" 2> /dev/null`" ; then
if eval "test x$enable_ansi = xyes"; then
if eval test -z \"`echo "$CFLAGS" | grep "\-ansi" 2> /dev/null`\" ; then
CFLAGS="$CFLAGS -ansi"
fi
if test -z "`echo "$CFLAGS" | grep "\-pedantic" 2> /dev/null`" ; then
if eval test -z \"`echo "$CFLAGS" | grep "\-pedantic" 2> /dev/null`\" ; then
CFLAGS="$CFLAGS -pedantic"
fi
fi
......
# Process this file with autoconf to produce a configure script.
AC_INIT(glib.h)
AC_INIT(glist.c)
dnl Initialize automake stuff
AM_INIT_AUTOMAKE(glib, 971201)
......@@ -32,17 +32,17 @@ AC_PROG_CC
AM_PROG_CC_STDC
AC_PROG_INSTALL
if test "x$GCC" = "xyes"; then
if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then
if eval "test x$GCC = xyes"; then
if eval test -z \"`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`\" ; then
CFLAGS="$CFLAGS -Wall"
fi
if test "x$enable_ansi" = "xyes"; then
if test -z "`echo "$CFLAGS" | grep "\-ansi" 2> /dev/null`" ; then
if eval "test x$enable_ansi = xyes"; then
if eval test -z \"`echo "$CFLAGS" | grep "\-ansi" 2> /dev/null`\" ; then
CFLAGS="$CFLAGS -ansi"
fi
if test -z "`echo "$CFLAGS" | grep "\-pedantic" 2> /dev/null`" ; then
if eval test -z \"`echo "$CFLAGS" | grep "\-pedantic" 2> /dev/null`\" ; then
CFLAGS="$CFLAGS -pedantic"
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment