comparison acinclude.m4 @ 1361:19418e4422cb

New configure-based build system. Still work in progress, but much improved
author Sam Lantinga <slouken@libsdl.org>
date Thu, 16 Feb 2006 10:11:48 +0000
parents 0f00cbbe5792
children a740bca2a1b1
comparison
equal deleted inserted replaced
1360:70a9cfb4cf1b 1361:19418e4422cb
1 # Local macros for the SDL configure.in script
2
3 dnl Function to link an architecture specific file
4 dnl LINK_ARCH_SRC(source_dir, arch, source_file)
5 AC_DEFUN([COPY_ARCH_SRC],
6 [
7 old="$srcdir/$1/$2/$3"
8 new="$1/$3"
9 if test ! -d $1; then
10 echo "Creating directory $1"
11 mkdir -p $1
12 fi
13 echo "Copying $old -> $new"
14 cat >$new <<__EOF__
15 /* WARNING: This file was automatically generated!
16 * Original: $old
17 */
18 __EOF__
19 cat >>$new <$old
20 ])
21
22 ############################################################################## 1 ##############################################################################
23 dnl Configure Paths for Alsa 2 dnl Configure Paths for Alsa
24 dnl Some modifications by Richard Boulton <richard-alsa@tartarus.org> 3 dnl Some modifications by Richard Boulton <richard-alsa@tartarus.org>
25 dnl Christopher Lansdown <lansdoct@cs.alfred.edu> 4 dnl Christopher Lansdown <lansdoct@cs.alfred.edu>
26 dnl Jaroslav Kysela <perex@suse.cz> 5 dnl Jaroslav Kysela <perex@suse.cz>
1005 # Worse, since 9x/ME are not pre-emptively multitasking, 984 # Worse, since 9x/ME are not pre-emptively multitasking,
1006 # you end up with a "frozen" computer, even though with patience 985 # you end up with a "frozen" computer, even though with patience
1007 # the test eventually succeeds (with a max line length of 256k). 986 # the test eventually succeeds (with a max line length of 256k).
1008 # Instead, let's just punt: use the minimum linelength reported by 987 # Instead, let's just punt: use the minimum linelength reported by
1009 # all of the supported platforms: 8192 (on NT/2K/XP). 988 # all of the supported platforms: 8192 (on NT/2K/XP).
989 lt_cv_sys_max_cmd_len=8192;
990 ;;
991
992 beos*)
993 # On BeOS, this test takes a really really long time.
994 # So we just punt and use a minimum line length of 8192.
1010 lt_cv_sys_max_cmd_len=8192; 995 lt_cv_sys_max_cmd_len=8192;
1011 ;; 996 ;;
1012 997
1013 amigaos*) 998 amigaos*)
1014 # On AmigaOS with pdksh, this test takes hours, literally. 999 # On AmigaOS with pdksh, this test takes hours, literally.