projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fff028f
)
Minor updates to check headers (includes)
author
aland
<aland>
Wed, 10 Jul 2002 15:47:58 +0000
(15:47 +0000)
committer
aland
<aland>
Wed, 10 Jul 2002 15:47:58 +0000
(15:47 +0000)
aclocal.m4
patch
|
blob
|
history
diff --git
a/aclocal.m4
b/aclocal.m4
index
d945125
..
b02746b
100644
(file)
--- a/
aclocal.m4
+++ b/
aclocal.m4
@@
-4030,6
+4030,8
@@
dnl #######################################################################
dnl #
dnl # Look for a header file in a number of places.
dnl #
dnl #
dnl # Look for a header file in a number of places.
dnl #
+dnl # AC_SMART_CHECK_INCLUDE(foo.h, [ #include <other.h> ])
+dnl #
AC_DEFUN(AC_SMART_CHECK_INCLUDE, [
ac_safe=`echo "$1" | sed 'y%./+-%__p_%'`
AC_DEFUN(AC_SMART_CHECK_INCLUDE, [
ac_safe=`echo "$1" | sed 'y%./+-%__p_%'`
@@
-4042,7
+4044,8
@@
dnl #
dnl # Try to link it first, using the default includes
dnl #
old_CFLAGS="$CFLAGS"
dnl # Try to link it first, using the default includes
dnl #
old_CFLAGS="$CFLAGS"
- AC_TRY_COMPILE([#include <$1>],
+ AC_TRY_COMPILE([$2
+ #include <$1>],
[ int a = 1;],
smart_include=" ",
smart_include=)
[ int a = 1;],
smart_include=" ",
smart_include=)