| 1 |
|
|---|
| 2 | AC_DEFUN_ONCE(AC__LIBREPLACE_ONLY_CC_CHECKS_START,
|
|---|
| 3 | [
|
|---|
| 4 | echo "LIBREPLACE_CC_CHECKS: START"
|
|---|
| 5 | ])
|
|---|
| 6 |
|
|---|
| 7 | AC_DEFUN_ONCE(AC__LIBREPLACE_ONLY_CC_CHECKS_END,
|
|---|
| 8 | [
|
|---|
| 9 | echo "LIBREPLACE_CC_CHECKS: END"
|
|---|
| 10 | ])
|
|---|
| 11 |
|
|---|
| 12 | dnl
|
|---|
| 13 | dnl
|
|---|
| 14 | dnl AC_LIBREPLACE_CC_CHECKS
|
|---|
| 15 | dnl
|
|---|
| 16 | dnl Note: we need to use m4_define instead of AC_DEFUN because
|
|---|
| 17 | dnl of the ordering of tests
|
|---|
| 18 | dnl
|
|---|
| 19 | dnl
|
|---|
| 20 | m4_define(AC_LIBREPLACE_CC_CHECKS,
|
|---|
| 21 | [
|
|---|
| 22 | AC__LIBREPLACE_ONLY_CC_CHECKS_START
|
|---|
| 23 |
|
|---|
| 24 | dnl stop the C89 attempt by autoconf - if autoconf detects -Ae it will enable it
|
|---|
| 25 | dnl which conflicts with C99 on HPUX
|
|---|
| 26 | ac_cv_prog_cc_Ae=no
|
|---|
| 27 |
|
|---|
|
|---|