eye-on-manga/configure.ac

33 lines
836 B
Text
Raw Normal View History

2010-10-22 12:57:06 +02:00
AC_INIT(Makefile.am)
AM_INIT_AUTOMAKE(eye-on-manga, 0.1.0)
2010-10-22 12:57:06 +02:00
AC_PROG_CC
AC_PROG_INSTALL
2010-10-25 22:57:25 +02:00
# Check for necessary packages
PKG_CHECK_MODULES(EOM, hildon-1 sqlite3)
# Add packages to flags and libs
CFLAGS="-Wall -Wextra $EOM_CFLAGS $CFLAGS"
2010-10-25 22:57:25 +02:00
LIBS="$EOM_LIBS $LIBS"
desktopentrydir=`$PKG_CONFIG osso-af-settings --variable=desktopentrydir`
# Application icon install directories
icon_26x26dir=$datadir/icons/hicolor/26x26/hildon
icon_40x40dir=$datadir/icons/hicolor/40x40/hildon
icon_64x64dir=$datadir/icons/hicolor/64x64/hildon
icon_scalabledir=$datadir/icons/hicolor/scalable/hildon
AC_SUBST(desktopentrydir)
AC_SUBST(icon_26x26dir)
AC_SUBST(icon_40x40dir)
AC_SUBST(icon_64x64dir)
AC_SUBST(icon_scalabledir)
2010-10-25 22:57:25 +02:00
# Generate the Makefile from Makefile.in
AC_OUTPUT( \
Makefile \
src/Makefile \
data/Makefile
2010-10-22 12:57:06 +02:00
)