From 27d1e03d7bdf8fcfe7292c06e40bc3e2fca9158e Mon Sep 17 00:00:00 2001 From: Denis Oliver Kropp Date: Tue, 19 Oct 2010 15:56:15 +0200 Subject: pluggit --- configure.in | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 configure.in (limited to 'configure.in') diff --git a/configure.in b/configure.in new file mode 100644 index 0000000..cdd8b9f --- /dev/null +++ b/configure.in @@ -0,0 +1,49 @@ +AC_INIT(src/Main.cxx) + +PACKAGE=PluggIt +VERSION=0.1 + +AM_INIT_AUTOMAKE($PACKAGE,$VERSION) +AM_CONFIG_HEADER(config.h) + +dnl Initialize maintainer mode +AM_MAINTAINER_MODE + +ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" + +AC_CANONICAL_HOST + +AC_PROG_CC +AM_PROG_CC_STDC +AC_PROG_CXX + +AM_PROG_LIBTOOL + +changequote(,)dnl +if test "x$GCC" = "xyes"; then + case " $CFLAGS " in + *[\ \ ]-Wall[\ \ ]*) ;; + *) CFLAGS="$CFLAGS -Wall" ;; + esac +fi +changequote([,])dnl + +AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging [default=no]], +if eval "test x$enable_debug = xyes"; then + DEBUGFLAG="-g3" +fi) + +PKG_CHECK_MODULES( DFB, ++dfb ) + +DATADIR=$datadir/flywithme + +AC_SUBST(DATADIR) +AC_SUBST(VERSION) + +AC_OUTPUT([ +Makefile +data/Makefile +src/Makefile +]) + + -- cgit