configure.in
changeset 7573 b76d8bfe9a2f
parent 7554 4b653ef6050d
child 7659 ac4ce59c40e7
equal deleted inserted replaced
7572:e3c45fdcd18d 7573:b76d8bfe9a2f
    56 AC_PROG_INSTALL
    56 AC_PROG_INSTALL
    57 AC_PROG_MAKE_SET
    57 AC_PROG_MAKE_SET
    58 AC_CHECK_TOOL(WINDRES, [windres], [:])
    58 AC_CHECK_TOOL(WINDRES, [windres], [:])
    59 
    59 
    60 dnl Make sure that srcdir is a full pathname
    60 dnl Make sure that srcdir is a full pathname
    61 srcdir=`cd $srcdir && pwd`
    61 case "$host" in
       
    62     *-*-mingw32*)
       
    63         # Except on msys, where make can't handle full pathnames (bug 1972)
       
    64         ;;
       
    65     *)
       
    66         srcdir=`cd $srcdir && pwd`
       
    67         ;;
       
    68 esac
    62 
    69 
    63 dnl Set up the compiler and linker flags
    70 dnl Set up the compiler and linker flags
    64 INCLUDE="-I$srcdir/include"
    71 INCLUDE="-I$srcdir/include"
    65 if test x$srcdir != x.; then
    72 if test x$srcdir != x.; then
    66     INCLUDE="-Iinclude $INCLUDE"
    73     INCLUDE="-Iinclude $INCLUDE"