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

unique file for AC_INIT()
                                        -owt
This commit is contained in:
Owen Taylor 1997-12-13 01:06:12 +00:00
parent c3fe09e069
commit 4bb8907c2b
2 changed files with 12 additions and 12 deletions

12
glib/configure vendored
View File

@ -463,7 +463,7 @@ echo > confdefs.h
# A filename unique to this package, relative to the directory that # 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. # 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. # Find the source files, if location was not specified.
if test -z "$srcdir"; then 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' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
if test "x$GCC" = "xyes"; then if eval "test x$GCC = xyes"; then
if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then if eval test -z \"`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`\" ; then
CFLAGS="$CFLAGS -Wall" CFLAGS="$CFLAGS -Wall"
fi fi
if test "x$enable_ansi" = "xyes"; then if eval "test x$enable_ansi = xyes"; then
if test -z "`echo "$CFLAGS" | grep "\-ansi" 2> /dev/null`" ; then if eval test -z \"`echo "$CFLAGS" | grep "\-ansi" 2> /dev/null`\" ; then
CFLAGS="$CFLAGS -ansi" CFLAGS="$CFLAGS -ansi"
fi 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" CFLAGS="$CFLAGS -pedantic"
fi fi
fi fi

View File

@ -1,5 +1,5 @@
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
AC_INIT(glib.h) AC_INIT(glist.c)
dnl Initialize automake stuff dnl Initialize automake stuff
AM_INIT_AUTOMAKE(glib, 971201) AM_INIT_AUTOMAKE(glib, 971201)
@ -32,17 +32,17 @@ AC_PROG_CC
AM_PROG_CC_STDC AM_PROG_CC_STDC
AC_PROG_INSTALL AC_PROG_INSTALL
if test "x$GCC" = "xyes"; then if eval "test x$GCC = xyes"; then
if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then if eval test -z \"`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`\" ; then
CFLAGS="$CFLAGS -Wall" CFLAGS="$CFLAGS -Wall"
fi fi
if test "x$enable_ansi" = "xyes"; then if eval "test x$enable_ansi = xyes"; then
if test -z "`echo "$CFLAGS" | grep "\-ansi" 2> /dev/null`" ; then if eval test -z \"`echo "$CFLAGS" | grep "\-ansi" 2> /dev/null`\" ; then
CFLAGS="$CFLAGS -ansi" CFLAGS="$CFLAGS -ansi"
fi 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" CFLAGS="$CFLAGS -pedantic"
fi fi
fi fi