summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-12-23 06:35:46 -0800
committerKaz Kylheku <kaz@kylheku.com>2020-12-23 06:35:46 -0800
commit09db18d3284157497652e048ac63aa69aca864eb (patch)
treef2bb48beba927b4ff8738d03637435d10efd2784 /configure
parent54a1377a5985463d8ba474f9d0ad3fa3a7aaad06 (diff)
downloadtxr-09db18d3284157497652e048ac63aa69aca864eb.tar.gz
txr-09db18d3284157497652e048ac63aa69aca864eb.tar.bz2
txr-09db18d3284157497652e048ac63aa69aca864eb.zip
configure: rename darwin variable.
* configure (need_darwin_c_source): Renamed to darwin_target.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 12b97e87..ee52e460 100755
--- a/configure
+++ b/configure
@@ -192,7 +192,6 @@ have_windows_h=
have_windres=
have_posix_sigs=
have_sockets=
-need_darwin_c_source=
have_git=
have_pwuid=
have_grgid=
@@ -202,6 +201,7 @@ have_winsize=
termios_define=
have_pkgconfig=
libffi_cflags=
+darwin_target=
#
# Parse configuration variables
@@ -1134,7 +1134,7 @@ fi
printf "Checking for Apple environment ... "
if [ "$(make conftest.darwin)" = "yes" ] ; then
printf "yes\n"
- need_darwin_c_source=y
+ darwin_target=y
lang_flags="$lang_flags -D_DARWIN_C_SOURCE"
printf "Regenerating config.make ..."
gen_config_make
@@ -1453,7 +1453,7 @@ if [ -z "$lit_align" ] ; then
exit 1
fi
- if [ -n "$need_darwin_c_source" ] ; then
+ if [ -n "$darwin_target" ] ; then
lit_align=2
else
lit_align=$SIZEOF_WCHAR_T