Import worldtv v0.1-5
[worldtv99] / configure.ac
diff --git a/configure.ac b/configure.ac
new file mode 100644 (file)
index 0000000..ab79db5
--- /dev/null
@@ -0,0 +1,44 @@
+AC_INIT(Makefile.am)
+AM_INIT_AUTOMAKE(WorldTV99, `date +%Y%m%d`)
+
+AC_CANONICAL_HOST
+
+#AC_PROG_CC
+#AC_PROG_CPP
+AC_PROG_INSTALL
+#AC_PROG_RANLIB
+#AC_PROG_LIBTOOL
+#AC_PROG_INTLTOOL([0.23])
+#AC_HEADER_STDC
+
+# Localisation
+GETTEXT_PACKAGE=$PACKAGE
+AC_SUBST(GETTEXT_PACKAGE)
+AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "${GETTEXT_PACKAGE}", [Name of gettext package])
+ALL_LINGUAS="en_GB"
+AM_GLIB_GNU_GETTEXT
+
+# Application locale install directory
+localedir=`$PKG_CONFIG osso-af-settings --variable=localedir`
+
+# Application pixmaps install directory
+pixmapdir=`$PKG_CONFIG osso-af-settings --variable=hildonpixmapdir`
+
+# Help file install directory
+helpfile_engbdir=$datadir/osso-help/en_GB
+
+package_appdir=$datadir/applications/worldtv99
+
+# Define as variables in Makefiles
+AC_SUBST(localedir)
+AC_SUBST(helpfile_engbdir)
+AC_SUBST(package_appdir)
+
+AC_DEFINE_UNQUOTED([LOCALEDIR], "${localedir}", [Runtime locale catalog files path])
+AC_DEFINE_UNQUOTED([PIXMAPDIR], "${pixmapdir}", [Runtime pixmap files path])
+
+# Produce output files
+AC_OUTPUT(
+         Makefile \
+         data/Makefile
+)