--- gigedit/trunk/configure.ac 2007/09/22 07:40:13 1356 +++ gigedit/trunk/configure.ac 2007/10/10 15:48:54 1396 @@ -1,8 +1,15 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(gigedit,0.0.3) +AC_INIT(configure.ac) AC_CONFIG_AUX_DIR([.]) #------------------------------------------------------------------------------------ +# The following is the current, official release version of gigedit: + +GIGEDIT_VER_MAJOR=0 +GIGEDIT_VER_MINOR=0 +GIGEDIT_VER_RELEASE=3 + +#------------------------------------------------------------------------------------ # The following is the libtool / shared library version. This doesn't have to # do anything with the release version. It MUST conform to the following rules: # @@ -22,10 +29,16 @@ LIBGIGEDIT_LT_CURRENT=0 LIBGIGEDIT_LT_REVISION=0 LIBGIGEDIT_LT_AGE=0 + SHARED_VERSION_INFO="$LIBGIGEDIT_LT_CURRENT:$LIBGIGEDIT_LT_REVISION:$LIBGIGEDIT_LT_AGE" +AC_LANG_CPLUSPLUS +AC_PROG_CXX AC_PROG_LIBTOOL AC_SUBST(SHLIB_VERSION_ARG) AC_SUBST(SHARED_VERSION_INFO) +AC_SUBST(GIGEDIT_VER_MAJOR) +AC_SUBST(GIGEDIT_VER_MINOR) +AC_SUBST(GIGEDIT_VER_RELEASE) # configure checks for the following file's existence to make sure that # the directory that it is told contains the source code in fact does. @@ -33,9 +46,6 @@ # `--srcdir'; this is a safety check. AC_CONFIG_SRCDIR(src/gigedit/main.cpp) -AC_CONFIG_HEADERS(config.h) -AM_INIT_AUTOMAKE - GETTEXT_PACKAGE=gigedit AC_SUBST([GETTEXT_PACKAGE]) AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package]) @@ -105,6 +115,9 @@ [Define to 1 if you have LinuxSampler installed.] ) +AC_CONFIG_HEADERS(config.h) +AM_INIT_AUTOMAKE(gigedit, "$GIGEDIT_VER_MAJOR.$GIGEDIT_VER_MINOR.$GIGEDIT_VER_RELEASE") + AC_CONFIG_FILES([ Makefile src/Makefile @@ -112,7 +125,10 @@ src/plugin/Makefile po/Makefile.in debian/Makefile - doc/Makefile - doc/quickstart/Makefile + doc/Makefile + doc/quickstart/Makefile + win32/libgigedit.dev + win32/gigedit.dev + win32/Makefile ]) AC_OUTPUT