From 2be214b5981db106fc9a86c4393116d01cb738c4 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Wed, 2 Sep 1998 08:02:29 +0000 Subject: Check for canonicalize_file_name () and realpath () and add 1998-09-02 Martin Baulig * gnome-support.m4: Check for canonicalize_file_name () and realpath () and add `canonicalize.o' to LIBOBJS if required. svn path=/trunk/; revision=358 --- macros/ChangeLog | 5 +++++ macros/gnome-support.m4 | 3 +++ 2 files changed, 8 insertions(+) (limited to 'macros') diff --git a/macros/ChangeLog b/macros/ChangeLog index b345b898bd..7ab30cf936 100644 --- a/macros/ChangeLog +++ b/macros/ChangeLog @@ -1,3 +1,8 @@ +1998-09-02 Martin Baulig + + * gnome-support.m4: Check for canonicalize_file_name () and + realpath () and add `canonicalize.o' to LIBOBJS if required. + 1998-08-30 Martin Baulig * gnome-libgtop-check.m4: Added (AC_SUBST): `LIBGTOP_VERSION_CODE'. diff --git a/macros/gnome-support.m4 b/macros/gnome-support.m4 index c0a1163059..61b825aa42 100644 --- a/macros/gnome-support.m4 +++ b/macros/gnome-support.m4 @@ -81,6 +81,9 @@ AC_DEFUN([GNOME_SUPPORT_CHECKS],[ AC_REPLACE_FUNCS(memmove mkstemp scandir strcasecmp strerror strndup strnlen) AC_REPLACE_FUNCS(strtok_r strtod strtol strtoul vasprintf) + AC_CHECK_FUNCS(canonicalize_file_name,,LIBOBJS="$LIBOBJS canonicalize.o") + AC_CHECK_FUNCS(realpath,,LIBOBJS="$LIBOBJS canonicalize.o") + # to include `error.c' error.c has some HAVE_* checks AC_CHECK_FUNCS(vprintf doprnt sterror_r) AM_FUNC_ERROR_AT_LINE -- cgit v1.2.3