aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-support.m4
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-09-02 16:02:29 +0800
committerMartin Baulig <martin@src.gnome.org>1998-09-02 16:02:29 +0800
commit2be214b5981db106fc9a86c4393116d01cb738c4 (patch)
tree749ea011e7a5d56ae0c39b3223a0d545ab4cc6c7 /macros/gnome-support.m4
parent0c255f1119582396c3e6a9d1f7518777ae98b4f4 (diff)
downloadgsoc2013-evolution-2be214b5981db106fc9a86c4393116d01cb738c4.tar
gsoc2013-evolution-2be214b5981db106fc9a86c4393116d01cb738c4.tar.gz
gsoc2013-evolution-2be214b5981db106fc9a86c4393116d01cb738c4.tar.bz2
gsoc2013-evolution-2be214b5981db106fc9a86c4393116d01cb738c4.tar.lz
gsoc2013-evolution-2be214b5981db106fc9a86c4393116d01cb738c4.tar.xz
gsoc2013-evolution-2be214b5981db106fc9a86c4393116d01cb738c4.tar.zst
gsoc2013-evolution-2be214b5981db106fc9a86c4393116d01cb738c4.zip
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=358
Diffstat (limited to 'macros/gnome-support.m4')
-rw-r--r--macros/gnome-support.m43
1 files changed, 3 insertions, 0 deletions
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