From d23ed020abf494a046b499cdce1c0957cd5b4783 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 21 May 2007 20:45:13 +0000 Subject: Whitespace cleanup. --- configure.in | 138 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 69 insertions(+), 69 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 28f174ca..ee895e84 100644 --- a/configure.in +++ b/configure.in @@ -55,31 +55,31 @@ AC_CACHE_CHECK( [AC_LANG_PUSH(C++) AC_LINK_IFELSE( [AC_LANG_PROGRAM( - [[#include - #include - #include - #include - #include - #include ]], - [[int status, pfd[2]; - status = pipe(pfd); - status = fork(); - if (status < 0) { - ; - } else if (status == 0) { - char *arg0; - - status = dup2(pfd[0], STDIN_FILENO); - - close(pfd[1]); - close(pfd[0]); - - execlp("", arg0, (char *)0); - perror("execl"); - exit(1); - } else { - close(pfd[0]); - }]])], + [[#include + #include + #include + #include + #include + #include ]], + [[int status, pfd[2]; + status = pipe(pfd); + status = fork(); + if (status < 0) { + ; + } else if (status == 0) { + char *arg0; + + status = dup2(pfd[0], STDIN_FILENO); + + close(pfd[1]); + close(pfd[0]); + + execlp("", arg0, (char *)0); + perror("execl"); + exit(1); + } else { + close(pfd[0]); + }]])], [pipes_avail=true], [pipes_avail=false]) AC_LANG_POP]) @@ -119,26 +119,26 @@ AC_CACHE_CHECK( AC_LANG_PUSH(C++) AC_LINK_IFELSE( [AC_LANG_PROGRAM( - [[#include - #include - #include - #include - - using namespace boost::posix_time; - using namespace boost::date_time; - - #include - - inline ptime time_to_system_local(const ptime& when) { - struct std::tm tm_gmt = to_tm(when); - return from_time_t(mktime(&tm_gmt)); - }]], - [[ptime t10 = ptime(boost::gregorian::from_string("2007-01-15"), - ptime::time_duration_type()); - - ptime t12 = time_to_system_local(t10); - - return t10 != t12;]])], + [[#include + #include + #include + #include + + using namespace boost::posix_time; + using namespace boost::date_time; + + #include + + inline ptime time_to_system_local(const ptime& when) { + struct std::tm tm_gmt = to_tm(when); + return from_time_t(mktime(&tm_gmt)); + }]], + [[ptime t10 = ptime(boost::gregorian::from_string("2007-01-15"), + ptime::time_duration_type()); + + ptime t12 = time_to_system_local(t10); + + return t10 != t12;]])], [boost_date_time_cpplib_avail=true], [boost_date_time_cpplib_avail=false]) AC_LANG_POP @@ -159,8 +159,8 @@ AC_CACHE_CHECK( AC_LANG_PUSH(C++) AC_LINK_IFELSE( [AC_LANG_PROGRAM( - [[#include ]], - [[boost::filesystem::path this_path("Hello");]])], + [[#include ]], + [[boost::filesystem::path this_path("Hello");]])], [boost_filesystem_cpplib_avail=true], [boost_filesystem_cpplib_avail=false]) AC_LANG_POP @@ -233,8 +233,8 @@ if [test x$ofx = xtrue ]; then AC_LANG_PUSH(C++) AC_LINK_IFELSE( [AC_LANG_PROGRAM( - [[#include ]], - [[LibofxContextPtr libofx_context = libofx_get_new_context();]])], + [[#include ]], + [[LibofxContextPtr libofx_context = libofx_get_new_context();]])], [libofx_avail=true], [libofx_avail=false]) AC_LANG_POP @@ -271,16 +271,16 @@ if [test x$python = xtrue ]; then LIBS="-lboost_python$BOOST_SUFFIX -lpython$PYTHON_VERSION $LIBS" AC_LANG_PUSH(C++) AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [[#include - using namespace boost::python; - class foo {}; - BOOST_PYTHON_MODULE(samp) { - class_< foo > ("foo") ; - }]], - [[return 0]])], - [boost_python_cpplib_avail=true], - [boost_python_cpplib_avail=false]) + [AC_LANG_PROGRAM( + [[#include + using namespace boost::python; + class foo {}; + BOOST_PYTHON_MODULE(samp) { + class_< foo > ("foo") ; + }]], + [[return 0]])], + [boost_python_cpplib_avail=true], + [boost_python_cpplib_avail=false]) AC_LANG_POP LIBS=$boost_python_save_libs]) @@ -306,16 +306,16 @@ AC_CACHE_CHECK( AC_LANG_PUSH(C++) AC_LINK_IFELSE( [AC_LANG_PROGRAM( - [[#include - #include - #include - #include - #include - #include - #include - #include ]], - [[CPPUNIT_NS::TestResult controller; - CPPUNIT_NS::TestResultCollector result;]])], + [[#include + #include + #include + #include + #include + #include + #include + #include ]], + [[CPPUNIT_NS::TestResult controller; + CPPUNIT_NS::TestResultCollector result;]])], [cppunit_avail=true], [cppunit_avail=false]) AC_LANG_POP -- cgit v1.2.3