Some versions of automake give us i386-apple-darwin instead of 1686-apple-darwin
authordpage <dpage@a7884b65-44f6-0310-8a51-81a127f17b15>
Mon, 2 Jun 2008 13:21:18 +0000 (13:21 +0000)
committerdpage <dpage@a7884b65-44f6-0310-8a51-81a127f17b15>
Mon, 2 Jun 2008 13:21:18 +0000 (13:21 +0000)
git-svn-id: svn://svn.pgadmin.org/trunk/pgadmin3@7334 a7884b65-44f6-0310-8a51-81a127f17b15

acinclude.m4

index f8fbecc41ec752d36e12afb562d6a30392a9c90c..75065750bc62c3194cb1f624e13fc97e2d742a02 100644 (file)
@@ -471,7 +471,7 @@ AC_DEFUN([SETUP_POSTGRESQL],
                                 PG_SSL="no"
                         fi
                 else
-                       if test "$build_cpu-$build_vendor" = "powerpc-apple" -o "$build_cpu-$build_vendor" = "i686-apple"
+                       if test "$build_cpu-$build_vendor" = "powerpc-apple" -o "$build_cpu-$build_vendor" = "i386-apple" -o "$build_cpu-$build_vendor" = "i686-apple"
                        then
                                 AC_MSG_CHECKING(for SSL_connect in -lpq)
                                if test "$(otool -L ${PG_LIB}/libpq.?.dylib | grep -c libssl)" -gt 0
@@ -508,7 +508,7 @@ AC_DEFUN([SETUP_POSTGRESQL],
                                 PG_KRB5="no"
                         fi
                 else
-                       if test "$build_cpu-$build_vendor" = "powerpc-apple" -o "$build_cpu-$build_vendor" = "i686-apple"
+                       if test "$build_cpu-$build_vendor" = "powerpc-apple" -o "$build_cpu-$build_vendor" = "i386-apple" -o "$build_cpu-$build_vendor" = "i686-apple"
                        then
                                 AC_MSG_CHECKING(for krb5_free_principle in -lpq)
                                if test "$(otool -L ${PG_LIB}/libpq.?.dylib | grep -c libkrb5)" -gt 0
@@ -543,7 +543,7 @@ AC_DEFUN([SETUP_POSTGRESQL],
                
                if test "$BUILD_STATIC" = "yes"
                then
-                       if test "$build_cpu-$build_vendor" = "powerpc-apple" -o "$build_cpu-$build_vendor" = "i686-apple"
+                       if test "$build_cpu-$build_vendor" = "powerpc-apple" -o "$build_cpu-$build_vendor" = "i386-apple" -o "$build_cpu-$build_vendor" = "i686-apple"
                        then
                                CRYPT_LIB=""
                        else