ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/Search/trunk/configure.ac
(Generate patch)

Comparing Search/trunk/configure.ac (file contents):
Revision 386 by douglas, 2008-08-23T03:29:42-07:00 vs.
Revision 387 by douglas, 2011-12-30T16:21:06-08:00

# Line 9 | Line 9 | AC_CONFIG_SRCDIR(Search.cpp)
9   AC_PREFIX_DEFAULT(/usr/local/dtse)
10   AC_PROG_INSTALL
11  
12 < CHECK_GNU_MAKE
13 < if test x$_cv_gnu_make_command = x; then
14 <    AC_MSG_ERROR(You need GNU Make.)
15 < fi
12 > AX_CHECK_GNU_MAKE
13 > AC_SUBST([GNUMAKE], [$_cv_gnu_make_command])
14 > AS_IF([test "x$GNUMAKE" = x], [AC_MSG_ERROR([You need GNU make])])
15 > AX_WITH_PERL
16 > AX_PROG_PERL_MODULES([File::Temp], [], [AC_MSG_ERROR([You need File::Temp.])])
17 > AC_LANG([C++])
18   AC_PROG_CXX
17 if ! test x$GXX = x; then
18        AC_MSG_CHECKING(if g++ is version 3.1 or higher)
19        dt_gxx_3_x=`$CXX --version 2>&1 | grep ^$CXX`
20        if test "x$dt_gxx_3_x" = "x"; then
21                AC_MSG_RESULT(no)
22                AC_MSG_ERROR(You need g++ 3.1 or higher.)
23        else
24                AC_MSG_RESULT(yes)
25        fi
26 fi
27 AC_PROG_PERL_VERSION(5.00503, , AC_MSG_ERROR(You need a Perl 5.6 or higher.))
28 AC_MSG_CHECKING(perl path)
29 AC_SUBST(which_perl, `which $PERL`)
30 AC_MSG_RESULT($which_perl)
31
32 AC_PROG_PERL_MODULES(File::Temp, , AC_MSG_ERROR(You need File::Temp.))
19   mingw=`$CXX --version 2>&1 | grep mingw\ special`
20   if test "x$mingw" = "x"; then
21 <        ETR_SOCKET_NSL
21 >        AX_LIB_SOCKET_NSL
22          LIBS="$LIBS $ETR_SOCKET_LIBS"
23   else
24          LIBS="$LIBS -lws2_32"
25   fi
26 < AC_MSG_CHECKING(if OpenSSL is wanted)
27 < AC_ARG_WITH(openssl, [[  --with-openssl[=DIR]    enable OpenSSL [DIR=path]]
26 > AC_MSG_CHECKING([if OpenSSL is wanted])
27 > AC_ARG_WITH([openssl], [[  --with-openssl[=DIR]    enable OpenSSL [DIR=path]]
28   ], [
29          AC_MSG_RESULT(yes)
30          AC_MSG_CHECKING(for OpenSSL)
# Line 62 | Line 48 | AC_ARG_WITH(openssl, [[  --with-openssl[
48                  AC_SUBST(OpenSSL, -D_OpenSSL_)
49          else
50                  AC_MSG_RESULT(not found);
51 <                AC_MSG_ERROR(couldn't find OpenSSL)
51 >                AC_MSG_ERROR(could not find OpenSSL)
52          fi
53   ], [ AC_MSG_RESULT(no) ])
54   if ! test x$openssl = x; then

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines