Fix C_CXX_OPTION macro used in configure.ac.
Fix C_CXX_OPTION macro used in configure.ac.

This macro tests whether the given command-line argument is supported by
the compiler. This commit fixes two short-comings:
1) The test compiled, but didn't link a test file. Some of the arguments
  tested are at least partially link-time ones.
2) The test didn't check the exit status of the compiler.

In particular, this change fixes a problem on our AIX build machine,
where -fstack-protector is recognized by the compiler, but produces an
error at link time.

djw8605/condor,zhangzhehust/htcondor,zhangzhehust/htcondor,djw8605/condor,zhangzhehust/htcondor,djw8605/condor,neurodebian/htcondor,djw8605/htcondor,mambelli/osg-bosco-marco,djw8605/condor,bbockelm/condor-network-accounting,bbockelm/condor-network-accounting,clalancette/condor-dcloud,bbockelm/condor-network-accounting,djw8605/htcondor,zhangzhehust/htcondor,neurodebian/htcondor,bbockelm/condor-network-accounting,mambelli/osg-bosco-marco,htcondor/htcondor,neurodebian/htcondor,neurodebian/htcondor,bbockelm/condor-network-accounting,htcondor/htcondor,bbockelm/condor-network-accounting,clalancette/condor-dcloud,clalancette/condor-dcloud,zhangzhehust/htcondor,djw8605/htcondor,djw8605/condor,djw8605/htcondor,zhangzhehust/htcondor,djw8605/htcondor,mambelli/osg-bosco-marco,htcondor/htcondor,djw8605/condor,neurodebian/htcondor,djw8605/condor,htcondor/htcondor,djw8605/condor,bbockelm/condor-network-accounting,neurodebian/htcondor,clalancette/condor-dcloud,mambelli/osg-bosco-marco,neurodebian/htcondor,htcondor/htcondor,mambelli/osg-bosco-marco,htcondor/htcondor,clalancette/condor-dcloud,neurodebian/htcondor,zhangzhehust/htcondor,mambelli/osg-bosco-marco,djw8605/htcondor,zhangzhehust/htcondor,bbockelm/condor-network-accounting,djw8605/htcondor,neurodebian/htcondor,htcondor/htcondor,clalancette/condor-dcloud,htcondor/htcondor,mambelli/osg-bosco-marco,mambelli/osg-bosco-marco,clalancette/condor-dcloud,djw8605/htcondor,zhangzhehust/htcondor,djw8605/htcondor