* configure.in: Check for strlcpy() is glib 1.2.x is used.

This commit is contained in:
Pavel Roskin 2003-09-22 20:27:44 +00:00
parent 4520b25b36
commit 5504df3ae6
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-09-22 Pavel Roskin <proski@gnu.org>
* configure.in: Check for strlcpy() is glib 1.2.x is used.
2003-09-11 Strahinya Radich <mr99164@alas.matf.bg.ac.yu> 2003-09-11 Strahinya Radich <mr99164@alas.matf.bg.ac.yu>
* lib/mc.hint.sr: New file - Serbian hints. * lib/mc.hint.sr: New file - Serbian hints.

View File

@ -60,6 +60,9 @@ GNU Midnight Commander requires glib 1.2.6 or above.])])
GLIB_CFLAGS="$save_GLIB_CFLAGS" GLIB_CFLAGS="$save_GLIB_CFLAGS"
GLIB_LIBS="$save_GLIB_LIBS" GLIB_LIBS="$save_GLIB_LIBS"
GLIB_LIBDIR="`$GLIB_CONFIG --exec-prefix`/lib" GLIB_LIBDIR="`$GLIB_CONFIG --exec-prefix`/lib"
dnl Used in src/glibcompat.c
AC_CHECK_FUNCS([strlcpy])
else else
PKG_CHECK_MODULES(GMODULE, [gmodule-2.0], [gmodule_found=yes]) PKG_CHECK_MODULES(GMODULE, [gmodule-2.0], [gmodule_found=yes])
GLIB_LIBDIR="`$PKG_CONFIG --variable=libdir glib-2.0`" GLIB_LIBDIR="`$PKG_CONFIG --variable=libdir glib-2.0`"