1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

Fix the definitions of LLVMGCC and LLVMGXX to include the EXEEXT (the

.exe extension) on Cygwin. This fixes the last few remaining Cygwin
issues. Thanks to Aaron Gray for tracking this down.

llvm-svn: 22191
This commit is contained in:
Reid Spencer 2005-06-02 22:34:49 +00:00
parent 966f750ad2
commit ba5ae90ec8
2 changed files with 14 additions and 10 deletions

View File

@ -357,11 +357,13 @@ esac
AC_SUBST(ETAGSFLAGS,$ETAGSFLAGS)
if test "$WITH_LLVMGCCDIR" = "default" ; then
AC_PATH_PROG(LLVMGCC, [llvm-gcc], [])
AC_PATH_PROG(LLVMGXX, [llvm-g++], [])
LLVMGCC="llvm-gcc${EXEEXT}"
LLVMGXX="llvm-g++${EXEEXT}"
AC_PATH_PROG(LLVMGCC, $LLVMGCC, [])
AC_PATH_PROG(LLVMGXX, $LLVMGXX, [])
else
LLVMGCC=$WITH_LLVMGCCDIR/bin/llvm-gcc
LLVMGXX=$WITH_LLVMGCCDIR/bin/llvm-g++
LLVMGCC="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
LLVMGXX="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
AC_SUBST(LLVMGCC,$LLVMGCC)
AC_SUBST(LLVMGXX,$LLVMGXX)
fi

14
configure vendored
View File

@ -24625,8 +24625,10 @@ ETAGSFLAGS=$ETAGSFLAGS
if test "$WITH_LLVMGCCDIR" = "default" ; then
# Extract the first word of "llvm-gcc", so it can be a program name with args.
set dummy llvm-gcc; ac_word=$2
LLVMGCC="llvm-gcc${EXEEXT}"
LLVMGXX="llvm-g++${EXEEXT}"
# Extract the first word of "$LLVMGCC", so it can be a program name with args.
set dummy $LLVMGCC; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_LLVMGCC+set}" = set; then
@ -24664,8 +24666,8 @@ else
echo "${ECHO_T}no" >&6
fi
# Extract the first word of "llvm-g++", so it can be a program name with args.
set dummy llvm-g++; ac_word=$2
# Extract the first word of "$LLVMGXX", so it can be a program name with args.
set dummy $LLVMGXX; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_LLVMGXX+set}" = set; then
@ -24704,8 +24706,8 @@ echo "${ECHO_T}no" >&6
fi
else
LLVMGCC=$WITH_LLVMGCCDIR/bin/llvm-gcc
LLVMGXX=$WITH_LLVMGCCDIR/bin/llvm-g++
LLVMGCC="$WITH_LLVMGCCDIR/bin/llvm-gcc${EXEEXT}"
LLVMGXX="$WITH_LLVMGCCDIR/bin/llvm-g++${EXEEXT}"
LLVMGCC=$LLVMGCC
LLVMGXX=$LLVMGXX