core-config: Fix header detection and conflict.
- Fixed `sys/stat.h` detection. - Fixed `HAVE_PTHREAD_H` define to avoid warning with Python includes. - Added missing quotes for the semaphore include check.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#cmakedefine01 HAVE_STDLIB_H
|
||||
#cmakedefine01 HAVE_GETENV
|
||||
#cmakedefine01 HAVE_SIGNAL_H
|
||||
#cmakedefine HAVE_PTHREAD_H
|
||||
#cmakedefine01 HAVE_PTHREAD_H
|
||||
#cmakedefine HAVE_RT
|
||||
|
||||
#endif //NS3_CORE_CONFIG_H
|
||||
|
||||
@@ -1066,12 +1066,12 @@ macro(process_options)
|
||||
check_include_file_cxx("stdint.h" "HAVE_STDINT_H")
|
||||
check_include_file_cxx("inttypes.h" "HAVE_INTTYPES_H")
|
||||
check_include_file_cxx("sys/types.h" "HAVE_SYS_TYPES_H")
|
||||
check_include_file_cxx("stat.h" "HAVE_SYS_STAT_H")
|
||||
check_include_file_cxx("sys/stat.h" "HAVE_SYS_STAT_H")
|
||||
check_include_file_cxx("dirent.h" "HAVE_DIRENT_H")
|
||||
check_include_file_cxx("stdlib.h" "HAVE_STDLIB_H")
|
||||
check_include_file_cxx("signal.h" "HAVE_SIGNAL_H")
|
||||
check_include_file_cxx("netpacket/packet.h" "HAVE_PACKETH")
|
||||
check_include_file_cxx(semaphore.h HAVE_SEMAPHORE_H)
|
||||
check_include_file_cxx("semaphore.h" "HAVE_SEMAPHORE_H")
|
||||
check_function_exists("getenv" "HAVE_GETENV")
|
||||
|
||||
configure_file(
|
||||
|
||||
Reference in New Issue
Block a user