There is a small bug in a chek of PICFLAGS in configure. It's not taken into account that value of a variable could have several words, space separated. So, the following message is produced during the run of configure: checking whether to use pam_smbpass... yes test: x-fPIC: unexpected operator checking for library containing crypt... -lcrypt The fix is easy - just take variavle in quotes. Patch is attached. Also, it's possible to use: if test -z $PICFLAGS ; then construction instead. Maybe, it's better option.
Created attachment 1875 [details] Fix
Fixed - thanks! There was another unescaped usage of $PICFLAGS in the configure instructions for smbwrapper.