Mercurial > sdl-ios-xcode
comparison acinclude.m4 @ 1309:0f00cbbe5792
Bah, I don't know what I'm doing.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 31 Jan 2006 19:46:26 +0000 |
parents | ce64900b4a47 |
children | 19418e4422cb |
comparison
equal
deleted
inserted
replaced
1308:ce64900b4a47 | 1309:0f00cbbe5792 |
---|---|
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 Quote A][M_PROG_CXX so that aclocal doesn't bring it in needlessly. | 380 dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX |
381 dnl If either AC_PROG_CXX or A][M_PROG_CXX have already been expanded, run | 381 dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. |
382 dnl AC_LIBTOOL_CXX immediately, otherwise, hook it in at the end of both. | |
383 AC_PROVIDE_IFELSE([AC_PROG_CXX], | 382 AC_PROVIDE_IFELSE([AC_PROG_CXX], |
384 [AC_LIBTOOL_CXX], | 383 [AC_LIBTOOL_CXX], |
385 [AC_PROVIDE_IFELSE([A][M_PROG_CXX], | 384 [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX |
386 [AC_LIBTOOL_CXX], | 385 ])]) |
387 [AC_PROVIDE_IFELSE([LT_AC_PROG_CXX], | 386 dnl And a similar setup for Fortran 77 support |
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. | |
400 AC_PROVIDE_IFELSE([AC_PROG_F77], | 387 AC_PROVIDE_IFELSE([AC_PROG_F77], |
401 [AC_LIBTOOL_F77], | 388 [AC_LIBTOOL_F77], |
402 [AC_PROVIDE_IFELSE([A][M_PROG_F77], | 389 [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 |
403 [AC_LIBTOOL_F77], | 390 ])]) |
404 [AC_PROVIDE_IFELSE([LT_AC_PROG_F77], | 391 |
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 ]) | |
414 dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. | 392 dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. |
415 dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run | 393 dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run |
416 dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. | 394 dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. |
417 AC_PROVIDE_IFELSE([AC_PROG_GCJ], | 395 AC_PROVIDE_IFELSE([AC_PROG_GCJ], |
418 [AC_LIBTOOL_GCJ], | 396 [AC_LIBTOOL_GCJ], |
425 ifdef([A][M_PROG_GCJ], | 403 ifdef([A][M_PROG_GCJ], |
426 [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) | 404 [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) |
427 ifdef([LT_AC_PROG_GCJ], | 405 ifdef([LT_AC_PROG_GCJ], |
428 [define([LT_AC_PROG_GCJ], | 406 [define([LT_AC_PROG_GCJ], |
429 defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) | 407 defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) |
430 ]) | 408 ])])# AC_PROG_LIBTOOL |
431 ])# AC_PROG_LIBTOOL | |
432 | 409 |
433 | 410 |
434 # _AC_PROG_LIBTOOL | 411 # _AC_PROG_LIBTOOL |
435 # ---------------- | 412 # ---------------- |
436 AC_DEFUN([_AC_PROG_LIBTOOL], | 413 AC_DEFUN([_AC_PROG_LIBTOOL], |