forked from Lainports/freebsd-ports
Rev 1.13 did not fix the build with Heimdal 1.5.x because the
extra include files required by the updated <com_err.h> were guarded by "#if HAVE_COM_ERR_H", which configure does not define when compiling the test program. There was also an extra inclusion of <com_err.h> inside the #if/#endif block. For some odd reason, a number of the other include file tests in the configure script are written with an extra #include, but it is harmless in those cases because the #if conditions are not met. Remove the #if test and the redundant include from the test program for <com_err.h>. Make a similar fix to the test for <et/com_err.h>. Reviewed by: mezz
This commit is contained in:
parent
20c3040943
commit
4da420e5d0
1 changed files with 18 additions and 12 deletions
|
|
@ -1,5 +1,5 @@
|
|||
--- configure.orig 2012-05-19 23:39:42.000000000 -0500
|
||||
+++ configure 2012-05-19 23:42:47.000000000 -0500
|
||||
--- configure.orig 2010-11-14 22:59:14.000000000 -0800
|
||||
+++ configure 2012-06-12 08:40:11.000000000 -0700
|
||||
@@ -14174,6 +14174,14 @@
|
||||
$as_echo "#define _WIN32_WINNT 0x501" >>confdefs.h
|
||||
|
||||
|
|
@ -15,21 +15,27 @@
|
|||
*)
|
||||
os_win32='no'
|
||||
NO_UNDEFINED=''
|
||||
@@ -16196,6 +16204,8 @@
|
||||
@@ -16195,9 +16203,8 @@
|
||||
fi
|
||||
|
||||
|
||||
ac_fn_c_check_header_compile "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" " #if HAVE_ET_COM_ERR_H
|
||||
+ #include <stdio.h>
|
||||
- ac_fn_c_check_header_compile "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" " #if HAVE_ET_COM_ERR_H
|
||||
- #include <com_err.h>
|
||||
- #endif
|
||||
+ ac_fn_c_check_header_compile "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" " #include <stdio.h>
|
||||
+ #include <stdarg.h>
|
||||
#include <com_err.h>
|
||||
#endif
|
||||
|
||||
@@ -16208,6 +16218,8 @@
|
||||
"
|
||||
if test "x$ac_cv_header_et_com_err_h" = x""yes; then :
|
||||
@@ -16207,9 +16214,8 @@
|
||||
fi
|
||||
|
||||
|
||||
ac_fn_c_check_header_compile "$LINENO" "com_err.h" "ac_cv_header_com_err_h" " #if HAVE_COM_ERR_H
|
||||
+ #include <stdio.h>
|
||||
- ac_fn_c_check_header_compile "$LINENO" "com_err.h" "ac_cv_header_com_err_h" " #if HAVE_COM_ERR_H
|
||||
- #include <com_err.h>
|
||||
- #endif
|
||||
+ ac_fn_c_check_header_compile "$LINENO" "com_err.h" "ac_cv_header_com_err_h" " #include <stdio.h>
|
||||
+ #include <stdarg.h>
|
||||
#include <com_err.h>
|
||||
#endif
|
||||
|
||||
"
|
||||
if test "x$ac_cv_header_com_err_h" = x""yes; then :
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue