AC_INIT(acinclude.m4) dnl a source file from your sub dir dnl This is so we can use kde-common AC_CONFIG_AUX_DIR(admin) dnl This ksh/zsh feature conflicts with `cd blah ; pwd` unset CDPATH dnl Checking host/target/build systems, for make, install etc. AC_CANONICAL_SYSTEM dnl Perform program name transformation AC_ARG_PROGRAM AM_INIT_AUTOMAKE(lineak_defaultplugin,0.9) dnl almost the same like KDE_SET_PEFIX but the path is /usr/local dnl unset CDPATH dnl make /usr/local the default for the installation AC_PREFIX_DEFAULT(/usr/local) if test "x$prefix" = "xNONE"; then prefix=$ac_default_prefix ac_configure_args="$ac_configure_args --prefix $prefix" fi dnl without this order in this file, automake will be confused! dnl AM_CONFIG_HEADER(config.h) dnl checks for programs. dnl first check for c/c++ compilers AC_CHECK_COMPILERS dnl CXXFLAGS="$NOOPT_CXXFLAGS" dnl __kdevelop[noopt]__ dnl CFLAGS="$NOOPT_CFLAGS" dnl __kdevelop[noopt]__ dnl CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS" dnl __kdevelop[exc]__ dnl create only shared libtool-libraries AC_ENABLE_SHARED(yes) dnl set the following to yes, if you want to create static dnl libtool-libraries, too. AC_ENABLE_STATIC(no) dnl create a working libtool-script KDE_PROG_LIBTOOL dnl CXXFLAGS="$NOOPT_CXXFLAGS" dnl __kdevelop[noopt]__ dnl CFLAGS="$NOOPT_CFLAGS" dnl __kdevelop[noopt]__ dnl CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS" dnl __kdevelop[exc]__ all_libraries="$all_libraries $USER_LDFLAGS" all_includes="$all_includes $USER_INCLUDES" AC_SUBST(all_includes) AC_SUBST(all_libraries) AC_SUBST(AUTODIRS) AC_LINEAK_CHECK_INCLUDES AC_LINEAK_CHECK_LIBS AC_LINEAK_FIND_PLUGINDIR