diff options
author | Richard Hughes <richard@hughsie.com> | 2008-02-19 01:40:38 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2008-02-19 01:40:38 +0000 |
commit | 2ffbb213b02eebe32eda93cf4330a11150aa1b7b (patch) | |
tree | ae8266c41df60a501a9e9b6c0ca1a65386f9b289 /configure.ac | |
parent | 28f4915e717fbc31b5410f77bf7882928def0545 (diff) |
rename obsolete onfigure.in -> configure.ac - no other changes
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..d55b580 --- /dev/null +++ b/configure.ac @@ -0,0 +1,51 @@ +AC_PREREQ(2.52) + +AC_INIT(pm-utils, 0.99.4) +AC_CONFIG_SRCDIR(src) +AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) +AM_CONFIG_HEADER(config.h) + +AC_PROG_CC +AC_PROG_LN_S + +dnl --------------------------------------------------------------------------- +dnl - Extra verbose warning switches +dnl --------------------------------------------------------------------------- +CPPFLAGS="$CPPFLAGS -Wall -Werror" + +dnl --------------------------------------------------------------------------- +dnl - Debugging switches +dnl --------------------------------------------------------------------------- +CPPFLAGS="$CPPFLAGS -g" + +dnl --------------------------------------------------------------------------- +dnl - Make paths available for source files +dnl --------------------------------------------------------------------------- +AC_SUBST(SYSCONFDIR, $sysconfdir) +AC_SUBST(DATADIR, $datadir) +AC_SUBST(BINDIR, $bindir) +AC_SUBST(SBINDIR, $sbindir) + +dnl --------------------------------------------------------------------------- +dnl - Makefiles, etc. +dnl --------------------------------------------------------------------------- +AC_OUTPUT([ +Makefile +pm-utils.pc +man/Makefile +src/Makefile +pm/Makefile +pm/sleep.d/Makefile +pm/power.d/Makefile +pm/module.d/Makefile +]) + +dnl ========================================================================== +echo " + pm-utils $VERSION + ================== + + prefix: ${prefix} + compiler: ${CC} + cflags: ${CFLAGS} +" |