Mercurial > emacs
comparison configure.in @ 53276:86da44f1219f
(PKG_CHECK_MODULES): Fix quoting.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Wed, 24 Dec 2003 10:45:25 +0000 |
parents | 446954802190 |
children | 09376ac9647f |
comparison
equal
deleted
inserted
replaced
53275:a07a0bae1990 | 53276:86da44f1219f |
---|---|
1843 | 1843 |
1844 dnl This function defintion taken from Gnome 2.0 | 1844 dnl This function defintion taken from Gnome 2.0 |
1845 dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) | 1845 dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) |
1846 dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page | 1846 dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page |
1847 dnl also defines GSTUFF_PKG_ERRORS on error | 1847 dnl also defines GSTUFF_PKG_ERRORS on error |
1848 AC_DEFUN(PKG_CHECK_MODULES, [ | 1848 AC_DEFUN([PKG_CHECK_MODULES], [ |
1849 succeeded=no | 1849 succeeded=no |
1850 | 1850 |
1851 if test -z "$PKG_CONFIG"; then | 1851 if test -z "$PKG_CONFIG"; then |
1852 AC_PATH_PROG(PKG_CONFIG, pkg-config, no) | 1852 AC_PATH_PROG(PKG_CONFIG, pkg-config, no) |
1853 fi | 1853 fi |
1891 fi | 1891 fi |
1892 | 1892 |
1893 if test $succeeded = yes; then | 1893 if test $succeeded = yes; then |
1894 ifelse([$3], , :, [$3]) | 1894 ifelse([$3], , :, [$3]) |
1895 else | 1895 else |
1896 ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4]) | 1896 ifelse([$4], , [AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.])], [$4]) |
1897 fi | 1897 fi |
1898 ]) | 1898 ]) |
1899 | 1899 |
1900 HAVE_GTK=no | 1900 HAVE_GTK=no |
1901 if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "gtk"; then | 1901 if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "gtk"; then |