Fixes legacy builds
Bugfix for 1f341404. You can't use HAVE_ macros unless including
autoconfig.h...
Merge pull request #621 from frank-dittrich/bleeding-jumbo

Bleeding jumbo: more "tunable cost" changes
allow wildcards.  I use config-cygwin.cache or config-mingw.cache in the same dir
Bug fixes in the setenv jtr built function
Allow disable usage of pkg-config
Moved a few more non-portable functions into jumbo.h, and a few blind function defines for _MSC_VER from misc.h
Added check for -ldl OR windows.h and if neither, then do NOT add any GPU code.  There is a warning emitted in such case for intel chips.  Also changed common-gpu.c to properly use the WINDOWS_H code.  This still should work on Makefile.orig, since HAVE_LIBDL is defined for GPU targets
Fixes for HAVE_LIBDL or HAVE_WINDOWS_H for work. Also added to plugin.c
Set AC_BUILT to 1. Also, added @PTHREAD_CFLAGS@ to uaf2john.  It would not link on mingw without this
Wrapped all unistd.h in wrappers.  Made a wrapper for other headers (fcntl.h, etc). Switched to using -std=c99 in MinGW, which eliminates most of the printf formatting issues, BUT which caused some porting issues
The change for krb5 in 41969aec had the side effect LIBS was polluted.
Don't add OpenCL paths if --disable-opencl.  Revert bogus changes for
OpenCL/CUDA vs HAVE_DL and handle it properly in common-gpu.c instead.
I wondered where all crazy libs checks came from. They are OS-specific!
So let's do them only when appropriate.
Silly typo
Reduced this OMP_SCALE a lot. This was taking a LONG time to run even -test=0
Revert the redundant "=1" for -D. Drop a large block of comments
that does not belong in source. Change more 'dnl' to backslashes.
fix memory leak in krb5-23 format
Fix for legacy build issue with LLd
Merge branch 'bleeding-jumbo' of git://github.com/magnumripper/JohnTheRipper into bleeding-jumbo