summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-12-09 23:25:14 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-12-09 23:25:14 -0800
commit6b1b28afd06048377f60640633ef23a2bb626579 (patch)
tree730b0f83c9db6a14dff4d639808c2c8a9be378a8 /configure
parent4632c71d8f883fa5a4b208673b1b36e83e3e8c41 (diff)
downloadtxr-6b1b28afd06048377f60640633ef23a2bb626579.tar.gz
txr-6b1b28afd06048377f60640633ef23a2bb626579.tar.bz2
txr-6b1b28afd06048377f60640633ef23a2bb626579.zip
Solaris issue: ftruncate not detected.
* configure (lang_flags): Add POSIX_C_SOURCE set to 200112.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index b63c7297..d3b821b3 100755
--- a/configure
+++ b/configure
@@ -96,7 +96,7 @@ yacc='$(cross)$(tool_prefix)$(yaccname)'
yacc_given=
nm='$(cross)$(tool_prefix)nm'
opt_flags=-O2
-lang_flags='-ansi -D_XOPEN_SOURCE=700'
+lang_flags='-ansi -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200112'
diag_flags='-Wall -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=strict-prototypes'
debug_flags=-g
debug_only_flags=-DTXR_DEBUG