Revert commit 74409cb, we do need to save the CFLAGS and LDFLAGS.

It however needs to be done properly.

    * Makefile.in: Regenerated
    * configure: Regenerated
    * configure.ac: Reverted
    * src/2dfir/Makefile.in: Regenerated
    * src/adpcm/Makefile.in: Regenerated
    * src/blowfish/Makefile.in: Regenerated
    * src/bs/Makefile.in: Regenerated
    * src/bsort100/Makefile.in: Regenerated
    * src/bubblesort/Makefile.in: Regenerated
    * src/cnt/Makefile.in: Regenerated
    * src/common.mk.am: Reverted
    * src/compress/Makefile.in: Regenerated
    * src/cover/Makefile.in: Regenerated
    * src/crc/Makefile.in: Regenerated
    * src/crc32/Makefile.in: Regenerated
    * src/ctl-stack/Makefile.in: Regenerated
    * src/ctl-string/Makefile.in: Regenerated
    * src/ctl-vector/Makefile.in: Regenerated
    * src/cubic/Makefile.in: Regenerated
    * src/dhrystone/Makefile.in: Regenerated
    * src/dijkstra/Makefile.in: Regenerated
    * src/dtoa/Makefile.in: Regenerated
    * src/duff/Makefile.in: Regenerated
    * src/edn/Makefile.in: Regenerated
    * src/expint/Makefile.in: Regenerated
    * src/fac/Makefile.in: Regenerated
    * src/fasta/Makefile.in: Regenerated
    * src/fdct/Makefile.in: Regenerated
    * src/fft/Makefile.in: Regenerated
    * src/fibcall/Makefile.in: Regenerated
    * src/fir/Makefile.in: Regenerated
    * src/float_matmult/Makefile.in: Regenerated
    * src/frac/Makefile.in: Regenerated
    * src/gdb-advance/Makefile.in: Regenerated
    * src/gdb-all-types/Makefile.in: Regenerated
    * src/gdb-anon/Makefile.in: Regenerated
    * src/gdb-arrayidx/Makefile.in: Regenerated
    * src/gdb-async/Makefile.in: Regenerated
    * src/gdb-bitfields/Makefile.in: Regenerated
    * src/gdb-constvars/Makefile.in: Regenerated
    * src/gdb-store/Makefile.in: Regenerated
    * src/huffbench/Makefile.in: Regenerated
    * src/insertsort/Makefile.in: Regenerated
    * src/int_matmult/Makefile.in: Regenerated
    * src/janne_complex/Makefile.in: Regenerated
    * src/jfdctint/Makefile.in: Regenerated
    * src/lcdnum/Makefile.in: Regenerated
    * src/levenshtein/Makefile.in: Regenerated
    * src/lms/Makefile.in: Regenerated
    * src/ludcmp/Makefile.in: Regenerated
    * src/mergesort/Makefile.in: Regenerated
    * src/miniz/Makefile.in: Regenerated
    * src/minver/Makefile.in: Regenerated
    * src/nbody/Makefile.in: Regenerated
    * src/ndes/Makefile.in: Regenerated
    * src/nettle-arcfour/Makefile.in: Regenerated
    * src/nettle-cast128/Makefile.in: Regenerated
    * src/nettle-des/Makefile.in: Regenerated
    * src/nettle-md5/Makefile.in: Regenerated
    * src/newlib-exp/Makefile.in: Regenerated
    * src/newlib-log/Makefile.in: Regenerated
    * src/newlib-mod/Makefile.in: Regenerated
    * src/newlib-sqrt/Makefile.in: Regenerated
    * src/ns/Makefile.in: Regenerated
    * src/nsichneu/Makefile.in: Regenerated
    * src/prime/Makefile.in: Regenerated
    * src/qsort/Makefile.in: Regenerated
    * src/qurt/Makefile.in: Regenerated
    * src/recursion/Makefile.in: Regenerated
    * src/rijndael/Makefile.in: Regenerated
    * src/select/Makefile.in: Regenerated
    * src/sglib-arraybinsearch/Makefile.in: Regenerated
    * src/sglib-arraysort/Makefile.in: Regenerated
    * src/sglib-arraysort1/Makefile.in: Regenerated
    * src/sglib-dllist/Makefile.in: Regenerated
    * src/sglib-hashtable/Makefile.in: Regenerated
    * src/sglib-listinsertsort/Makefile.in: Regenerated
    * src/sglib-listinsertsort1/Makefile.in: Regenerated
    * src/sglib-listsort/Makefile.in: Regenerated
    * src/sglib-queue/Makefile.in: Regenerated
    * src/sglib-rbtree/Makefile.in: Regenerated
    * src/sha/Makefile.in: Regenerated
    * src/slre/Makefile.in: Regenerated
    * src/sqrt/Makefile.in: Regenerated
    * src/st/Makefile.in: Regenerated
    * src/statemate/Makefile.in: Regenerated
    * src/stringsearch1/Makefile.in: Regenerated
    * src/strstr/Makefile.in: Regenerated
    * src/tarai/Makefile.in: Regenerated
    * src/template/Makefile.in: Regenerated
    * src/ud/Makefile.in: Regenerated
    * src/whetstone/Makefile.in: Regenerated
    * src/wikisort/Makefile.in: Regenerated
Revert "Saving the CFLAGS and LDFLAGS seems unnecessary."

This reverts commit 74409cb053fa6545deec9255b9d773cdfc7ec4d6.

Conflicts:
	ChangeLog
Rewrite the saving of LDFLAGS in configure.

save_LDFLAGS is used internally by autoconf, so destroys our variable.
The previous value must be saved otherwise LDFLAGS gets substituted in
twice, causing duplicate libraries and linkerscripts on some platforms.
Duplicate linkerscripts is particularly a problem, causing everything to
go horrifically wrong.

    * configure: Regenerated
    * configure.ac: Use confsave_LDFLAGS instead of save_LDFLAGS
    * src/cubic/Makefile.am: Rewrite to add LDFLAGS to AM_LDFLAGS, since
        using program_LDFLAGS causes AM_LDFLAGS not to be included
    * src/cubic/Makefile.in: Regenerated
    * src/fft/Makefile.am: Rewrite to add LDFLAGS to AM_LDFLAGS, since
        using program_LDFLAGS causes AM_LDFLAGS not to be included
    * src/fft/Makefile.in: Regenerated
    * src/float_matmult/Makefile.am: Rewrite to add LDFLAGS to
        AM_LDFLAGS, since using program_LDFLAGS causes AM_LDFLAGS not to
        be included
    * src/float_matmult/Makefile.in: Regenerated
    * src/nbody/Makefile.am: Rewrite to add LDFLAGS to AM_LDFLAGS, since
        using program_LDFLAGS causes AM_LDFLAGS not to be included
    * src/nbody/Makefile.in: Regenerated
    * src/st/Makefile.am: Rewrite to add LDFLAGS to AM_LDFLAGS, since
        using program_LDFLAGS causes AM_LDFLAGS not to be included
    * src/st/Makefile.in: Regenerated
    * src/trio-snprintf/Makefile.in: Rewrite to add LDFLAGS to
        AM_LDFLAGS, since using program_LDFLAGS causes AM_LDFLAGS not to
        be included
    * src/trio-sscanf/Makefile.in: Regenerated
    * src/whetstone/Makefile.am: Rewrite to add LDFLAGS to AM_LDFLAGS,
        since using program_LDFLAGS causes AM_LDFLAGS not to be included
    * src/whetstone/Makefile.in: Regenerated
    * src/wikisort/Makefile.am: Rewrite to add LDFLAGS to AM_LDFLAGS,
        since using program_LDFLAGS causes AM_LDFLAGS not to be included
    * src/wikisort/Makefile.in: Regenerated
Merge branch 'jp' of ssh://github.com/mageec/beebs into jp
Rewrite LDFLAGS configuration for stb_perlin to avoid overriding AM_LDFLAGS

    * src/stb_perlin/Makefile.am: Rewrite to add LDFLAGS to AM_LDFLAGS
    * src/stb_perlin/Makefile.in: Regenerated