File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -3171,6 +3171,10 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
3171
3171
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3172
3172
3173
3173
3174
+ # BSD locations for headers and libraries from packages, Linux locations for self-compiled stuff.
3175
+ CPPFLAGS=" $CPPFLAGS -I/usr/local/include"
3176
+ LDFLAGS=" $LDFLAGS -L/usr/local/lib"
3177
+
3174
3178
# Checks for libraries.
3175
3179
3176
3180
{ $as_echo " $as_me :${as_lineno-$LINENO } : checking for sqrt in -lm" >&5
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ m4_include([ax_lua.m4])
8
8
# Checks for programs.
9
9
AC_PROG_CC
10
10
11
+ # BSD locations for headers and libraries from packages, Linux locations for self-compiled stuff.
12
+ CPPFLAGS="$CPPFLAGS -I/usr/local/include"
13
+ LDFLAGS="$LDFLAGS -L/usr/local/lib"
14
+
11
15
# Checks for libraries.
12
16
AC_CHECK_LIB ( [ m] , [ sqrt] )
13
17
AC_SEARCH_LIBS ( [ clock_gettime] , [ rt] )
You can’t perform that action at this time.
0 commit comments