]> arthur.barton.de Git - netatalk.git/commitdiff
Per target CFLAGS override AM_CFLAGS, fix for uam_dhx2 compilation error
authorFrank Lahm <franklahm@googlemail.com>
Tue, 1 Jun 2010 11:58:56 +0000 (13:58 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Tue, 1 Jun 2010 11:58:56 +0000 (13:58 +0200)
etc/uams/Makefile.am

index 64c09443b5a8978c441eb74fc9497e8f67b83c7a..687228e6232cbc9484b66ed17a7dae4f7f4f80b9 100644 (file)
@@ -89,12 +89,12 @@ uams_gss_la_SOURCES   = uams_gss.c
 # flags
 #
 
-# do that on behalf of the brokeness of automake 1.4
+# these should be sorted out, applying both to AM_CFLAGS is senseless
 AM_CFLAGS = @SSL_CFLAGS@ @LIBGCRYPT_CFLAGS@
 
 uams_pam_la_CFLAGS         = @PAM_CFLAGS@
-uams_dhx_pam_la_CFLAGS     = @PAM_CFLAGS@
-uams_dhx2_pam_la_CFLAGS    = @PAM_CFLAGS@
+uams_dhx_pam_la_CFLAGS     = @SSL_CFLAGS@ @PAM_CFLAGS@
+uams_dhx2_pam_la_CFLAGS    = @LIBGCRYPT_CFLAGS@ @PAM_CFLAGS@
 uams_gss_la_CFLAGS        = @GSSAPI_CFLAGS@
 
 uams_guest_la_LDFLAGS      = -module -avoid-version