--- Linux-PAM-0.78/configure.in.org 2006-05-15 19:21:09.000000000 +0200 +++ Linux-PAM-0.78/configure.in.org 2006-05-15 19:21:15.000000000 +0200 @@ -308,7 +308,7 @@ -Wnested-externs -Winline -Wshadow" if test "$GCC" = yes; then - CC=gcc ; AC_SUBST(CC) + AC_SUBST(CC) ### May need per-OS attention ### Example: -D_POSIX_SOURCE: needed on Linux but harms Solaris. case $OS in @@ -318,10 +318,10 @@ WARNINGS="$GCC_WARNINGS" PIC="-fPIC" DYNTYPE=so - LD=gcc + LD="$CC" LD_L="$CC -shared $LDFLAGS" RANLIB=: - STRIP=strip + STRIP=${CHOST}-strip CC_STATIC="-Xlinker -export-dynamic" ;; sunos)