r16340: Commit Bjoern's fix for the AIX PIC suffix. 'make test' still does the first
authorVolker Lendecke <vlendec@samba.org>
Sun, 18 Jun 2006 09:56:45 +0000 (09:56 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:17:36 +0000 (11:17 -0500)
tests, and vfstest is still able to load modules. Looks like this is ok :-)

Volker
(This used to be commit c08bfdf87a1368a5d6c9a58ddb8ba379d969941d)

source3/configure.in

index e5a6a99f0ecdb5a3930906b8a919cca26b50ba4c..9dce9e0e2c92a0da462e4868db764b258fbfad64 100644 (file)
@@ -1719,6 +1719,9 @@ if test "$enable_shared" = "yes"; then
                        LDSHFLAGS="-Wl,-G,-bexpall"
                        DYNEXP="-Wl,-brtl,-bexpall,-bbigtoc"
                        PICFLAGS="-O2"
+                       # as AIX code is always position independent...
+                       # .po will just create compile warnings, use .o:
+                       PICSUFFIX="o"
                        if test "${GCC}" != "yes"; then
                                ## for funky AIX compiler using strncpy()
                                CFLAGS="$CFLAGS -D_LINUX_SOURCE_COMPAT -qmaxmem=32000"