summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index 4382fe6f6..c9b407192 100755
--- a/configure
+++ b/configure
@@ -285,6 +285,8 @@ system=unknown
case "$host" in
alpha-*-osf*) arch=alpha; system=digital;;
alpha-*-linux*) arch=alpha; system=linux;;
+ alpha-*-netbsd*) arch=alpha; system=netbsd;;
+ alpha-*-openbsd*) arch=alpha; system=openbsd;;
sparc-*-sunos4.*) arch=sparc; system=sunos;;
sparc-*-solaris2.*) arch=sparc; system=solaris;;
sparc-*-*bsd*) arch=sparc; system=bsd;;
@@ -334,6 +336,8 @@ case "$arch,$model,$system" in
alpha,*,digital) asflags='-O2'; asppflags='-O2 -DSYS_$(SYSTEM)';
asppprofflags='-pg -DPROFILING';;
alpha,*,linux) aspp='gcc'; asppflags='-c -DSYS_$(SYSTEM)';;
+ alpha,*,netbsd) aspp='gcc'; asppflags='-c -DSYS_$(SYSTEM)';;
+ alpha,*,openbsd) aspp='gcc'; asppflags='-c -DSYS_$(SYSTEM)';;
mips,*,irix) asflags='-n32 -O2'; asppflags="$asflags";;
sparc,*,bsd) aspp='gcc'; asppflags='-c -DSYS_$(SYSTEM)';;
sparc,*,linux) aspp='gcc'; asppflags='-c -DSYS_$(SYSTEM)';;
@@ -617,6 +621,11 @@ if sh ./hasgot putenv; then
echo "#define HAS_PUTENV" >> s.h
fi
+if sh ./hasgot -i locale.h && sh ./hasgot setlocale; then
+ echo "setlocale() and <locale.h> found."
+ echo "#define HAS_LOCALE" >> s.h
+fi
+
# Determine if the debugger is supported
if test "$has_sockets" = "yes"; then