Mercurial > sdl-ios-xcode
comparison acinclude.m4 @ 1308:ce64900b4a47
Quit building the frigging F77 libtool configuration!
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 31 Jan 2006 19:40:25 +0000 |
parents | ac488ad4ef1d |
children | 0f00cbbe5792 |
comparison
equal
deleted
inserted
replaced
1307:1c775d9abd2c | 1308:ce64900b4a47 |
---|---|
375 | 375 |
376 # AC_PROG_LIBTOOL | 376 # AC_PROG_LIBTOOL |
377 # --------------- | 377 # --------------- |
378 AC_DEFUN([AC_PROG_LIBTOOL], | 378 AC_DEFUN([AC_PROG_LIBTOOL], |
379 [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl | 379 [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl |
380 dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX | 380 dnl Quote A][M_PROG_CXX so that aclocal doesn't bring it in needlessly. |
381 dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. | 381 dnl If either AC_PROG_CXX or A][M_PROG_CXX have already been expanded, run |
382 dnl AC_LIBTOOL_CXX immediately, otherwise, hook it in at the end of both. | |
382 AC_PROVIDE_IFELSE([AC_PROG_CXX], | 383 AC_PROVIDE_IFELSE([AC_PROG_CXX], |
383 [AC_LIBTOOL_CXX], | 384 [AC_LIBTOOL_CXX], |
384 [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX | 385 [AC_PROVIDE_IFELSE([A][M_PROG_CXX], |
385 ])]) | 386 [AC_LIBTOOL_CXX], |
386 dnl And a similar setup for Fortran 77 support | 387 [AC_PROVIDE_IFELSE([LT_AC_PROG_CXX], |
388 [AC_LIBTOOL_CXX], | |
389 [ifdef([AC_PROG_CXX], | |
390 [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX])]) | |
391 ifdef([A][M_PROG_CXX], | |
392 [define([A][M_PROG_CXX], defn([A][M_PROG_CXX])[AC_LIBTOOL_CXX])]) | |
393 ifdef([LT_AC_PROG_CXX], | |
394 [define([LT_AC_PROG_CXX], | |
395 defn([LT_AC_PROG_CXX])[AC_LIBTOOL_CXX])])])]) | |
396 ]) | |
397 dnl Quote A][M_PROG_F77 so that aclocal doesn't bring it in needlessly. | |
398 dnl If either AC_PROG_F77 or A][M_PROG_F77 have already been expanded, run | |
399 dnl AC_LIBTOOL_F77 immediately, otherwise, hook it in at the end of both. | |
387 AC_PROVIDE_IFELSE([AC_PROG_F77], | 400 AC_PROVIDE_IFELSE([AC_PROG_F77], |
388 [AC_LIBTOOL_F77], | 401 [AC_LIBTOOL_F77], |
389 [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 | 402 [AC_PROVIDE_IFELSE([A][M_PROG_F77], |
390 ])]) | 403 [AC_LIBTOOL_F77], |
391 | 404 [AC_PROVIDE_IFELSE([LT_AC_PROG_F77], |
405 [AC_LIBTOOL_F77], | |
406 [ifdef([AC_PROG_F77], | |
407 [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77])]) | |
408 ifdef([A][M_PROG_F77], | |
409 [define([A][M_PROG_F77], defn([A][M_PROG_F77])[AC_LIBTOOL_F77])]) | |
410 ifdef([LT_AC_PROG_F77], | |
411 [define([LT_AC_PROG_F77], | |
412 defn([LT_AC_PROG_F77])[AC_LIBTOOL_F77])])])]) | |
413 ]) | |
392 dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. | 414 dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. |
393 dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run | 415 dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run |
394 dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. | 416 dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. |
395 AC_PROVIDE_IFELSE([AC_PROG_GCJ], | 417 AC_PROVIDE_IFELSE([AC_PROG_GCJ], |
396 [AC_LIBTOOL_GCJ], | 418 [AC_LIBTOOL_GCJ], |
403 ifdef([A][M_PROG_GCJ], | 425 ifdef([A][M_PROG_GCJ], |
404 [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) | 426 [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) |
405 ifdef([LT_AC_PROG_GCJ], | 427 ifdef([LT_AC_PROG_GCJ], |
406 [define([LT_AC_PROG_GCJ], | 428 [define([LT_AC_PROG_GCJ], |
407 defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) | 429 defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) |
408 ])])# AC_PROG_LIBTOOL | 430 ]) |
431 ])# AC_PROG_LIBTOOL | |
409 | 432 |
410 | 433 |
411 # _AC_PROG_LIBTOOL | 434 # _AC_PROG_LIBTOOL |
412 # ---------------- | 435 # ---------------- |
413 AC_DEFUN([_AC_PROG_LIBTOOL], | 436 AC_DEFUN([_AC_PROG_LIBTOOL], |