ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/ac-tools/aclocal.m4
(Generate patch)

Comparing trunk/OOPSE/ac-tools/aclocal.m4 (file contents):
Revision 749 by gezelter, Fri Sep 5 22:36:12 2003 UTC vs.
Revision 944 by gezelter, Wed Jan 14 22:41:34 2004 UTC

# Line 1 | Line 1
1   dnl
2 + dnl AC_CHECK_MODSUFFIX
3 + dnl
4 + AC_DEFUN([AC_CHECK_MODSUFFIX],[
5 +
6 + AC_MSG_CHECKING(for module suffix)
7 + rm -f conftest*
8 + # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
9 + rm -f work*
10 + cat >conftest.f90 <<EOF
11 +        module conftest
12 +        integer n
13 +        parameter (n=1)
14 +        end module conftest
15 + EOF
16 + # SGI and absoft compilers generates module name in upper case!
17 + testname="conftest"
18 + modcase="lower"
19 + if $F90 -c conftest.f90 > conftest.out 2>&1 ; then
20 +    MOD=`ls conftest* | grep -v conftest.f | grep -v conftest.o`
21 +    MOD=`echo "$MOD" | sed -e 's/conftest\.//g'`
22 +    if test -z "$MOD" ; then
23 +        MOD=`ls CONFTEST* 2>/dev/null \
24 +                | grep -v CONFTEST.f | grep -v CONFTEST.o`
25 +        MOD=`echo "$MOD" | sed -e 's/CONFTEST\.//g'`
26 +        if test -n "$MOD" ; then
27 +            testname="CONFTEST"
28 +            modcase="upper"
29 +        fi
30 +    fi
31 +    if test -z "$MOD" ; then
32 +        AC_MSG_RESULT(unknown)
33 +        # Use mod if we can't figure it out
34 +        MOD="mod"
35 +    else
36 +        AC_MSG_RESULT($MOD)
37 +    fi
38 +    if test -s work.pcl ; then
39 +        AC_MSG_WARN([Compiler generates auxillery files!])
40 +    fi
41 + else
42 +    AC_MSG_RESULT(unknown)
43 + fi
44 + AC_SUBST(MOD)
45 +
46 + ])
47 +
48 +
49 + dnl
50 + dnl AC_CHECK_MODDIRFLAG
51 + dnl
52 + AC_DEFUN([AC_CHECK_MODDIRFLAG],[
53 +
54 + # Check for module include path (some use -I, some (Solaris) use -M, some
55 + # (absoft) use -p).
56 + # Intel compilers use a wierd system: -cl,filename.pcl .  If no file is
57 + # specified, work.pcl and work.pc are created.  However, if you specify
58 + # a file, it must contain a the name of a file ending in .pc .  Ugh!
59 + # Use the module made above
60 + AC_MSG_CHECKING(for module directory path flag)
61 + rm -f conftest*
62 + # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
63 + rm -f work*
64 + cat >conftest.f90 <<EOF
65 +        module conftest
66 +        integer n
67 +        parameter (n=1)
68 +        end module conftest
69 + EOF
70 + # SGI and absoft compilers generates module name in upper case!
71 + testname="conftest"
72 + if $F90 -c conftest.f90 > conftest.out 2>&1 ; then
73 +   mod=`ls CONFTEST* 2>/dev/null | grep -v CONFTEST.f | grep -v CONFTEST.o`
74 +   mod=`echo "$mod" | sed -e 's/CONFTEST\.//g'`
75 +   if test -n "$mod" ; then
76 +      testname="CONFTEST"
77 +   fi
78 +   madedir=0
79 +   if test ! -d conf ; then mkdir conf ; madedir=1; fi
80 +   cp $testname.$MOD conf
81 +   rm -f conftest* CONFTEST*
82 +   cat >conftest1.f90 <<EOF
83 +        program main
84 +        use conftest
85 +        print *, n
86 +        end
87 + EOF
88 +   F90_WORK_FILES_ARG=""
89 +   F90MODINCSPEC=""
90 +   if $F90 -c -Iconf conftest1.f90 > conftest.out 2>&1 ; then
91 +       MODDIRFLAG="-I"
92 +       F90MODINCSPEC="-I<dir>"
93 +       AC_MSG_RESULT(-I)
94 +   elif $F90 -c -Mconf conftest1.f90 >> conftest.out 2>&1 ; then
95 +       MODDIRFLAG="-M"
96 +       F90MODINCSPEC="-M<dir>"
97 +       AC_MSG_RESULT(-M)
98 +   elif $F90 -c -pconf conftest1.f90 >> conftest.out 2>&1 ; then
99 +       MODDIRFLAG="-p"
100 +       F90MODINCSPEC="-p<dir>"
101 +       AC_MSG_RESULT(-p)
102 +   elif test -s work.pc ; then
103 +        cp work.pc conf/mpimod.pc
104 +        echo "mpimod.pc" > conf/mpimod.pcl
105 +        echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl
106 +        if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then
107 +            MODDIRFLAG='-cl,mpimod.pcl'
108 +            AC_MSG_RESULT([-cl,filename where filename contains a list of files and directories])
109 +            F90_WORK_FILES_ARG="-cl,mpimod.pcl"
110 +            F90MODINCSPEC="-cl,<dir>/<file>mod.pcl"
111 +            AC_SUBST(F90_WORK_FILES_ARG)
112 +        else
113 +            # The version of the Intel compiler that I have refuses to let
114 +            # you put the "work catalog" list anywhere but the current
115 +            # directory. For example, you cannot in
116 +         :
117 +        fi
118 +   fi
119 +   if test -z "MODDIRFLAG" ; then
120 +       AC_MSG_RESULT(unknown)
121 +   fi
122 +   AC_SUBST(MODDIRFLAG)
123 +   AC_SUBST(F90MODINCSPEC)
124 +   rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod*
125 +   if test $madedir = 1 ; then rmdir conf ; fi
126 + fi
127 +
128 + ])
129 +
130 +
131 + dnl
132   dnl AC_CHECK_MPI_F90MOD
133   dnl
134   AC_DEFUN([AC_CHECK_MPI_F90MOD],[
# Line 12 | Line 142 | AC_DEFUN([AC_CHECK_MPI_F90MOD],[
142    AC_LANG_SAVE()
143    AC_LANG([Fortran 90])
144    ac_save_F90FLAGS=$F90FLAGS
145 <  AS_IF([test "$mpi_f90_mods"], [F90FLAGS="${F90FLAGS} -I${mpi_f90_mods}"])
145 >
146 >  AS_IF([test "$mpi_f90_mods"], [F90FLAGS="${F90FLAGS} ${MODDIRFLAG}${mpi_f90_mods}"])
147      _AC_COMPILE_IFELSE([
148      AC_LANG_PROGRAM([
149   use mpi
# Line 26 | Line 157 | call MPI_Init(ierr)
157    if test "$HAVE_MPI_MOD" = 1; then
158      AC_MSG_RESULT(yes)
159      AC_DEFINE(MPI_MOD, 1, [have mpi module])
160 <    MPI_F90_MODS="-I${mpi_f90_mods}"
160 >    MPI_F90_MODS="${mpi_f90_mods}"
161      AC_SUBST(MPI_F90_MODS)        
162 +    # The library name:
163 +    if test -z "$MPI_LIB" ; then
164 +       MPI_LIBNAME=-lmpich
165 +    else
166 +       MPI_LIBNAME="$MPI_LIB"
167 +    fi
168 +    if test -z "$MPIMODLIBNAME" ; then
169 +       MPIMODLIBNAME="${MPI_LIBNAME}f90"
170 +    fi
171 +    AC_SUBST(MPIMODLIBNAME)
172    else
173      AC_MSG_RESULT(no)
174 <    AC_MSG_ERROR([Couldn't locate MPI F90 Modules])
174 >    AC_MSG_WARN([Couldn't locate MPI F90 Modules])
175    fi
176  
177   ])
178  
179  
180 +
181 +
182   dnl
183   dnl AM_PATH_SPRNG
184   dnl
185   AC_DEFUN([AM_PATH_SPRNG],[
186  
187 <  AC_ARG_WITH(sprng-prefix, [  --with-sprng-prefix=PREFIX
187 >  AC_ARG_WITH(sprng_prefix, [  --with-sprng_prefix=PREFIX
188                            Prefix where SPRNG is installed ],
189                             sprng_prefix="$withval",
190                             sprng_prefix="/usr/local")
191 <  AC_ARG_WITH(sprng-lib-prefix, [  --with-sprng-lib=PREFIX  SPRNG library directory],
192 <                           sprng_lib_prefix="$withval",
193 <                           sprng_lib_prefix="/usr/local/lib")
194 <  AC_ARG_WITH(sprng-include-prefix, [  --with-sprng-include=PREFIX
191 >  AC_ARG_WITH(sprng-libdir, [  --with-sprng-libdir=PREFIX  SPRNG library directory],
192 >                           sprng_libdir="$withval",
193 >                           sprng_libdir="/usr/local/lib")
194 >  AC_ARG_WITH(sprng-include, [  --with-sprng-include=PREFIX
195                            SPRNG include directory],
196 <                           sprng_include_prefix="$withval",
197 <                           sprng_include_prefix="/usr/local/include/sprng")
196 >                           sprng_include="$withval",
197 >                           sprng_include="/usr/local/include/sprng")
198  
199 <  if test x$sprng_lib_prefix = x ; then
200 <    sprng_lib_prefix=${sprng_prefix}/lib
199 >  if test x$sprng_libdir = x ; then
200 >    sprng_libdir=${sprng_prefix}/lib
201    fi
202  
203 <  if test x$sprng_include_prefix = x ; then
204 <    sprng_include_prefix=${sprng_prefix}/include
203 >  if test x$sprng_include = x ; then
204 >    sprng_include=${sprng_prefix}/include
205    fi
206  
207 <  AC_MSG_CHECKING(for SPRNG include files in $sprng_include_prefix)
208 <  if test -f ${sprng_include_prefix}/sprng.h; then
207 >  AC_MSG_CHECKING(for SPRNG include files in $sprng_include)
208 >  if test -f ${sprng_include}/sprng.h; then
209      have_sprngincl=yes
210      AC_MSG_RESULT(yes)
211    else
# Line 71 | Line 214 | AC_DEFUN([AM_PATH_SPRNG],[
214      AC_MSG_ERROR(Could not locate the SPRNG include files)
215    fi
216  
217 <  AC_MSG_CHECKING(for SPRNG libraries in $sprng_lib_prefix)
218 <  if test -f ${sprng_lib_prefix}/libsprng.a; then
217 >  AC_MSG_CHECKING(for SPRNG libraries in $sprng_libdir)
218 >  if test -f ${sprng_libdir}/libsprng.a; then
219      have_sprnglib=yes
220      AC_MSG_RESULT(yes)
221    else
# Line 84 | Line 227 | AC_DEFUN([AM_PATH_SPRNG],[
227    AC_LANG_SAVE()
228    AC_LANG([C])
229    ac_save_CPPFLAGS=$CPPFLAGS
230 <  CPPFLAGS="${CPPFLAGS} -I${sprng_include_prefix}"
230 >  CPPFLAGS="${CPPFLAGS} -I${sprng_include}"
231    ac_save_LDFLAGS=$LDFLAGS
232 <  LDFLAGS="${LDFLAGS} -L${sprng_lib_prefix} -lsprng"
232 >  LDFLAGS="${LDFLAGS} -L${sprng_libdir} -lsprng"
233    AC_CHECK_HEADER(sprng.h, [
234      AC_CHECK_LIB(sprng,
235                   init_rng,
236 <                    [SPRNG_LIBDIR="${sprng_lib_prefix}"
237 <                     SPRNG_LIB="-lsprng" SPRNG_INC="-I${sprng_include_prefix}"
236 >                    [SPRNG_LIBDIR="${sprng_libdir}"
237 >                     SPRNG_LIB="-lsprng" SPRNG_INC="-I${sprng_include}"
238                       HAVE_SPRNG="yes"])])
239    CPPFLAGS=$ac_save_CPPFLAGS
240    LDFLAGS=$ac_save_LDFLAGS
# Line 112 | Line 255 | AC_ARG_WITH(mkl,
255   AC_DEFUN([CHECK_MKL],
256   [AC_MSG_CHECKING(if MKL is wanted)
257   AC_ARG_WITH(mkl,
258 <              [  --with-mkl              Do we want MKL [will check /usr/local/intel/mkl60 /opt/intel/mkl60]],
258 >              [  --with-mkl              Do we want MKL [will check /usr/local/intel/mkl61 /opt/intel/mkl61]],
259   [   AC_MSG_RESULT(yes)
260 <    for dir in $withval /usr/local/intel/mkl60 /opt/intel/mkl60; do
260 >    for dir in $withval /usr/local/intel/mkl61 /opt/intel/mkl61; do
261          mkldir="$dir"
262          if test -f "$dir/include/mkl.h"; then
263              found_mkl="yes";
# Line 158 | Line 301 | AC_DEFUN(ACX_CHECK_CC_FLAGS,
301   ])
302   dnl
303  
304 +
305   AC_DEFUN(ACX_CHECK_CC_FLAGS,
306   [
307   AC_REQUIRE([AC_PROG_CC])
# Line 238 | Line 382 | cat > conftest.c <<EOF
382   [
383   dnl The semicolon after "yes" below is to pacify NeXT's syntax-checking cpp.
384   cat > conftest.c <<EOF
385 < #ifdef __GNUC__
385 > #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
386   #  if (__GNUC__ > $1) || (__GNUC__ == $1 && __GNUC_MINOR__ >= $2)
387       yes;
388   #  endif
# Line 259 | Line 403 | fi
403   fi
404   ])
405  
406 + AC_DEFUN(ACX_PROG_GXX_VERSION,
407 + [
408 + AC_REQUIRE([AC_PROG_CXX])
409 + AC_CACHE_CHECK(whether we are using g++ $1.$2 or later, ac_cv_prog_gxx_$1_$2,
410 + [
411 + dnl The semicolon after "yes" below is to pacify NeXT's syntax-checking cpp.
412 + cat > conftest.cpp <<EOF
413 + #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
414 + #  if (__GNUC__ > $1) || (__GNUC__ == $1 && __GNUC_MINOR__ >= $2)
415 +     yes;
416 + #  endif
417 + #endif
418 + EOF
419 + if AC_TRY_COMMAND(${CXX-c++} -E conftest.cpp) | egrep yes >/dev/null 2>&1; then
420 +  ac_cv_prog_gxx_$1_$2=yes
421 + else
422 +  ac_cv_prog_gxx_$1_$2=no
423 + fi
424 + ])
425 + if test "$ac_cv_prog_gxx_$1_$2" = yes; then
426 +        :
427 +        $3
428 + else
429 +        :
430 +        $4
431 + fi
432 + ])
433  
434 + AC_DEFUN(ACX_PROG_REALLY_GCC,
435 + [
436 + AC_REQUIRE([AC_PROG_CC])
437 + AC_CACHE_CHECK(whether we are *really* using GNU cc, ac_cv_prog_really_gcc,
438 + [
439 + dnl The semicolon after "yes" below is to pacify NeXT's syntax-checking cpp.
440 + cat > conftest.c <<EOF
441 + #ifdef __GNUC__
442 +  #ifndef __INTEL_COMPILER
443 +     yes;
444 +  #endif
445 + #endif
446 + EOF
447 + if AC_TRY_COMMAND(${CC-cc} -E conftest.c) | egrep yes >/dev/null 2>&1; then
448 +  ac_cv_prog_really_gcc=yes
449 + else
450 +  ac_cv_prog_really_gcc=no
451 + fi
452 + ])
453 + if test "$ac_cv_prog_really_gcc" = yes; then
454 +        :
455 +        $1
456 + else
457 +        :
458 +        $2
459 + fi
460 + ])
461 +
462 + AC_DEFUN(ACX_PROG_REALLY_GXX,
463 + [
464 + AC_REQUIRE([AC_PROG_CXX])
465 + AC_CACHE_CHECK(whether we are *really* using GNU c++, ac_cv_prog_really_gxx,
466 + [
467 + dnl The semicolon after "yes" below is to pacify NeXT's syntax-checking cpp.
468 + cat > conftest.cpp <<EOF
469 + #ifdef __GNUC__
470 +  #ifndef __INTEL_COMPILER
471 +     yes;
472 +  #endif
473 + #endif
474 + EOF
475 + if AC_TRY_COMMAND(${CXX-c++} -E conftest.cpp) | egrep yes >/dev/null 2>&1; then
476 +  ac_cv_prog_really_gxx=yes
477 + else
478 +  ac_cv_prog_really_gxx=no
479 + fi
480 + ])
481 + if test "$ac_cv_prog_really_gxx" = yes; then
482 +        :
483 +        $1
484 + else
485 +        :
486 +        $2
487 + fi
488 + ])
489 +
490 +
491   AC_DEFUN(ACX_PROG_CC_MAXOPT,
492   [
493   AC_REQUIRE([AC_PROG_CC])
494   AC_REQUIRE([AC_CANONICAL_HOST])
495  
496 + ACX_PROG_REALLY_GCC
497 +
498   # Try to determine "good" native compiler flags if none specified on command
499   # line
500   if test "$ac_test_CFLAGS" != "set"; then
# Line 318 | Line 548 | if test "$ac_test_CFLAGS" != "set"; then
548    esac
549  
550    # use default flags for gcc on all systems
551 <  if test $ac_cv_prog_gcc = yes; then
551 >  if test $ac_cv_prog_really_gcc = yes; then
552       CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
553    fi
554  
555    # test for gcc-specific flags:
556 <  if test $ac_cv_prog_gcc = yes; then
556 >  if test $ac_cv_prog_really_gcc = yes; then
557      # -malign-double for x86 systems
558      ACX_CHECK_CC_FLAGS(-malign-double,align_double, CFLAGS="$CFLAGS -malign-double")
559      # -fstrict-aliasing for gcc-2.95+
# Line 331 | Line 561 | if test "$ac_test_CFLAGS" != "set"; then
561    fi
562  
563    CPU_FLAGS=""
564 <  if test "$GCC" = "yes"; then
564 >  if test $ac_cv_prog_really_gcc = yes; then
565            dnl try to guess correct CPU flags, at least for linux
566            case "${host_cpu}" in
567            i586*)  ACX_CHECK_CC_FLAGS(-mcpu=pentium,cpu_pentium,
# Line 399 | Line 629 | AC_REQUIRE([AC_CANONICAL_HOST])
629   [
630   AC_REQUIRE([AC_PROG_CXX])
631   AC_REQUIRE([AC_CANONICAL_HOST])
632 +
633 + ACX_PROG_REALLY_GXX
634  
635   # Try to determine "good" native compiler flags if none specified on command
636   # line
# Line 432 | Line 664 | if test "$ac_test_CXXFLAGS" != "set"; then
664          if test "$CXX" = xlC; then
665                  CXXFLAGS="-O3 -qtune=auto -qansialias -w"
666                  echo "*******************************************************"
667 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
668 <                echo "*  recommended that you use                           *"
667 >                echo "*  You have Darwin on an unknown powerpc system.      *"
668 >                echo "*  It is recommended that you use                     *"
669                  echo "*                                                     *"
670                  echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
671                  echo "*                                 ^^^                 *"
# Line 444 | Line 676 | if test "$ac_test_CXXFLAGS" != "set"; then
676    esac
677  
678    # use default flags for gcc on all systems
679 <  if test $ac_cv_prog_gcc = yes; then
679 >  if test $ac_cv_prog_really_gxx = yes; then
680       CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
681    fi
682  
683    # test for gcc-specific flags:
684 <  if test $ac_cv_prog_gcc = yes; then
684 >  if test $ac_cv_prog_really_gxx = yes; then
685      # -malign-double for x86 systems
686      ACX_CHECK_CXX_FLAGS(-malign-double,align_double, CXXFLAGS="$CXXFLAGS -malign-double")
687      # -fstrict-aliasing for gcc-2.95+
# Line 457 | Line 689 | if test "$ac_test_CXXFLAGS" != "set"; then
689    fi
690  
691    CPU_FLAGS=""
692 <  if test "$GCC" = "yes"; then
692 >  if test $ac_cv_prog_really_gxx = yes; then
693            dnl try to guess correct CPU flags, at least for linux
694            case "${host_cpu}" in
695 <          i586*)  ACX_CHECK_CC_FLAGS(-mcpu=pentium,cpu_pentium,
695 >          i586*)  ACX_CHECK_CXX_FLAGS(-mcpu=pentium,cpu_pentium,
696                          [CPU_FLAGS=-mcpu=pentium],
697                          [ACX_CHECK_CXX_FLAGS(-mpentium,pentium,
698                                  [CPU_FLAGS=-mpentium])])
# Line 477 | Line 709 | if test "$ac_test_CXXFLAGS" != "set"; then
709                          ACX_CHECK_CXX_FLAGS(-mcpu=$cputype,m_cpu_60x,
710                                  CPU_FLAGS=-mcpu=$cputype)
711                  elif test "$cputype" = 750; then
712 <                        ACX_PROG_GCC_VERSION(2,95,
712 >                        ACX_PROG_GXX_VERSION(2,95,
713                                  ACX_CHECK_CXX_FLAGS(-mcpu=750,m_cpu_750,
714                                          CPU_FLAGS=-mcpu=750))
715                  fi
# Line 528 | Line 760 | if test "$ac_test_F90FLAGS" != "set"; then
760  
761   # Try to determine "good" native compiler flags if none specified on command
762   # line
763 < if test "$ac_test_F90FLAGS" != "set"; then
763 >
764 > if test x"$F90FLAGS" = x ; then
765    F90FLAGS=""
766    case "${host_cpu}-${host_os}" in
767  
768 <  *linux*) if test "$F90" = ifc; then
768 >  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
769                      F90FLAGS="-O"
770                  fi;;
771     rs6000*-aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
# Line 607 | Line 840 | if test "$ac_test_PREPFLAG" != "set"; then
840    PREPFLAG=""
841    case "${host_cpu}-${host_os}" in
842  
843 <  *linux*) if test "$F90" = ifc; then
843 >  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
844                      PREPFLAG="-fpp1 "
845                  fi;;
846    *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
# Line 620 | Line 853 | if test "$ac_test_PREPFLAG" != "set"; then
853    esac
854  
855    if test -z "$PREPFLAG"; then
856 <        echo ""
624 <        echo "**********************************************************"
625 <        echo "* WARNING: Don't know the best PREPFLAG for this system  *"
626 <        echo "* Use  make PREPFLAG=..., or edit the top level Makefile *"
627 <        echo "* (otherwise, an empty PREPFLAG will be used)            *"
628 <        echo "**********************************************************"
629 <        echo ""
856 >        AC_MSG_WARN("Using empty PREPFLAG")
857          PREPFLAG=""
858    fi
859  
# Line 648 | Line 875 | if test "$ac_test_PREPFLAG" != "set"; then
875    ac_ext=$ac_save_ext
876    AC_LANG_RESTORE()
877  
651
878    if test "$prepflagworks" = 1; then
879      AC_MSG_RESULT(yes)
880      AC_SUBST(PREPFLAG)
# Line 672 | Line 898 | if test "$ac_test_PREPDEFFLAG" != "set"; then
898    PREPDEFFLAG=""
899    case "${host_cpu}-${host_os}" in
900  
901 <  *linux*) if test "$F90" = ifc; then
901 >  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
902                      PREPDEFFLAG=" "
903                  fi;;
904    *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
# Line 685 | Line 911 | if test "$ac_test_PREPDEFFLAG" != "set"; then
911    esac
912  
913    if test -z "$PREPDEFFLAG"; then
914 <        echo ""
689 <        echo "*************************************************************"
690 <        echo "* WARNING: Don't know the best PREPDEFFLAG for this system  *"
691 <        echo "* Use  make PREPDEFFLAG=..., or edit the top level Makefile *"
692 <        echo "* (otherwise, an empty PREPDEFFLAG will be used)            *"
693 <        echo "*************************************************************"
694 <        echo ""
914 >        AC_MSG_WARN("Using empty PREPDEFFLAG")
915          PREPDEFFLAG=" "
916    fi
917  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines