diff options
author | Dan Winship <danw@gnome.org> | 2010-02-14 23:11:28 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2010-02-14 23:11:28 -0500 |
commit | 433fd0c645a6e9aadc908fb3e54675a61819e8d2 (patch) | |
tree | 2134a934cd3a29a6ae15b875e4ec47027262037e | |
parent | 0375fe59093058d4987af5d74a53a283c3651000 (diff) | |
download | libsoup-433fd0c645a6e9aadc908fb3e54675a61819e8d2.tar.gz |
run autoupdate, remove some old junk
-rw-r--r-- | Makefile.am | 1 | ||||
-rwxr-xr-x | autogen.sh | 3 | ||||
-rw-r--r-- | configure.ac (renamed from configure.in) | 42 |
3 files changed, 14 insertions, 32 deletions
diff --git a/Makefile.am b/Makefile.am index 686e2e62..b845e298 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,4 @@ ## Process this file with automake to produce Makefile.in -AUTOMAKE_OPTIONS = 1.6 ACLOCAL_AMFLAGS = -I m4 SUBDIRS = libsoup tests docs @@ -5,9 +5,8 @@ srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="libsoup" -REQUIRED_AUTOMAKE_VERSION=1.9 -(test -f $srcdir/configure.in \ +(test -f $srcdir/configure.ac \ && test -f $srcdir/libsoup.doap \ && test -d $srcdir/libsoup) || { echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" diff --git a/configure.in b/configure.ac index 46b9eb83..1f8b7e30 100644 --- a/configure.in +++ b/configure.ac @@ -2,15 +2,14 @@ dnl ******************************************* dnl *** Initialize automake and set version *** dnl ******************************************* -AC_PREREQ(2.53) -AC_INIT(libsoup, 2.29.90) -AC_CONFIG_SRCDIR(libsoup-2.4.pc.in) +AC_PREREQ(2.63) +AC_INIT([libsoup],[2.29.90],[http://bugzilla.gnome.org/enter_bug.cgi?product=libsoup]) +AC_CONFIG_SRCDIR([libsoup-2.4.pc.in]) AC_CONFIG_MACRO_DIR([m4]) -AM_INIT_AUTOMAKE([foreign]) +AM_INIT_AUTOMAKE([foreign 1.9]) m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],) -AM_CONFIG_HEADER(config.h) AC_PROG_MAKE_SET SOUP_API_VERSION=2.4 @@ -56,26 +55,18 @@ AC_SUBST(SOUP_DEBUG_FLAGS) # Set the maintainer flags if test -d .git; then SOUP_MAINTAINER_FLAGS="-DG_DISABLE_DEPRECATED" - AC_SUBST(SOUP_MAINTAINER_FLAGS) fi +AC_SUBST(SOUP_MAINTAINER_FLAGS) dnl *************************** dnl *** Checks for programs *** dnl *************************** AC_PROG_CC -AM_PROG_CC_STDC AC_PROG_INSTALL -# Set STDC_HEADERS -AC_HEADER_STDC - # Initialize libtool -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL - -# This isn't a program, but it doesn't fit anywhere else... -AC_FUNC_ALLOCA +LT_INIT([win32-dll]) dnl *********************** dnl *** Checks for glib *** @@ -99,6 +90,7 @@ AC_MSG_CHECKING([for Win32]) case "$host" in *-*-mingw*) os_win32=yes + CFLAGS="$CFLAGS -D_REENTRANT" ;; *) os_win32=no @@ -112,11 +104,6 @@ dnl *** Misc checks *** dnl ******************* AC_CHECK_FUNCS(gmtime_r) AC_CHECK_FUNCS(mmap) - -dnl ********************************* -dnl *** Networking library checks *** -dnl ********************************* - AC_CHECK_FUNC(socket, , AC_CHECK_LIB(socket, socket)) dnl ********************************** @@ -239,9 +226,9 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $option" AC_MSG_CHECKING([whether gcc understands $option]) - AC_TRY_COMPILE([], [], - has_option=yes, - has_option=no,) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [])], + [has_option=yes], + [has_option=no]) AC_MSG_RESULT($has_option) if test $has_option = no; then CFLAGS="$SAVE_CFLAGS" @@ -249,11 +236,6 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then done fi -if test "$os_win32" != yes; then - # Use reentrant functions (FIXME!) - CFLAGS="$CFLAGS -D_REENTRANT" -fi - dnl ****************************** dnl *** Stuff for regression tests dnl ****************************** @@ -379,7 +361,8 @@ dnl ************************* dnl *** Output Everything *** dnl ************************* -AC_OUTPUT([ +AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_FILES([ libsoup-2.4.pc libsoup-gnome-2.4.pc Makefile @@ -390,3 +373,4 @@ AC_OUTPUT([ docs/Makefile docs/reference/Makefile ]) +AC_OUTPUT |