- Fix autoreconf parameters in autogen.sh

- Change obsolete macros in configure.ac


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@135 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2005-12-30 20:09:33 +00:00
parent d3b4e61d94
commit 1a5eae7b9e
2 changed files with 9 additions and 7 deletions

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
autoreconf -fis autoreconf -i --warnings=all -v

View File

@ -20,7 +20,7 @@
dnl ----------------- CONFIGURE --------------------- dnl ----------------- CONFIGURE ---------------------
AC_INIT( [sgpemv2], [0.00], [matteo@member.fsf.org]) AC_INIT([sgpemv2],[0.00],[matteo@member.fsf.org])
if test -f "`pwd`/configure.ac"; then if test -f "`pwd`/configure.ac"; then
AC_MSG_FAILURE([ AC_MSG_FAILURE([
@ -43,7 +43,6 @@ AC_CANONICAL_TARGET
dnl starting automake dnl starting automake
AM_INIT_AUTOMAKE( [$PACKAGE_NAME], [$PACKAGE_VERSION] ) AM_INIT_AUTOMAKE( [$PACKAGE_NAME], [$PACKAGE_VERSION] )
AM_CONFIG_HEADER(config.h)
dnl various requisites dnl various requisites
#GTKMM_VERSION=2.8.0 #GTKMM_VERSION=2.8.0
@ -63,16 +62,19 @@ AC_PROG_MAKE_SET
dnl check for gtkmm & cairo dnl check for gtkmm & cairo
#PKG_CHECK_MODULES([CAIRO], #PKG_CHECK_MODULES([CAIRO],
# [cairo >= $CAIRO_VERSION], # [cairo >= $CAIRO_VERSION],
# :, AC_ERROR([$ADDITIONAL_PKG_ERRORS])) # :, AC_MSG_ERROR([$ADDITIONAL_PKG_ERRORS]))
#PKG_CHECK_MODULES([GTKMM], #PKG_CHECK_MODULES([GTKMM],
# [gtkmm-2.4 >= $GTKMM_VERSION], # [gtkmm-2.4 >= $GTKMM_VERSION],
# :, AC_ERROR([$ADDITIONAL_PKG_ERRORS])) # :, AC_MSG_ERROR([$ADDITIONAL_PKG_ERRORS]))
#PKG_CHECK_MODULES([GTHREAD], #PKG_CHECK_MODULES([GTHREAD],
# [gthread-2.0 >= $GTKMM_VERSION], # [gthread-2.0 >= $GTKMM_VERSION],
# :, AC_ERROR([$ADDITIONAL_PKG_ERRORS])) # :, AC_MSG_ERROR([$ADDITIONAL_PKG_ERRORS]))
AC_OUTPUT([ AC_CONFIG_HEADERS([config.h:config.h.in])
AC_CONFIG_FILES([
Makefile Makefile
doc/Makefile doc/Makefile
m4/Makefile m4/Makefile
]) ])
AC_OUTPUT