ѕ3/configue: set Tru64 cc's PIC switch right (none)
[rusty/samba.git] / source3 / configure.in
index 011bd1afec749e10a0bff69275a5f20a3242da78..17b5470905e147f0609c9677b97087e69aa82b85 100644 (file)
@@ -1736,7 +1736,9 @@ DSO_EXPORTS=""
                        BLDSHARED="true"
                        LDSHFLAGS="-shared"
                        SONAMEFLAG="-Wl,-soname,"
-                       PICFLAG="-fPIC"
+                       if test "${GCC}" = "yes"; then
+                               PICFLAG="-fPIC"
+                       fi
                        AC_DEFINE(STAT_ST_BLOCKSIZE,512)
                        AC_DEFINE(BROKEN_GETGRNAM,1,[Does getgrnam work correctly])
                        for flags in "-expect_unresolved '*'" "-Wl,-expect_unresolved,'*'" ; do