aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-support.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros/gnome-support.m4')
-rw-r--r--macros/gnome-support.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/macros/gnome-support.m4 b/macros/gnome-support.m4
new file mode 100644
index 0000000000..9286f79b45
--- /dev/null
+++ b/macros/gnome-support.m4
@@ -0,0 +1,7 @@
+dnl libsupport stuff
+dnl GNOME_SUPPORT_CHECKS
+AC_DEFUN([GNOME_SUPPORT_CHECKS],[
+ AC_CHECK_FUNCS(getopt_long,,LIBOBJS="$LIBOBJS getopt.o getopt1.o")
+ AC_REPLACE_FUNCS(strtok_r)
+ AC_SUBST(LIBOBJS)
+])