fix configure.ac paths for FreeBSD

From: Ayan George <ayan@ayan.net>

Allow build to find components (e.g. libtool) installed in /usr/local
on FreeBSD.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3045 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.13
Kamal Mostafa, KA6MAL 2011-02-13 18:49:58 +00:00
rodzic 01e2396ead
commit a60b65c3fc
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -179,8 +179,13 @@ LTDL_INIT([convenience])
AC_SUBST(INCLTDL)
AC_SUBST(LIBLTDL)
case "$host_os" in
freebsd*)
INCLUDES="-I/usr/local/include ${INCLUDES}"
AM_LDFLAGS="${AM_LDFLAGS} -L/usr/local/lib"
AC_SUBST([AM_LDFLAGS])
;;
darwin* | rhapsody*)
# Trick from http://fink.sourceforge.net/doc/porting/
# TODO: check the compiler actually does support these options