Commit 533ba0b6 authored by Peter Ross's avatar Peter Ross

configure: detect djgpp libc

parent 18aea7bd
...@@ -5297,7 +5297,6 @@ case $target_os in ...@@ -5297,7 +5297,6 @@ case $target_os in
network_extralibs="-lsocket" network_extralibs="-lsocket"
objformat="coff" objformat="coff"
enable dos_paths enable dos_paths
add_cppflags -U__STRICT_ANSI__
;; ;;
linux) linux)
enable section_data_rel_ro enable section_data_rel_ro
...@@ -5466,6 +5465,9 @@ EOF ...@@ -5466,6 +5465,9 @@ EOF
elif test_${pfx}cpp_condition sys/brand.h "defined LABELED_BRAND_NAME"; then elif test_${pfx}cpp_condition sys/brand.h "defined LABELED_BRAND_NAME"; then
eval ${pfx}libc_type=solaris eval ${pfx}libc_type=solaris
add_${pfx}cppflags -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 add_${pfx}cppflags -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
elif test_${pfx}cpp_condition sys/version.h "defined __DJGPP__"; then
eval ${pfx}libc_type=djgpp
add_cppflags -U__STRICT_ANSI__
fi fi
test_${pfx}cc <<EOF test_${pfx}cc <<EOF
#include <time.h> #include <time.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment