Fixed the aux directory to be the one recognized by automake.
authorSam Lantinga <slouken@libsdl.org>
Thu, 17 Nov 2011 00:43:44 -0500
changeset 608645d22791e77c
parent 6085 fcffe5fdf54b
child 6088 eedb8e10ac22
Fixed the aux directory to be the one recognized by automake.
This isn't strictly needed by SDL, but it's a good example for other projects.
configure
configure.in
     1.1 --- a/configure	Thu Nov 17 00:41:07 2011 -0500
     1.2 +++ b/configure	Thu Nov 17 00:43:44 2011 -0500
     1.3 @@ -2033,7 +2033,7 @@
     1.4  
     1.5  
     1.6  ac_aux_dir=
     1.7 -for ac_dir in $srcdir/build-scripts; do
     1.8 +for ac_dir in build-scripts "$srcdir"/build-scripts; do
     1.9    if test -f "$ac_dir/install-sh"; then
    1.10      ac_aux_dir=$ac_dir
    1.11      ac_install_sh="$ac_aux_dir/install-sh -c"
    1.12 @@ -2049,8 +2049,8 @@
    1.13    fi
    1.14  done
    1.15  if test -z "$ac_aux_dir"; then
    1.16 -  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir/build-scripts" >&5
    1.17 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir/build-scripts" >&2;}
    1.18 +  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-scripts \"$srcdir\"/build-scripts" >&5
    1.19 +echo "$as_me: error: cannot find install-sh or install.sh in build-scripts \"$srcdir\"/build-scripts" >&2;}
    1.20     { (exit 1); exit 1; }; }
    1.21  fi
    1.22  
     2.1 --- a/configure.in	Thu Nov 17 00:41:07 2011 -0500
     2.2 +++ b/configure.in	Thu Nov 17 00:43:44 2011 -0500
     2.3 @@ -2,7 +2,7 @@
     2.4  AC_INIT(README)
     2.5  AC_CONFIG_HEADER(include/SDL_config.h)
     2.6  AC_GNU_SOURCE
     2.7 -AC_CONFIG_AUX_DIRS($srcdir/build-scripts)
     2.8 +AC_CONFIG_AUX_DIR(build-scripts)
     2.9  AC_CONFIG_MACRO_DIR([acinclude])
    2.10  
    2.11  dnl Save the CFLAGS to see whether they were passed in or generated