mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-12 22:39:18 +03:00
* configure.in: Work around a bug in Autoconf-2.53 that prevents
splitting of user-specified path in AC_PATH_PROGS.
This commit is contained in:
parent
479d96a2ef
commit
fa57ac87d4
@ -1,5 +1,8 @@
|
|||||||
2002-08-23 Pavel Roskin <proski@gnu.org>
|
2002-08-23 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* configure.in: Work around a bug in Autoconf-2.53 that prevents
|
||||||
|
splitting of user-specified path in AC_PATH_PROGS.
|
||||||
|
|
||||||
* configure.in: Move glib test earlier, as it tends to fail for
|
* configure.in: Move glib test earlier, as it tends to fail for
|
||||||
many users. Make GLIB_CONFIG a precious variable. Check for
|
many users. Make GLIB_CONFIG a precious variable. Check for
|
||||||
glib12-config - that's how it's called on FreeBSD.
|
glib12-config - that's how it's called on FreeBSD.
|
||||||
|
@ -24,9 +24,13 @@ dnl
|
|||||||
dnl Find glib 1.2.x. This check should be kept close to the beginning,
|
dnl Find glib 1.2.x. This check should be kept close to the beginning,
|
||||||
dnl as it tends to fail often.
|
dnl as it tends to fail often.
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
|
dnl This temporary variable is a workaround for a bug in Autoconf-2.53
|
||||||
|
glib_path=$PATH:/usr/local/bin
|
||||||
|
|
||||||
dnl Klugde for FreeBSD, where glib-config is renamed to glib12-config.
|
dnl Klugde for FreeBSD, where glib-config is renamed to glib12-config.
|
||||||
AC_PATH_PROGS([GLIB_CONFIG], [glib-config glib12-config],,
|
AC_PATH_PROGS([GLIB_CONFIG], [glib-config glib12-config],,[$glib_path])
|
||||||
[$PATH:/usr/local/bin])
|
|
||||||
AC_ARG_VAR([GLIB_CONFIG], [Path to glib-config])
|
AC_ARG_VAR([GLIB_CONFIG], [Path to glib-config])
|
||||||
AM_PATH_GLIB(1.2.0,,[AC_MSG_ERROR([Test for GLIB failed. MC requires GLIB.])])
|
AM_PATH_GLIB(1.2.0,,[AC_MSG_ERROR([Test for GLIB failed. MC requires GLIB.])])
|
||||||
LIBS="$LIBS $GLIB_LIBS"
|
LIBS="$LIBS $GLIB_LIBS"
|
||||||
|
Loading…
Reference in New Issue
Block a user