65 lines
1.3 KiB
Plaintext
65 lines
1.3 KiB
Plaintext
|
dnl Configure.in
|
||
|
dnl
|
||
|
dnl Source for generating compiler independent libraries.
|
||
|
dnl
|
||
|
|
||
|
dnl INIT is required name a file which is unique to the package
|
||
|
dnl just to prevent someone from copying the configure to the wrong package.
|
||
|
AC_INIT(sigc++)
|
||
|
|
||
|
dnl This version stuff is just for the packaging section of the tool.
|
||
|
dnl thus make format_package-0.0.1.tar.gz
|
||
|
FP_MAJOR_VERSION=2
|
||
|
FP_MINOR_VERSION=0
|
||
|
FP_MICRO_VERSION=6
|
||
|
FP_VERSION=$FP_MAJOR_VERSION.$FP_MINOR_VERSION.$FP_MICRO_VERSION
|
||
|
|
||
|
dnl For automake.
|
||
|
VERSION=$FP_VERSION
|
||
|
PACKAGE=libsigc++
|
||
|
|
||
|
dnl Initialize automake stuff
|
||
|
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
|
||
|
|
||
|
dnl Specify a configuration file:
|
||
|
AC_CONFIG_HEADER(sigc++config.h)
|
||
|
|
||
|
dnl disable autoheader
|
||
|
AUTOHEADER=':'
|
||
|
|
||
|
dnl Maintainer support (autodependencies and packaging)
|
||
|
AM_MAINTAINER_MODE
|
||
|
|
||
|
dnl Using C compiler
|
||
|
AC_PROG_CC
|
||
|
AC_PROG_CPP
|
||
|
|
||
|
dnl Using libtool
|
||
|
AC_CONFIG_MACRO_DIR(scripts)
|
||
|
LT_INIT
|
||
|
dnl AM_PROG_LIBTOOL
|
||
|
|
||
|
dnl Using C++ compiler
|
||
|
AC_PROG_CXX
|
||
|
AC_LANG_CPLUSPLUS
|
||
|
|
||
|
SIGC_CXX_GCC_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD()
|
||
|
|
||
|
if test "X$config_error" = "Xyes" ; then
|
||
|
AC_ERROR(
|
||
|
[One or more of the required compiler features is missing.
|
||
|
If you believe this is in error, please consult the config.log file
|
||
|
for further details.
|
||
|
])
|
||
|
fi
|
||
|
|
||
|
|
||
|
# Generate output
|
||
|
AC_OUTPUT([
|
||
|
Makefile
|
||
|
sigc++-2.0.pc
|
||
|
|
||
|
sigc++/Makefile
|
||
|
libsigc++-2.0.spec
|
||
|
])
|