AC_CONFIG_HEADERS(src/config.h)
AC_PROG_INSTALL
AC_PROG_LIBTOOL
-AC_SYS_LARGEFILE
+# AC_SYS_LARGEFILE
# ^That should do it but for some reason it won't so hack it:
-CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
+# CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
+
+AC_DEFINE(_FILE_OFFSET_BITS, 64, [Enable LFS])
+AC_DEFINE(_GNU_SOURCE, 1, [Enable GNU Extensions])
dnl PKG_PROG_PKG_CONFIG
AC_DEFINE([WITH_DEVICE_770], 1, [With 770/N800 specific code])
fi
+AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
+
if test "x$enable_itbtdbus" = "xno" ; then
WITH_HILDON_DBUS_BT=no
enable_btdbus=yes
#include "config.h"
-#define _GNU_SOURCE
-
#include <glib/gstdio.h>
#include <glib/gi18n.h>
#include <libintl.h>
#include "config.h"
-#define _GNU_SOURCE
-
#include <glib/gstdio.h>
void announce_distance_to_destination(gdouble distance, gchar *unit, gdouble climit);
-#define _GNU_SOURCE
-
#include <config.h>
/* XXX: well, we are not using dbus yet, but anyway.. */
#include <config.h>
-#define _GNU_SOURCE
-
#ifdef WITH_HILDON_DBUS_BT
#include <fcntl.h>
#ifndef _MAPPER_BT_H
#define _MAPPER_BT_H
-#define _GNU_SOURCE
+#include "config.h"
#include <dbus/dbus-glib.h>
#include <config.h>
-#define _GNU_SOURCE
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <config.h>
-#define _GNU_SOURCE
-
#include <gtk/gtk.h>
gboolean window_cb_key_press(GtkWidget * widget, GdkEventKey * event);
#include <config.h>
-#define _GNU_SOURCE
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
-
#include <config.h>
#include <gtk/gtk.h>
#include <libgnomevfs/gnome-vfs.h>
#include "config.h"
-#define _GNU_SOURCE
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
-
#include <config.h>
#include <unistd.h>
#include <stdlib.h>
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
-
#include <config.h>
#include <unistd.h>
#include <stdlib.h>
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
-
#include <config.h>
#include <unistd.h>
#include <stdlib.h>
#include <config.h>
-#define _GNU_SOURCE
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <config.h>
-#define _GNU_SOURCE
-
#ifndef _MAPPER_GPS_H
#define _MAPPER_GPS_H
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
-
#include <config.h>
#include <unistd.h>
#include <stdlib.h>
/****************************************************************************
* Hildon function Wrappers for non-hildon build
****************************************************************************/
-#define _GNU_SOURCE
-
#include "config.h"
#include <gtk/gtk.h>
* Different Lat/Lon and related functions
* (conversion, distances, etc)
*/
-#define _GNU_SOURCE
+#include "config.h"
#include <math.h>
#include <glib.h>
#include <config.h>
-#define _GNU_SOURCE
-
#include <glib.h>
#include <gtk/gtk.h>
#include "config.h"
-#define _GNU_SOURCE
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <config.h>
-#define _GNU_SOURCE
-
#include <gtk/gtk.h>
#include "utils.h"
#include <config.h>
-#define _GNU_SOURCE
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <config.h>
-#define _GNU_SOURCE
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <config.h>
-#define _GNU_SOURCE
-
#ifndef _MAPPER_MAP_H
#define _MAPPER_MAP_H
#include "config.h"
-#define _GNU_SOURCE
-
#include <math.h>
#include <gtk/gtk.h>
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
-
#include <config.h>
#include <unistd.h>
#include <stdlib.h>
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
+#include "config.h"
#include <unistd.h>
#include <string.h>
*
*/
-#define _GNU_SOURCE
-
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <config.h>
-#define _GNU_SOURCE
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <config.h>
-#define _GNU_SOURCE
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <config.h>
-#define _GNU_SOURCE
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
-#include <config.h>
-
-#define _GNU_SOURCE
+#include "config.h"
#ifndef _MAPPER_ROUTE_H
#define _MAPPER_ROUTE_H
#include <config.h>
-#define _GNU_SOURCE
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <config.h>
-#define _GNU_SOURCE
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include "config.h"
-#define _GNU_SOURCE
-
#include <glib.h>
#ifndef _MAPPER_SETTINGS_H
#include "config.h"
-#define _GNU_SOURCE
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <config.h>
-#define _GNU_SOURCE
-
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#ifndef _MAPPER_UI_COMMON_H
#define _MAPPER_UI_COMMON_H
-#include <config.h>
-
-#define _GNU_SOURCE
+#include "config.h"
#include <unistd.h>
#include <stdlib.h>
-#define _GNU_SOURCE
-
#include <config.h>
#include <unistd.h>
#include <stdlib.h>
#ifndef _MAPPER_UTILS_H
#define _MAPPER_UTILS_H
-#define _GNU_SOURCE
-
-#include <config.h>
+#include "config.h"
#include <unistd.h>
#include <stdlib.h>
#include <string.h>