This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
if test ${build} != ${host}; then some defaults else AC_PROG_CC fi
AC_TRY_COMPILE
ac_objext is set at the expansion of AC_PROG_CC and if you take the if branch, it never gets set.
Does anyone reading this know what the right thing to do is? Is there anything in the autoconf documentation about not using some macros inside conditional statements?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |