Mercurial > vim
comparison src/configure.in @ 782:d20041a02ee5
updated for version 7.0228
author | vimboss |
---|---|
date | Sat, 18 Mar 2006 21:40:56 +0000 |
parents | aaaca5077255 |
children | 95dac6af3b3a |
comparison
equal
deleted
inserted
replaced
781:afa9ef8a18a1 | 782:d20041a02ee5 |
---|---|
1476 if $PKG_CONFIG --exists libgnomeui-2.0; then | 1476 if $PKG_CONFIG --exists libgnomeui-2.0; then |
1477 AC_MSG_RESULT(yes) | 1477 AC_MSG_RESULT(yes) |
1478 GNOME_LIBS=`$PKG_CONFIG --libs-only-l libgnomeui-2.0` | 1478 GNOME_LIBS=`$PKG_CONFIG --libs-only-l libgnomeui-2.0` |
1479 GNOME_LIBDIR=`$PKG_CONFIG --libs-only-L libgnomeui-2.0` | 1479 GNOME_LIBDIR=`$PKG_CONFIG --libs-only-L libgnomeui-2.0` |
1480 GNOME_INCLUDEDIR=`$PKG_CONFIG --cflags libgnomeui-2.0` | 1480 GNOME_INCLUDEDIR=`$PKG_CONFIG --cflags libgnomeui-2.0` |
1481 | |
1482 dnl On FreeBSD we need -pthread but pkg-config doesn't include it. | |
1483 dnl This might not be the right way but it works for me... | |
1484 AC_MSG_CHECKING(for FreeBSD) | |
1485 if test "`(uname) 2>/dev/null`" = FreeBSD; then | |
1486 AC_MSG_RESULT(yes, adding -pthread) | |
1487 GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR -D_THREAD_SAFE" | |
1488 GNOME_LIBS="$GNOME_LIBS -pthread" | |
1489 else | |
1490 AC_MSG_RESULT(no) | |
1491 fi | |
1481 $1 | 1492 $1 |
1482 else | 1493 else |
1483 AC_MSG_RESULT(not found) | 1494 AC_MSG_RESULT(not found) |
1484 if test "x$2" = xfail; then | 1495 if test "x$2" = xfail; then |
1485 AC_MSG_ERROR(Could not find libgnomeui-2.0 via pkg-config) | 1496 AC_MSG_ERROR(Could not find libgnomeui-2.0 via pkg-config) |