equal
deleted
inserted
replaced
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="") |