1 --- misc/db-4.7.25.NC/dist/config.guess 2010-08-19 03:29:33.000000000 -0500
2 +++ misc/build/db-4.7.25.NC/dist/config.guess 2010-08-19 03:32:57.000000000 -0500
9 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
10 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
14 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
16 + if [ "$IBM_REV" == "V7BETA" ]; then
17 + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
19 echo ${IBM_ARCH}-ibm-aix${IBM_REV}
22 --- misc/db-4.7.25.NC/dist/configure 2010-09-15 10:06:54.000000000 -0500
23 +++ misc/build/db-4.7.25.NC/dist/configure 2010-09-15 10:12:41.000000000 -0500
25 # Don't override anything if it's already set from the environment.
32 CPPFLAGS="$CPPFLAGS -D_LINUX_SOURCE_COMPAT";;
34 # whether `pass_all' will *always* work, you probably want this one.
39 lt_cv_deplibs_check_method=pass_all
44 # See if GNU ld supports shared libraries.
46 - aix3* | aix4* | aix5*)
48 # On AIX/PPC, the GNU linker is very broken
49 if test "$host_cpu" != ia64; then
57 if test "$host_cpu" = ia64; then
58 # On IA64, the linker does run time linking by default, so we don't
59 # have to do anything special.
61 # Test if we are trying to use run time linking or normal
62 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
63 # need to do runtime linking.
64 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
65 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
66 for ld_flag in $LDFLAGS; do
67 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
68 aix_use_runtimelinking=yes
69 @@ -10410,7 +10410,7 @@
70 soname_spec='${libname}${release}${shared_ext}$major'
78 @@ -11826,7 +11826,7 @@
84 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
85 test "$enable_shared" = yes && enable_static=no
87 @@ -12670,7 +12670,7 @@
88 # FIXME: insert proper C++ library support
93 if test "$host_cpu" = ia64; then
94 # On IA64, the linker does run time linking by default, so we don't
95 # have to do anything special.
96 @@ -12683,7 +12683,7 @@
97 # Test if we are trying to use run time linking or normal
98 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
99 # need to do runtime linking.
100 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
101 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
102 for ld_flag in $LDFLAGS; do
105 @@ -13805,7 +13805,7 @@
111 # All AIX code is PIC.
112 if test "$host_cpu" = ia64; then
113 # AIX 5 now supports IA64 processor
114 @@ -14201,7 +14201,7 @@
116 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
120 # If we're using GNU nm, then we don't want the "-C" option.
121 # -C means demangle to AIX nm, but means don't demangle with GNU nm
122 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
123 @@ -14334,7 +14334,7 @@
124 soname_spec='${libname}${release}${shared_ext}$major'
132 @@ -15455,7 +15455,7 @@
133 postinstall_cmds='$RANLIB $lib'
138 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
139 test "$enable_shared" = yes && enable_static=no
141 @@ -15966,7 +15966,7 @@
143 # See if GNU ld supports shared libraries.
145 - aix3* | aix4* | aix5*)
147 # On AIX/PPC, the GNU linker is very broken
148 if test "$host_cpu" != ia64; then
150 @@ -16176,7 +16176,7 @@
156 if test "$host_cpu" = ia64; then
157 # On IA64, the linker does run time linking by default, so we don't
158 # have to do anything special.
159 @@ -16917,7 +16917,7 @@
160 soname_spec='${libname}${release}${shared_ext}$major'
168 @@ -18540,7 +18540,7 @@
170 # See if GNU ld supports shared libraries.
172 - aix3* | aix4* | aix5*)
174 # On AIX/PPC, the GNU linker is very broken
175 if test "$host_cpu" != ia64; then
177 @@ -18750,7 +18750,7 @@
183 if test "$host_cpu" = ia64; then
184 # On IA64, the linker does run time linking by default, so we don't
185 # have to do anything special.
186 @@ -19511,7 +19511,7 @@
187 soname_spec='${libname}${release}${shared_ext}$major'
195 --- misc/db-4.7.25.NC/dist/configure.ac 2010-09-15 10:06:54.000000000 -0500
196 +++ misc/build/db-4.7.25.NC/dist/configure.ac 2010-09-15 10:08:45.000000000 -0500
198 # Don't override anything if it's already set from the environment.
205 CPPFLAGS="$CPPFLAGS -D_LINUX_SOURCE_COMPAT";;