configure.in
上传用户:shtangtang
上传日期:2007-01-04
资源大小:167k
文件大小:1k
- dnl without this order in this file, autoconf will not work!
- dnl the argument is a source file out of your sources. But
- dnl acinclude.m4 makes the job for all programs ;-)
- AC_INIT(acinclude.m4)
- dnl without this order in this file, automake will be confused!
- dnl the argument
- AM_CONFIG_HEADER(config.h)
- dnl insert here your program name and version number
- AC_PROG_CC
- AC_CANONICAL_SYSTEM
- AC_ARG_PROGRAM
- AM_INIT_AUTOMAKE(threads,2.0.0)
- save_ifs="${IFS= }";IFS='.';
- set dummy [$VERSION]
- LT_CURRENT=`expr $2 + $3`
- LT_REVISION=$4
- LT_AGE=$3
- IFS=$save_ifs
- AC_SUBST(LT_CURRENT)
- AC_SUBST(LT_REVISION)
- AC_SUBST(LT_AGE)
- VERSION=[$2.$3]
- AC_SUBST(VERSION)
- AM_ENABLE_SHARED
- dnl AC_PREFIX_DEFAULT(${THREADS:-/usr/local/})
- AC_CHECK_COMPILERS
- KDE_PROG_LIBTOOL
- AC_REQUIRE([AC_CHECK_RPATH])
- AC_REQUIRE([AC_CHECK_BOOL])
- AC_SUBST(all_includes)
- AC_SUBST(all_libraries)
- dnl AC_PATH_KDB
- dnl in this space add everything you want to check for
- dnl examples are specific headers, libraries, etc.
- dnl everything to compile and run a KDE program is already checked
- dnl add here all your Makefiles. This are created by configure
- AC_OUTPUT(Makefile src/Makefile doc/Makefile man/Makefile examples/Makefile)