diff --git a/configure b/configure index fd96ba80681..efcada6f65c 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.389 . +# From configure.in Revision: 1.390 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.53 for python 2.3. # @@ -4746,7 +4746,7 @@ echo $ECHO_N "checking for makedev... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" - #include +#include #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" @@ -4786,8 +4786,8 @@ if test "$ac_cv_has_makedev" = "no"; then #line $LINENO "configure" #include "confdefs.h" - #define _OSF_SOURCE 1 - #include +#define _OSF_SOURCE 1 +#include #ifdef F77_DUMMY_MAIN # ifdef __cplusplus @@ -9159,7 +9159,7 @@ else #line $LINENO "configure" #include "confdefs.h" #include - #include +#include main() { FILE *f=fopen("conftestval", "w"); @@ -10128,10 +10128,11 @@ echo $ECHO_N "checking for _POSIX_THREADS in unistd.h... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" + #include - #ifdef _POSIX_THREADS - yes - #endif +#ifdef _POSIX_THREADS +yes +#endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | @@ -13189,13 +13190,13 @@ cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" - #if defined(MAJOR_IN_MKDEV) - #include - #elif defined(MAJOR_IN_SYSMACROS) - #include - #else - #include - #endif +#if defined(MAJOR_IN_MKDEV) +#include +#elif defined(MAJOR_IN_SYSMACROS) +#include +#else +#include +#endif #ifdef F77_DUMMY_MAIN # ifdef __cplusplus diff --git a/configure.in b/configure.in index 06c4048f974..1fc6bf783ee 100644 --- a/configure.in +++ b/configure.in @@ -763,15 +763,15 @@ AC_MSG_RESULT($was_it_defined) # Check whether using makedev requires defining _OSF_SOURCE AC_MSG_CHECKING(for makedev) -AC_TRY_LINK([ #include ], +AC_TRY_LINK([#include ], [ makedev(0, 0) ], ac_cv_has_makedev=yes, ac_cv_has_makedev=no) if test "$ac_cv_has_makedev" = "no"; then # we didn't link, try if _OSF_SOURCE will allow us to link AC_TRY_LINK([ - #define _OSF_SOURCE 1 - #include +#define _OSF_SOURCE 1 +#include ], [ makedev(0, 0) ], ac_cv_has_makedev=yes, @@ -929,7 +929,7 @@ if test "$have_pthread_t" = yes ; then AC_MSG_CHECKING(size of pthread_t) AC_CACHE_VAL(ac_cv_sizeof_pthread_t, [AC_TRY_RUN([#include - #include +#include main() { FILE *f=fopen("conftestval", "w"); @@ -1357,10 +1357,11 @@ else # define _POSIX_THREADS in unistd.h. Some apparently don't (which ones?) AC_MSG_CHECKING(for _POSIX_THREADS in unistd.h) AC_EGREP_CPP(yes, - [#include - #ifdef _POSIX_THREADS - yes - #endif + [ +#include +#ifdef _POSIX_THREADS +yes +#endif ], unistd_defines_pthreads=yes, unistd_defines_pthreads=no) AC_MSG_RESULT($unistd_defines_pthreads) @@ -1927,13 +1928,13 @@ AC_CHECK_FUNCS(gettimeofday, AC_MSG_CHECKING(for major, minor, and makedev) AC_TRY_LINK([ - #if defined(MAJOR_IN_MKDEV) - #include - #elif defined(MAJOR_IN_SYSMACROS) - #include - #else - #include - #endif +#if defined(MAJOR_IN_MKDEV) +#include +#elif defined(MAJOR_IN_SYSMACROS) +#include +#else +#include +#endif ],[ makedev(major(0),minor(0)); ],[