aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2018-11-11 22:02:56 +1100
committerPeter Ross <pross@xvid.org>2018-11-28 22:16:07 +1100
commit533ba0b6b5a5357fe8c19b3b5bb23fa16b6979f1 (patch)
tree914d2be0084f3b5616c848dd19547be97570b38c /configure
parent18aea7bdd96b320a40573bccabea56afeccdd91c (diff)
downloadffmpeg-533ba0b6b5a5357fe8c19b3b5bb23fa16b6979f1.tar.gz
configure: detect djgpp libc
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index ab3144e459..6909eaa72a 100755
--- a/configure
+++ b/configure
@@ -5297,7 +5297,6 @@ case $target_os in
network_extralibs="-lsocket"
objformat="coff"
enable dos_paths
- add_cppflags -U__STRICT_ANSI__
;;
linux)
enable section_data_rel_ro
@@ -5466,6 +5465,9 @@ EOF
elif test_${pfx}cpp_condition sys/brand.h "defined LABELED_BRAND_NAME"; then
eval ${pfx}libc_type=solaris
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
test_${pfx}cc <<EOF
#include <time.h>