configure: stop to add /usr/local to EXTRA_INCS and _LIBS for BSD
It may result in unwanted 3rd party software picked up for CDE build.
This commit is contained in:
@@ -123,13 +123,10 @@ AM_CONDITIONAL([HPUX], [test "$build_hpux" = "yes"])
|
|||||||
dnl Add osmajor/minor version to cppflags.
|
dnl Add osmajor/minor version to cppflags.
|
||||||
OSVERSION="-DOSMAJORVERSION=$OSMAJORVERSION -DOSMINORVERSION=$OSMINORVERSION"
|
OSVERSION="-DOSMAJORVERSION=$OSMAJORVERSION -DOSMINORVERSION=$OSMINORVERSION"
|
||||||
|
|
||||||
dnl set CSRG_BASED define for the BSD's. Also, they use /usr/local
|
dnl set CSRG_BASED define for the BSD's.
|
||||||
dnl for a lot of things, so add that to the INCS and LIBS
|
|
||||||
if test "$bsd" = "yes"
|
if test "$bsd" = "yes"
|
||||||
then
|
then
|
||||||
SOURCE_CPP_DEFINES="${SOURCE_CPP_DEFINES} -DCSRG_BASED"
|
SOURCE_CPP_DEFINES="${SOURCE_CPP_DEFINES} -DCSRG_BASED"
|
||||||
EXTRA_INCS="-I/usr/local/include ${EXTRA_INCS}"
|
|
||||||
EXTRA_LIBS="-L/usr/local/lib ${EXTRA_LIBS}"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
is_x86_64=no
|
is_x86_64=no
|
||||||
|
|||||||
Reference in New Issue
Block a user