diff options
author | Denis Oliver Kropp <dok@directfb.org> | 2010-10-19 15:56:15 +0200 |
---|---|---|
committer | Denis Oliver Kropp <dok@directfb.org> | 2010-10-19 15:56:15 +0200 |
commit | 27d1e03d7bdf8fcfe7292c06e40bc3e2fca9158e (patch) | |
tree | efee63b09d2f9b73e2ae73a9448660a3cf73c4e6 /configure.in | |
download | pluggit-27d1e03d7bdf8fcfe7292c06e40bc3e2fca9158e.tar.gz pluggit-27d1e03d7bdf8fcfe7292c06e40bc3e2fca9158e.tar.bz2 pluggit-27d1e03d7bdf8fcfe7292c06e40bc3e2fca9158e.zip |
pluggit
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 49 |
1 files changed, 49 insertions, 0 deletions
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 +]) + + |