build: fix FDELT_TYPE configure check
build: fix FDELT_TYPE configure check

This probably never worked properly. Confirmed working now with every compiler
I throw at it.

Rebased-From: 8021cf8

rdqw/sscoin,ivansib/sibcoin,PandaPayProject/PandaPay,ionomy/ion,crowning2/dash,biblepay/biblepay,terracoin/terracoin,ticclassic/ic,alejandromgk/Lunar,freelion93/mtucicoin,terracoin/terracoin,npccoin/npccoin,ColossusCoinXT/ColossusCoinXT,alejandromgk/Lunar,nightlydash/darkcoin,HeliumGas/helium,dexX7/mastercore,diggcoin/diggcoin,coinerd/krugercoin,ionomy/ion,jmgilbert2/energi,LIMXTEC/DMDv3,mastercoin-MSC/mastercore,slingcoin/sling-market,bmp02050/ReddcoinUpdates,cryptodev35/icash,ColossusCoinXT/ColossusCoinXT,coinkeeper/2015-06-22_19-00_ziftrcoin,PIVX-Project/PIVX,coinkeeper/2015-06-22_18-36_darkcoin,Mrs-X/PIVX,ivansib/sibcoin,skaht/bitcoin,aspirecoin/aspire,bickojima/bitzeny,coinkeeper/2015-06-22_19-07_digitalcoin,mobicoins/mobicoin-core,reddcoin-project/reddcoin,dev1972/Satellitecoin,axelxod/braincoin,presstab/PIVX,Petr-Economissa/gvidon,GroundRod/anoncoin,world-bank/unpay-core,DGCDev/argentum,nmarley/dash,Mrs-X/PIVX,HeliumGas/helium,grumpydevelop/singularity,nmarley/dash,jmgilbert2/energi,antcheck/antcoin,grumpydevelop/singularity,jmgilbert2/energi,terracoin/terracoin,biblepay/biblepay,projectinterzone/ITZ,keesdewit82/LasVegasCoin,crowning2/dash,Anoncoin/anoncoin,schinzelh/dash,mastercoin-MSC/mastercore,crowning-/dash,putinclassic/putic,48thct2jtnf/P,xuyangcn/opalcoin,mastercoin-MSC/mastercore,coinerd/krugercoin,coinkeeper/2015-06-22_18-36_darkcoin,crowning-/dash,dmrtsvetkov/flowercoin,cryptodev35/icash,xuyangcn/opalcoin,npccoin/npccoin,joroob/reddcoin,schinzelh/dash,cerebrus29301/crowncoin,diggcoin/diggcoin,48thct2jtnf/P,crowning2/dash,basicincome/unpcoin-core,DGCDev/argentum,freelion93/mtucicoin,DGCDev/digitalcoin,ColossusCoinXT/ColossusCoinXT,skaht/bitcoin,ArgonToken/ArgonToken,reddink/reddcoin,knolza/gamblr,ticclassic/ic,inkvisit/sarmacoins,mycointest/owncoin,bmp02050/ReddcoinUpdates,projectinterzone/ITZ,joroob/reddcoin,mobicoins/mobicoin-core,LIMXTEC/DMDv3,kbccoin/kbc,worldbit/worldbit,npccoin/npccoin,worldbit/worldbit,willwray/dash,knolza/gamblr,thelazier/dash,PIVX-Project/PIVX,midnight-miner/LasVegasCoin,crowning-/dash,HeliumGas/helium,Mrs-X/Darknet,dev1972/Satellitecoin,willwray/dash,presstab/PIVX,pinkevich/dash,48thct2jtnf/P,npccoin/npccoin,coinkeeper/2015-06-22_19-00_ziftrcoin,benzmuircroft/REWIRE.io,knolza/gamblr,lakepay/lake,blood2/bloodcoin-0.9,reddcoin-project/reddcoin,basicincome/unpcoin-core,rsdevgun16e/energi,litecoin-project/bitcoinomg,ticclassic/ic,knolza/gamblr,joroob/reddcoin,CoinProjects/AmsterdamCoin-v4,presstab/PIVX,nightlydash/darkcoin,benzmuircroft/REWIRE.io,biblepay/biblepay,cerebrus29301/crowncoin,rsdevgun16e/energi,aspirecoin/aspire,48thct2jtnf/P,slingcoin/sling-market,nightlydash/darkcoin,cerebrus29301/crowncoin,litecoin-project/bitcoinomg,putinclassic/putic,Bloom-Project/Bloom,puticcoin/putic,npccoin/npccoin,reddink/reddcoin,freelion93/mtucicoin,rdqw/sscoin,ahmedbodi/test2,DGCDev/digitalcoin,Bloom-Project/Bloom,coinkeeper/2015-06-22_18-36_darkcoin,litecoin-project/bitcoinomg,UdjinM6/dash,aspirecoin/aspire,Bloom-Project/Bloom,ionomy/ion,Bloom-Project/Bloom,DMDcoin/Diamond,dmrtsvetkov/flowercoin,CoinProjects/AmsterdamCoin-v4,Vsync-project/Vsync,rsdevgun16e/energi,PIVX-Project/PIVX,rdqw/sscoin,ivansib/sib16,nmarley/dash,dexX7/mastercore,keesdewit82/LasVegasCoin,puticcoin/putic,Mrs-X/Darknet,freelion93/mtucicoin,pelorusjack/BlockDX,Bloom-Project/Bloom,Darknet-Crypto/Darknet,ivansib/sibcoin,nmarley/dash,diggcoin/diggcoin,inkvisit/sarmacoins,DMDcoin/Diamond,Mrs-X/PIVX,willwray/dash,mycointest/owncoin,skaht/bitcoin,lakepay/lake,Petr-Economissa/gvidon,thelazier/dash,ionomy/ion,skaht/bitcoin,DMDcoin/Diamond,ediston/energi,pinkevich/dash,crowning-/dash,RyanLucchese/energi,dashpay/dash,ediston/energi,dmrtsvetkov/flowercoin,HeliumGas/helium,coinerd/krugercoin,ivansib/sib16,benzmuircroft/REWIRE.io,pelorusjack/BlockDX,PIVX-Project/PIVX,crowning-/dash,zenywallet/bitzeny,UdjinM6/dash,CoinProjects/AmsterdamCoin-v4,BlockchainTechLLC/3dcoin,grumpydevelop/singularity,nightlydash/darkcoin,putinclassic/putic,terracoin/terracoin,antcheck/antcoin,reddcoin-project/reddcoin,ediston/energi,biblepay/biblepay,ArgonToken/ArgonToken,nmarley/dash,Petr-Economissa/gvidon,grumpydevelop/singularity,UdjinM6/dash,kbccoin/kbc,zenywallet/bitzeny,Petr-Economissa/gvidon,bmp02050/ReddcoinUpdates,DGCDev/argentum,keesdewit82/LasVegasCoin,Vsync-project/Vsync,PandaPayProject/PandaPay,Vsync-project/Vsync,alejandromgk/Lunar,basicincome/unpcoin-core,willwray/dash,alejandromgk/Lunar,willwray/dash,greencoin-dev/digitalcoin,benzmuircroft/REWIRE.io,ivansib/sibcoin,ColossusCoinXT/ColossusCoinXT,dashpay/dash,dmrtsvetkov/flowercoin,coinkeeper/2015-06-22_18-36_darkcoin,jmgilbert2/energi,biblepay/biblepay,crowning2/dash,CoinProjects/AmsterdamCoin-v4,ZiftrCOIN/ziftrcoin,puticcoin/putic,pelorusjack/BlockDX,ivansib/sibcoin,CoinProjects/AmsterdamCoin-v4,Mrs-X/PIVX,bickojima/bitzeny,Mrs-X/Darknet,world-bank/unpay-core,aspirecoin/aspire,mobicoins/mobicoin-core,coinkeeper/2015-06-22_19-07_digitalcoin,world-bank/unpay-core,mycointest/owncoin,cerebrus29301/crowncoin,DMDcoin/Diamond,xuyangcn/opalcoin,diggcoin/diggcoin,ahmedbodi/test2,cryptodev35/icash,projectinterzone/ITZ,reddink/reddcoin,ahmedbodi/test2,Darknet-Crypto/Darknet,PIVX-Project/PIVX,BlockchainTechLLC/3dcoin,dexX7/mastercore,GroundRod/anoncoin,aspirecoin/aspire,coinkeeper/2015-06-22_19-07_digitalcoin,slingcoin/sling-market,antcheck/antcoin,48thct2jtnf/P,axelxod/braincoin,UdjinM6/dash,midnight-miner/LasVegasCoin,keesdewit82/LasVegasCoin,coinkeeper/2015-06-22_19-00_ziftrcoin,pinkevich/dash,pelorusjack/BlockDX,puticcoin/putic,Vsync-project/Vsync,thelazier/dash,LIMXTEC/DMDv3,ticclassic/ic,benzmuircroft/REWIRE.io,alejandromgk/Lunar,ivansib/sibcoin,rdqw/sscoin,bickojima/bitzeny,ionomy/ion,terracoin/terracoin,RyanLucchese/energi,Mrs-X/PIVX,crowning-/dash,xuyangcn/opalcoin,ediston/energi,Earlz/renamedcoin,blood2/bloodcoin-0.9,coinkeeper/2015-06-22_18-36_darkcoin,kbccoin/kbc,jmgilbert2/energi,lakepay/lake,ArgonToken/ArgonToken,DMDcoin/Diamond,BlockchainTechLLC/3dcoin,thelazier/dash,axelxod/braincoin,ahmedbodi/test2,pinkevich/dash,zenywallet/bitzeny,midnight-miner/LasVegasCoin,Vsync-project/Vsync,rsdevgun16e/energi,Anoncoin/anoncoin,dashpay/dash,PandaPayProject/PandaPay,jmgilbert2/energi,grumpydevelop/singularity,puticcoin/putic,DMDcoin/Diamond,Anoncoin/anoncoin,antcheck/antcoin,coinkeeper/2015-06-22_19-07_digitalcoin,projectinterzone/ITZ,BlockchainTechLLC/3dcoin,greencoin-dev/digitalcoin,DGCDev/digitalcoin,dashpay/dash,schinzelh/dash,bmp02050/ReddcoinUpdates,greencoin-dev/digitalcoin,Mrs-X/Darknet,worldbit/worldbit,DGCDev/digitalcoin,mycointest/owncoin,Darknet-Crypto/Darknet,lakepay/lake,coinkeeper/2015-06-22_19-07_digitalcoin,mycointest/owncoin,bickojima/bitzeny,HeliumGas/helium,PandaPayProject/PandaPay,freelion93/mtucicoin,freelion93/mtucicoin,midnight-miner/LasVegasCoin,ahmedbodi/test2,ivansib/sib16,mobicoins/mobicoin-core,nmarley/dash,dev1972/Satellitecoin,ZiftrCOIN/ziftrcoin,greencoin-dev/digitalcoin,presstab/PIVX,aspirecoin/aspire,ColossusCoinXT/ColossusCoinXT,schinzelh/dash,biblepay/biblepay,willwray/dash,nightlydash/darkcoin,ZiftrCOIN/ziftrcoin,LIMXTEC/DMDv3,Darknet-Crypto/Darknet,Earlz/renamedcoin,axelxod/braincoin,Earlz/renamedcoin,keesdewit82/LasVegasCoin,PandaPayProject/PandaPay,Darknet-Crypto/Darknet,DGCDev/argentum,axelxod/braincoin,pelorusjack/BlockDX,rsdevgun16e/energi,ZiftrCOIN/ziftrcoin,PIVX-Project/PIVX,kbccoin/kbc,zenywallet/bitzeny,puticcoin/putic,zenywallet/bitzeny,RyanLucchese/energi,world-bank/unpay-core,ahmedbodi/test2,dmrtsvetkov/flowercoin,Earlz/renamedcoin,ArgonToken/ArgonToken,reddink/reddcoin,GroundRod/anoncoin,slingcoin/sling-market,grumpydevelop/singularity,bickojima/bitzeny,ArgonToken/ArgonToken,CoinProjects/AmsterdamCoin-v4,dev1972/Satellitecoin,dev1972/Satellitecoin,xuyangcn/opalcoin,ZiftrCOIN/ziftrcoin,nmarley/dash,ionomy/ion,crowning2/dash,lakepay/lake,keesdewit82/LasVegasCoin,reddcoin-project/reddcoin,world-bank/unpay-core,presstab/PIVX,presstab/PIVX,reddcoin-project/reddcoin,basicincome/unpcoin-core,ColossusCoinXT/ColossusCoinXT,GroundRod/anoncoin,biblepay/biblepay,blood2/bloodcoin-0.9,PIVX-Project/PIVX,BlockchainTechLLC/3dcoin,biblepay/biblepay,joroob/reddcoin,cerebrus29301/crowncoin,xuyangcn/opalcoin,ticclassic/ic,GroundRod/anoncoin,knolza/gamblr,ticclassic/ic,rsdevgun16e/energi,pinkevich/dash,antcheck/antcoin,RyanLucchese/energi,antcheck/antcoin,Anoncoin/anoncoin,mastercoin-MSC/mastercore,reddcoin-project/reddcoin,benzmuircroft/REWIRE.io,inkvisit/sarmacoins,schinzelh/dash,Mrs-X/Darknet,putinclassic/putic,Petr-Economissa/gvidon,dashpay/dash,ivansib/sib16,thelazier/dash,48thct2jtnf/P,UdjinM6/dash,pelorusjack/BlockDX,projectinterzone/ITZ,slingcoin/sling-market,cryptodev35/icash,PIVX-Project/PIVX,DGCDev/argentum,rdqw/sscoin,HeliumGas/helium,blood2/bloodcoin-0.9,inkvisit/sarmacoins,RyanLucchese/energi,dev1972/Satellitecoin,mycointest/owncoin,putinclassic/putic,Mrs-X/PIVX,Earlz/renamedcoin,Bloom-Project/Bloom,lakepay/lake,npccoin/npccoin,midnight-miner/LasVegasCoin,terracoin/terracoin,pinkevich/dash,Darknet-Crypto/Darknet,midnight-miner/LasVegasCoin,PandaPayProject/PandaPay,LIMXTEC/DMDv3,slingcoin/sling-market,RyanLucchese/energi,ediston/energi,coinerd/krugercoin,worldbit/worldbit,mobicoins/mobicoin-core,basicincome/unpcoin-core,greencoin-dev/digitalcoin,LIMXTEC/DMDv3,cerebrus29301/crowncoin,dmrtsvetkov/flowercoin,inkvisit/sarmacoins,bmp02050/ReddcoinUpdates,ediston/energi,joroob/reddcoin,Petr-Economissa/gvidon,ivansib/sib16,diggcoin/diggcoin,mastercoin-MSC/mastercore,rdqw/sscoin,BlockchainTechLLC/3dcoin,Vsync-project/Vsync,Anoncoin/anoncoin,inkvisit/sarmacoins,alejandromgk/Lunar,dexX7/mastercore,coinkeeper/2015-06-22_19-00_ziftrcoin,schinzelh/dash,coinkeeper/2015-06-22_19-00_ziftrcoin,ivansib/sib16,worldbit/worldbit,axelxod/braincoin,skaht/bitcoin,cryptodev35/icash,worldbit/worldbit,kbccoin/kbc,Mrs-X/Darknet,ArgonToken/ArgonToken,putinclassic/putic,knolza/gamblr,litecoin-project/bitcoinomg,blood2/bloodcoin-0.9,diggcoin/diggcoin,DGCDev/digitalcoin,PIVX-Project/PIVX,reddink/reddcoin