diff options
author | Martin Baulig <martin@home-of-linux.org> | 1998-09-02 08:02:29 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-09-02 08:02:29 +0000 |
commit | 3e314c8b9f762974dd838c6a269369d8f26d75b3 (patch) | |
tree | 35b9aa50d3b5ab99557748a44eafc8f9c47e94aa /macros/gnome-support.m4 | |
parent | 757e56c6ffcf176b9e36864046c4df8ba147b235 (diff) | |
download | shared-mime-info-3e314c8b9f762974dd838c6a269369d8f26d75b3.tar.gz |
Check for canonicalize_file_name () and realpath () and add
1998-09-02 Martin Baulig <martin@home-of-linux.org>
* gnome-support.m4: Check for canonicalize_file_name () and
realpath () and add `canonicalize.o' to LIBOBJS if required.
svn path=/trunk/; revision=374
Diffstat (limited to 'macros/gnome-support.m4')
-rw-r--r-- | macros/gnome-support.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/macros/gnome-support.m4 b/macros/gnome-support.m4 index c0a11630..61b825aa 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 |