Mercurial > sdl-ios-xcode
comparison acinclude.m4 @ 794:a5defa3b93e1
Updated for the latest version of automake
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 29 Jan 2004 16:14:09 +0000 |
parents | 0f4f974d0201 |
children | 05c551e5bc64 |
comparison
equal
deleted
inserted
replaced
793:c20f08c4f437 | 794:a5defa3b93e1 |
---|---|
1 # Local macros for the SDL configure.in script | 1 # Local macros for the SDL configure.in script |
2 | 2 |
3 dnl Function to link an architecture specific file | 3 dnl Function to link an architecture specific file |
4 dnl LINK_ARCH_SRC(source_dir, arch, source_file) | 4 dnl LINK_ARCH_SRC(source_dir, arch, source_file) |
5 AC_DEFUN(COPY_ARCH_SRC, | 5 AC_DEFUN([COPY_ARCH_SRC], |
6 [ | 6 [ |
7 old="$srcdir/$1/$2/$3" | 7 old="$srcdir/$1/$2/$3" |
8 new="$1/$3" | 8 new="$1/$3" |
9 if test ! -d $1; then | 9 if test ! -d $1; then |
10 echo "Creating directory $1" | 10 echo "Creating directory $1" |
29 # Shamelessly stolen from Owen Taylor | 29 # Shamelessly stolen from Owen Taylor |
30 | 30 |
31 dnl AM_PATH_ESD([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) | 31 dnl AM_PATH_ESD([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) |
32 dnl Test for ESD, and define ESD_CFLAGS and ESD_LIBS | 32 dnl Test for ESD, and define ESD_CFLAGS and ESD_LIBS |
33 dnl | 33 dnl |
34 AC_DEFUN(AM_PATH_ESD, | 34 AC_DEFUN([AM_PATH_ESD], |
35 [dnl | 35 [dnl |
36 dnl Get the cflags and libraries from the esd-config script | 36 dnl Get the cflags and libraries from the esd-config script |
37 dnl | 37 dnl |
38 AC_ARG_WITH(esd-prefix,[ --with-esd-prefix=PFX Prefix where ESD is installed (optional)], | 38 AC_ARG_WITH(esd-prefix,[ --with-esd-prefix=PFX Prefix where ESD is installed (optional)], |
39 esd_prefix="$withval", esd_prefix="") | 39 esd_prefix="$withval", esd_prefix="") |