Forcing use of /usr/local on FreeBSD by LDFLAGS and CPPFLAGS.

This commit is contained in:
Thomas Schmitt 2010-02-04 09:30:42 +01:00
parent 83ace3b486
commit ce723a8c39
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,14 @@
AC_DEFUN([LIBBURNIA_SET_FLAGS],
[
case $target_os in
freebsd*)
LDFLAGS="$LDFLAGS -L/usr/local/lib"
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
;;
esac
])
AC_DEFUN([TARGET_SHIZZLE],
[
ARCH=""

View File

@ -5,6 +5,8 @@ dnl AC_CONFIG_HEADER([config.h])
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
LIBBURNIA_SET_FLAGS
AM_INIT_AUTOMAKE([subdir-objects])
dnl A61101 This breaks Linux build (makes 32 bit off_t)