]> git.sur5r.net Git - bacula/bacula/commitdiff
Detect acl_get() on AIX to enable ACL code
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 10 Sep 2010 13:05:12 +0000 (15:05 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 20 Sep 2010 16:33:59 +0000 (18:33 +0200)
bacula/autoconf/configure.in

index 7341ec1890617325d63f6191fe88a37ef4bb54dc..834d1a090d6f84ac07d675af1bee8c19a36df1e2 100644 (file)
@@ -2557,7 +2557,14 @@ if test x$support_acl = xyes -o x$support_acl = xauto; then
                                      have_extended_acl=yes
                                  ]
                               )
-                          ]
+                          ], [
+                               dnl check for AIX
+                               AC_CHECK_FUNC(acl_get,
+                                 [
+                                     have_acl=yes
+                                 ]
+                              )
+                              ]
                        )
                    ]
                 )