configure.in
changeset 5475 9c07ec632b24
parent 5471 179adad3ae6f
child 5482 2c0477323626
equal deleted inserted replaced
5474:c2a1f62433e1 5475:9c07ec632b24
    63 AC_CHECK_PROGS(WINDRES, [windres $hostaliaswindres $host_os-windres])
    63 AC_CHECK_PROGS(WINDRES, [windres $hostaliaswindres $host_os-windres])
    64 
    64 
    65 dnl Set up the compiler and linker flags
    65 dnl Set up the compiler and linker flags
    66 INCLUDE="-I$srcdir/include"
    66 INCLUDE="-I$srcdir/include"
    67 if test x$srcdir != x.; then
    67 if test x$srcdir != x.; then
    68     # Remove SDL_config.h from the source directory, since it's the
    68     # We want to include the generated SDL_config.h first
    69     # default one, and we want to include the one that we generate.
       
    70     if test -f $srcdir/include/SDL_config.h; then
       
    71         rm $srcdir/include/SDL_config.h
       
    72     fi
       
    73     INCLUDE="-Iinclude $INCLUDE"
    69     INCLUDE="-Iinclude $INCLUDE"
    74 fi
    70 fi
    75 case "$host" in
    71 case "$host" in
    76     *-*-cygwin*)
    72     *-*-cygwin*)
    77         # We build SDL on cygwin without the UNIX emulation layer
    73         # We build SDL on cygwin without the UNIX emulation layer