summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-04-10 15:42:48 -0700
committerKaz Kylheku <kaz@kylheku.com>2012-04-10 15:42:48 -0700
commit407377d0d945ccab189546ce0ce9d5f7d4a7f076 (patch)
tree59c6719d064e45ec517241f94d5e386be55551ff /configure
parent5336c93d6b6b79daac6d1a239ac2955277b376fa (diff)
downloadtxr-407377d0d945ccab189546ce0ce9d5f7d4a7f076.tar.gz
txr-407377d0d945ccab189546ce0ce9d5f7d4a7f076.tar.bz2
txr-407377d0d945ccab189546ce0ce9d5f7d4a7f076.zip
* configure: Switch from _POSIX_C_SOURCE=2 to _XOPEN_SOURCE.
We will be relying on the gettimeofday function which only came into POSIX in 2001, but was in Unix long before then. * HACKING: Replace notes about -D_POSIX_C_SOURCE which are not true any more.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index af340423..6ef68942 100755
--- a/configure
+++ b/configure
@@ -128,7 +128,7 @@ yacc_given=${yacc+y}
yacc=${yacc-'$(cross)$(tool_prefix)$(yaccname)'}
nm=${nm-'$(cross)$(tool_prefix)nm'}
opt_flags=${opt_flags--O2}
-lang_flags=${lang_flags--ansi -D_POSIX_C_SOURCE=2}
+lang_flags=${lang_flags--ansi -D_XOPEN_SOURCE}
diag_flags=${diag_flags--Wall -Wmissing-prototypes -Wstrict-prototypes}
debug_flags=${debug_flags--g}
inline=${inline-}