I'm looking over old bug reports before uploading 2.67.
Using the following configure.ac:
AC_INIT
AC_PREREQ(2.59)
AC_LANG_PUSH(C++)
AC_CHECK_DECL(std::setlocale, [AC_DEFINE([HAVE_SETLOCALE], [], [Define if
setlocale is available in clocale])], , [#include <clocale>])
AC_OUTPUT
I confirmed that this bug is still present. Notably, the
following appears in config.log:
conftest.cpp:14:12: warning: extra tokens at end of #ifndef directive
and by editing the configure script directly I found that indeed,
the generated program was still this:
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
/* end confdefs.h. */
#include <clocale>
int
main ()
{
#ifndef std::setlocale
#ifdef __cplusplus
(void) std::setlocale;
#else
(void) std::setlocale;
#endif
#endif
;
return 0;
}
--
Ben Pfaff
http://benpfaff.org
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]