Bah, I don't know what I'm doing.
authorSam Lantinga <slouken@libsdl.org>
Tue, 31 Jan 2006 19:46:26 +0000
changeset 13090f00cbbe5792
parent 1308 ce64900b4a47
child 1310 a201a8c62522
Bah, I don't know what I'm doing.
acinclude.m4
     1.1 --- a/acinclude.m4	Tue Jan 31 19:40:25 2006 +0000
     1.2 +++ b/acinclude.m4	Tue Jan 31 19:46:26 2006 +0000
     1.3 @@ -377,40 +377,18 @@
     1.4  # ---------------
     1.5  AC_DEFUN([AC_PROG_LIBTOOL],
     1.6  [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
     1.7 -dnl Quote A][M_PROG_CXX so that aclocal doesn't bring it in needlessly.
     1.8 -dnl If either AC_PROG_CXX or A][M_PROG_CXX have already been expanded, run
     1.9 -dnl AC_LIBTOOL_CXX immediately, otherwise, hook it in at the end of both.
    1.10 +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
    1.11 +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
    1.12    AC_PROVIDE_IFELSE([AC_PROG_CXX],
    1.13      [AC_LIBTOOL_CXX],
    1.14 -    [AC_PROVIDE_IFELSE([A][M_PROG_CXX],
    1.15 -      [AC_LIBTOOL_CXX],
    1.16 -      [AC_PROVIDE_IFELSE([LT_AC_PROG_CXX],
    1.17 -	[AC_LIBTOOL_CXX],
    1.18 -      [ifdef([AC_PROG_CXX],
    1.19 -	     [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX])])
    1.20 -       ifdef([A][M_PROG_CXX],
    1.21 -	     [define([A][M_PROG_CXX], defn([A][M_PROG_CXX])[AC_LIBTOOL_CXX])])
    1.22 -       ifdef([LT_AC_PROG_CXX],
    1.23 -	     [define([LT_AC_PROG_CXX],
    1.24 -		defn([LT_AC_PROG_CXX])[AC_LIBTOOL_CXX])])])])
    1.25 -  ])
    1.26 -dnl Quote A][M_PROG_F77 so that aclocal doesn't bring it in needlessly.
    1.27 -dnl If either AC_PROG_F77 or A][M_PROG_F77 have already been expanded, run
    1.28 -dnl AC_LIBTOOL_F77 immediately, otherwise, hook it in at the end of both.
    1.29 +    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
    1.30 +  ])])
    1.31 +dnl And a similar setup for Fortran 77 support
    1.32    AC_PROVIDE_IFELSE([AC_PROG_F77],
    1.33      [AC_LIBTOOL_F77],
    1.34 -    [AC_PROVIDE_IFELSE([A][M_PROG_F77],
    1.35 -      [AC_LIBTOOL_F77],
    1.36 -      [AC_PROVIDE_IFELSE([LT_AC_PROG_F77],
    1.37 -	[AC_LIBTOOL_F77],
    1.38 -      [ifdef([AC_PROG_F77],
    1.39 -	     [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77])])
    1.40 -       ifdef([A][M_PROG_F77],
    1.41 -	     [define([A][M_PROG_F77], defn([A][M_PROG_F77])[AC_LIBTOOL_F77])])
    1.42 -       ifdef([LT_AC_PROG_F77],
    1.43 -	     [define([LT_AC_PROG_F77],
    1.44 -		defn([LT_AC_PROG_F77])[AC_LIBTOOL_F77])])])])
    1.45 -  ])
    1.46 +    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
    1.47 +])])
    1.48 +
    1.49  dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
    1.50  dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
    1.51  dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
    1.52 @@ -427,8 +405,7 @@
    1.53         ifdef([LT_AC_PROG_GCJ],
    1.54  	     [define([LT_AC_PROG_GCJ],
    1.55  		defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
    1.56 -  ])
    1.57 -])# AC_PROG_LIBTOOL
    1.58 +])])# AC_PROG_LIBTOOL
    1.59  
    1.60  
    1.61  # _AC_PROG_LIBTOOL