pike.git/
src/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
2005-03-17
2005-03-17 15:57:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>
46dc3287d6efdaaea61842d89a33fa186c4323b8 (
45
lines) (+
39
/-
6
)
[
Show
|
Annotate
]
Branch:
7.9
Added detection and some support for Solaris 10/amd64.
Rev: src/configure.in:1.878
1:
-
AC_REVISION("$Id: configure.in,v 1.
877
2005/
02
/
11
16
:
02
:
39
grubba Exp $")
+
AC_REVISION("$Id: configure.in,v 1.
878
2005/
03
/
17
15
:
57
:
34
grubba Exp $")
AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h)
1832:
]) # AC_SYS_COMPILER_FLAG(-march=i686,march_i686,CFLAGS) ;;
+
x86_64)
+
AC_SYS_COMPILER_FLAG(-m64,m64,CFLAGS,[
+
AC_SYS_COMPILER_FLAG(-mcpu=i686,mcpu_i686,CFLAGS,[
+
AC_SYS_COMPILER_FLAG(-mpentiumpro,pentiumpro,CFLAGS,[
+
AC_SYS_COMPILER_FLAG(-mcpu=pentium,mcpu_pentium,CFLAGS,[
+
AC_SYS_COMPILER_FLAG(-mpentium,pentium,CFLAGS)
+
])
+
])
+
])
+
], [
+
BUNDLE_FLAGS="$BUNDLE_FLAGS --host=x86_64"
+
])
+
;;
i86pc)
-
case "
`isalist
2>/dev/null`" in
+
# Solaris x86
+
case "
`optisa
\`isalist
2>/dev/
null\` 2>/dev/null || isalist 2>/dev/
null`" in
+
*amd64*)
+
AC_SYS_COMPILER_FLAG(-m64,m64,CFLAGS,[
+
AC_SYS_COMPILER_FLAG(-mcpu=i686,mcpu_i686,CFLAGS,[
+
AC_SYS_COMPILER_FLAG(-mpentiumpro,pentiumpro,CFLAGS,[
+
AC_SYS_COMPILER_FLAG(-mcpu=pentium,mcpu_pentium,CFLAGS,[
+
AC_SYS_COMPILER_FLAG(-mpentium,pentium,CFLAGS)
+
])
+
])
+
])
+
], [
+
BUNDLE_FLAGS="$BUNDLE_FLAGS --host=x86_64"
+
])
+
# AC_SYS_COMPILER_FLAG(-march=i686,march_i686,CFLAGS)
+
;;
*pentium_pro*) AC_SYS_COMPILER_FLAG(-mcpu=i686,mcpu_i686,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mpentiumpro,pentiumpro,CFLAGS,[
2219:
# MinGW system. cat <<\EOF #!/bin/sh
-
# Automatically generated by $Id: configure.in,v 1.
877
2005/
02
/
11
16
:
02
:
39
grubba Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
878
2005/
03
/
17
15
:
57
:
34
grubba Exp $.
# MinGW-version. Do NOT edit. posix_name="`cat`" posix_prefix="/"
2257:
# Native POSIX system. cat <<\EOF #!/bin/sh
-
# Automatically generated by $Id: configure.in,v 1.
877
2005/
02
/
11
16
:
02
:
39
grubba Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
878
2005/
03
/
17
15
:
57
:
34
grubba Exp $.
# POSIX-version. Do NOT edit. cat EOF
2266:
# rntcl-style cat <<\EOF #!/bin/sh
-
# Automatically generated by $Id: configure.in,v 1.
877
2005/
02
/
11
16
:
02
:
39
grubba Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
878
2005/
03
/
17
15
:
57
:
34
grubba Exp $.
# RNTCL-version. Do NOT edit. sed -e "$PIKE_PATH_TRANSLATE" EOF
7433:
echo "Configuring bundle $bundle_source_dir in `pwd`..."
+
if test "$BUNDLE_FLAGS" = ""; then :; else
+
echo "BUNDLE_FLAGS: $BUNDLE_FLAGS"
+
fi
+
# INSTALL seems to be thrashed here, since we're in a # subshell unsetting it shouldn't be a problem. unset INSTALL
7443:
CFLAGS="$CCSHARED $CFLAGS" export CFLAGS
-
extra_configure_args=""
+
extra_configure_args="
$BUNDLE_FLAGS
"
# Some libraries insist in using config.guess; # they tend to have problems with rntcl... # Let's help them along.