dnl
AC_DEFUN(AC_ENABLE,
[AC_OBSOLETE([$0], [; instead use AC_ARG_ENABLE])dnl
-AC_ARG_ENABLE([$1], [--enable-$1], [$2], [$3])dnl
+AC_ARG_ENABLE([$1], [ --enable-$1], [$2], [$3])dnl
])dnl
dnl
dnl AC_ARG_WITH(PACKAGE, HELP-STRING, ACTION-IF-TRUE [, ACTION-IF-FALSE])
dnl
AC_DEFUN(AC_WITH,
[AC_OBSOLETE([$0], [; instead use AC_ARG_WITH])dnl
-AC_ARG_WITH([$1], [--with-$1], [$2], [$3])dnl
+AC_ARG_WITH([$1], [ --with-$1], [$2], [$3])dnl
])dnl
dnl
dnl AC_CONFIG_HEADER(HEADER-TO-CREATE ...)
AC_DEFUN(AC_EGREP_CPP,
[AC_REQUIRE_CPP()dnl
cat > conftest.${ac_ext} <<EOF
-#line __LINE__ "configure"
+[#]line __oline__ "configure"
#include "confdefs.h"
[$2]
EOF
AC_DEFUN(AC_TRY_LINK,
[cat > conftest.${ac_ext} <<EOF
dnl This sometimes fails to find confdefs.h, for some reason.
-dnl [#]line __LINE__ "[$]0"
-#line __LINE__ "configure"
+dnl [#]line __oline__ "[$]0"
+[#]line __oline__ "configure"
#include "confdefs.h"
ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus
extern "C" void exit(int);
])
else
cat > conftest.${ac_ext} <<EOF
-#line __LINE__ "configure"
+[#]line __oline__ "configure"
#include "confdefs.h"
ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus
extern "C" void exit(int);
AC_DEFUN(AC_TRY_CPP,
[AC_REQUIRE_CPP()dnl
cat > conftest.${ac_ext} <<EOF
-#line __LINE__ "configure"
+[#]line __oline__ "configure"
#include "confdefs.h"
[$1]
EOF
# Put the real line numbers into configure to make config.log more helpful.
awk '
-/__LINE__/ { printf "%d:", NR + 1 }
+/__oline__/ { printf "%d:", NR + 1 }
{ print }
' $tmpout | sed '
-/__LINE__/s/^\([0-9][0-9]*\):\(.*\)__LINE__\(.*\)$/\2\1\3/
+/__oline__/s/^\([0-9][0-9]*\):\(.*\)__oline__\(.*\)$/\2\1\3/
'
rm -f $tmpout
# Put the real line numbers into configure to make config.log more helpful.
awk '
-/__LINE__/ { printf "%d:", NR + 1 }
+/__oline__/ { printf "%d:", NR + 1 }
{ print }
' $tmpout | sed '
-/__LINE__/s/^\([0-9][0-9]*\):\(.*\)__LINE__\(.*\)$/\2\1\3/
+/__oline__/s/^\([0-9][0-9]*\):\(.*\)__oline__\(.*\)$/\2\1\3/
'
rm -f $tmpout
# Put the real line numbers into configure to make config.log more helpful.
awk '
-/__LINE__/ { printf "%d:", NR + 1 }
+/__oline__/ { printf "%d:", NR + 1 }
{ print }
' $tmpout | sed '
-/__LINE__/s/^\([0-9][0-9]*\):\(.*\)__LINE__\(.*\)$/\2\1\3/
+/__oline__/s/^\([0-9][0-9]*\):\(.*\)__oline__\(.*\)$/\2\1\3/
'
rm -f $tmpout
dnl
AC_DEFUN(AC_ENABLE,
[AC_OBSOLETE([$0], [; instead use AC_ARG_ENABLE])dnl
-AC_ARG_ENABLE([$1], [--enable-$1], [$2], [$3])dnl
+AC_ARG_ENABLE([$1], [ --enable-$1], [$2], [$3])dnl
])dnl
dnl
dnl AC_ARG_WITH(PACKAGE, HELP-STRING, ACTION-IF-TRUE [, ACTION-IF-FALSE])
dnl
AC_DEFUN(AC_WITH,
[AC_OBSOLETE([$0], [; instead use AC_ARG_WITH])dnl
-AC_ARG_WITH([$1], [--with-$1], [$2], [$3])dnl
+AC_ARG_WITH([$1], [ --with-$1], [$2], [$3])dnl
])dnl
dnl
dnl AC_CONFIG_HEADER(HEADER-TO-CREATE ...)
AC_DEFUN(AC_EGREP_CPP,
[AC_REQUIRE_CPP()dnl
cat > conftest.${ac_ext} <<EOF
-#line __LINE__ "configure"
+[#]line __oline__ "configure"
#include "confdefs.h"
[$2]
EOF
AC_DEFUN(AC_TRY_LINK,
[cat > conftest.${ac_ext} <<EOF
dnl This sometimes fails to find confdefs.h, for some reason.
-dnl [#]line __LINE__ "[$]0"
-#line __LINE__ "configure"
+dnl [#]line __oline__ "[$]0"
+[#]line __oline__ "configure"
#include "confdefs.h"
ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus
extern "C" void exit(int);
])
else
cat > conftest.${ac_ext} <<EOF
-#line __LINE__ "configure"
+[#]line __oline__ "configure"
#include "confdefs.h"
ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus
extern "C" void exit(int);
AC_DEFUN(AC_TRY_CPP,
[AC_REQUIRE_CPP()dnl
cat > conftest.${ac_ext} <<EOF
-#line __LINE__ "configure"
+[#]line __oline__ "configure"
#include "confdefs.h"
[$1]
EOF