Removed test for capi20.h, it isn't used here.
This commit is contained in:
parent
59e36cdc01
commit
d739de83d8
|
@ -8,9 +8,6 @@
|
|||
#undef CONFIG_SBINDIR
|
||||
#undef CONFIG_MANDIR
|
||||
|
||||
/* Define if you have the <capi20.h> header file. */
|
||||
#undef HAVE_CAPI20_H
|
||||
|
||||
/* Define if you have the <sys/ioctl.h> header file. */
|
||||
#undef HAVE_SYS_IOCTL_H
|
||||
|
||||
|
|
|
@ -1256,7 +1256,7 @@ EOF
|
|||
|
||||
fi
|
||||
|
||||
for ac_hdr in sys/ioctl.h unistd.h capi20.h
|
||||
for ac_hdr in sys/ioctl.h unistd.h
|
||||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
|
|
|
@ -15,7 +15,8 @@ dnl Checks for libraries.
|
|||
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(sys/ioctl.h unistd.h capi20.h)
|
||||
dnl capi20.h not used AC_CHECK_HEADERS(sys/ioctl.h unistd.h capi20.h)
|
||||
AC_CHECK_HEADERS(sys/ioctl.h unistd.h)
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
|
||||
|
|
|
@ -8,9 +8,6 @@
|
|||
#undef CONFIG_SBINDIR
|
||||
#undef CONFIG_MANDIR
|
||||
|
||||
/* Define if you have the <capi20.h> header file. */
|
||||
#undef HAVE_CAPI20_H
|
||||
|
||||
/* Define if you have the <linux/capi.h> header file. */
|
||||
#undef HAVE_LINUX_CAPI_H
|
||||
|
||||
|
|
|
@ -1300,46 +1300,6 @@ else
|
|||
fi
|
||||
done
|
||||
|
||||
for ac_hdr in capi20.h
|
||||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:1308: checking for $ac_hdr" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1313 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:1318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_header_$ac_safe=yes"
|
||||
else
|
||||
echo "$ac_err" >&5
|
||||
echo "configure: failed program was:" >&5
|
||||
cat conftest.$ac_ext >&5
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_header_$ac_safe=no"
|
||||
fi
|
||||
rm -f conftest*
|
||||
fi
|
||||
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
|
||||
cat >> confdefs.h <<EOF
|
||||
#define $ac_tr_hdr 1
|
||||
EOF
|
||||
|
||||
else
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
|
||||
# Check whether --with-sbin or --without-sbin was given.
|
||||
|
|
|
@ -20,7 +20,7 @@ dnl Checks for header files.
|
|||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(linux/capi.h,,
|
||||
AC_MSG_ERROR("Missing $ac_hdr. Kernel source installed?"))
|
||||
AC_CHECK_HEADERS(capi20.h)
|
||||
dnl not used AC_CHECK_HEADERS(capi20.h)
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
|
||||
|
|
Loading…
Reference in New Issue