Browse Source

Merge pull request #5395

4c69ebe Add /opt/local/include/db48 only if it exists. (Pavel Janík)
0.10
Wladimir J. van der Laan 10 years ago
parent
commit
12c05ee938
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 8
      configure.ac

8
configure.ac

@ -244,8 +244,12 @@ case $host in
AC_CHECK_PROG([PORT],port, port) AC_CHECK_PROG([PORT],port, port)
if test x$PORT = xport; then if test x$PORT = xport; then
dnl add default macports paths dnl add default macports paths
CPPFLAGS="$CPPFLAGS -isystem /opt/local/include -I/opt/local/include/db48" CPPFLAGS="$CPPFLAGS -isystem /opt/local/include"
LIBS="$LIBS -L/opt/local/lib -L/opt/local/lib/db48" LIBS="$LIBS -L/opt/local/lib"
if test -d /opt/local/include/db48; then
CPPFLAGS="$CPPFLAGS -I/opt/local/include/db48"
LIBS="$LIBS -L/opt/local/lib/db48"
fi
fi fi
AC_CHECK_PROG([BREW],brew, brew) AC_CHECK_PROG([BREW],brew, brew)

Loading…
Cancel
Save