File pam_smb-2.0.0rc6.patch of Package pam_smb

--- configure.in
+++ configure.in
@@ -47,8 +47,7 @@
         test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH])
 fi
 
-AC_PROG_CC_WORKS
-AC_PROG_CC_GNU
+AC_PROG_CC
 
 if test $ac_cv_prog_gcc = yes; then
         GCC=yes
@@ -83,8 +82,6 @@
 dnl Checks for programs.
 
 AC_PROG_CC_NO_G
-AC_PROG_CC_WORKS
-AC_PROG_CC_GNU
 
 AC_PROG_MAKE_SET
 AC_PROG_INSTALL
@@ -98,7 +95,7 @@
 fi
 
 if test x"$has_pam_header" != x"yes"; then
-	AC_MSG_ERROR(cannot find PAM Header files, please install your system pam development files);
+	AC_MSG_ERROR([cannot find PAM Header files, please install your system pam development files]);
 fi
 
 AC_CHECK_HEADERS(security/pam_modules.h pam/pam_modules.h shadow.h unistd.h sys/vfs.h)
--- pamsmbm/Makefile
+++ pamsmbm/Makefile
@@ -4,7 +4,7 @@
 #
 #
 
-CFLAGS = -DHAVE_CONFIG_H -I../include -I..
+CFLAGS += -DHAVE_CONFIG_H -I../include -I..
 
 LIBAUTHSH = pam_smb_auth$(SHLIB_SUFFIX)
 
openSUSE Build Service is sponsored by