1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 03:32:24 +00:00

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:
OBATA Akio 2021-09-26 17:34:16 +09:00
parent 20c1768a19
commit 2c6e286d81

View file

@ -123,13 +123,10 @@ AM_CONDITIONAL([HPUX], [test "$build_hpux" = "yes"])
dnl Add osmajor/minor version to cppflags.
OSVERSION="-DOSMAJORVERSION=$OSMAJORVERSION -DOSMINORVERSION=$OSMINORVERSION"
dnl set CSRG_BASED define for the BSD's. Also, they use /usr/local
dnl for a lot of things, so add that to the INCS and LIBS
dnl set CSRG_BASED define for the BSD's.
if test "$bsd" = "yes"
then
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
is_x86_64=no