summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2009-04-06 17:23:32 +0000
committerRich Megginson <rmeggins@redhat.com>2009-04-06 17:23:32 +0000
commit350238782ac664195a350d85c40768f5cc83f66e (patch)
tree914912b556094e60f5d9887d4f189203f88a0cad /configure
parent2e31d017f1c1acb90c00ae51e009836d3509677a (diff)
downloadds-350238782ac664195a350d85c40768f5cc83f66e.tar.gz
ds-350238782ac664195a350d85c40768f5cc83f66e.tar.xz
ds-350238782ac664195a350d85c40768f5cc83f66e.zip
add back support for linux ppc
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure63
1 files changed, 15 insertions, 48 deletions
diff --git a/configure b/configure
index 099f5285..c4209b18 100755
--- a/configure
+++ b/configure
@@ -23381,7 +23381,7 @@ initdir=/rc.d
# those with our 64 bit compiled product.
perlexec='/usr/bin/env perl'
case $host in
- i*86-*-linux*)
+ *-*-linux*)
cat >>confdefs.h <<\_ACEOF
#define XP_UNIX 1
@@ -23414,12 +23414,18 @@ _ACEOF
cat >>confdefs.h <<\_ACEOF
-#define CPU_x86
+#define _GNU_SOURCE 1
_ACEOF
+ platform="linux"
+ # relative to sysconfdir
+ initdir=/rc.d/init.d
+ # do arch specific linux stuff here
+ case $host in
+ i*86-*-linux*)
cat >>confdefs.h <<\_ACEOF
-#define _GNU_SOURCE 1
+#define CPU_x86
_ACEOF
@@ -23427,7 +23433,7 @@ cat >>confdefs.h <<\_ACEOF
#define ATOMIC_64BIT_OPERATIONS 1
_ACEOF
- echo "$as_me:$LINENO: checking whether __sync_add_and_fetch is declared" >&5
+ echo "$as_me:$LINENO: checking whether __sync_add_and_fetch is declared" >&5
echo $ECHO_N "checking whether __sync_add_and_fetch is declared... $ECHO_C" >&6
if test "${ac_cv_have_decl___sync_add_and_fetch+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -23499,41 +23505,8 @@ _ACEOF
fi
- platform="linux"
- # relative to sysconfdir
- initdir=/rc.d/init.d
- ;;
- x86_64-*-linux*)
-
-cat >>confdefs.h <<\_ACEOF
-#define XP_UNIX 1
-_ACEOF
-
-
-cat >>confdefs.h <<\_ACEOF
-#define Linux 1
-_ACEOF
-
-
-cat >>confdefs.h <<\_ACEOF
-#define LINUX 1
-_ACEOF
-
-
-cat >>confdefs.h <<\_ACEOF
-#define LINUX2_0 1
-_ACEOF
-
-
-cat >>confdefs.h <<\_ACEOF
-#define LINUX2_2 1
-_ACEOF
-
-
-cat >>confdefs.h <<\_ACEOF
-#define LINUX2_4 1
-_ACEOF
-
+ ;;
+ x86_64-*-linux*)
cat >>confdefs.h <<\_ACEOF
#define CPU_x86_64
@@ -23541,15 +23514,10 @@ _ACEOF
cat >>confdefs.h <<\_ACEOF
-#define _GNU_SOURCE 1
-_ACEOF
-
-
-cat >>confdefs.h <<\_ACEOF
#define ATOMIC_64BIT_OPERATIONS 1
_ACEOF
- echo "$as_me:$LINENO: checking whether __sync_add_and_fetch is declared" >&5
+ echo "$as_me:$LINENO: checking whether __sync_add_and_fetch is declared" >&5
echo $ECHO_N "checking whether __sync_add_and_fetch is declared... $ECHO_C" >&6
if test "${ac_cv_have_decl___sync_add_and_fetch+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -23621,9 +23589,8 @@ _ACEOF
fi
- platform="linux"
- # relative to sysconfdir
- initdir=/rc.d/init.d
+ ;;
+ esac
;;
ia64-hp-hpux*)