X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure;h=d2594d21c8291442fcdc2fe6e01a33052761ce64;hb=6ae77271f24e0de83cdb169d113e6503e9c1819c;hp=94f8ad21bb1943065dd1dffde7dd542a5ccc1e60;hpb=c292798a57295784236802c7739af08214ab0293;p=pcsx_rearmed.git diff --git a/configure b/configure index 94f8ad21..d2594d21 100755 --- a/configure +++ b/configure @@ -66,7 +66,7 @@ optimize_cortexa8="no" optimize_arm926ej="no" # hardcoded stuff -if [ ${OSTYPE} = "FreeBSD" ]; then +if [ "${OSTYPE}" = "FreeBSD" ]; then CC="clang" CXX="clang++" CFLAGS="-I/usr/local/include -L/usr/local/lib" @@ -80,7 +80,7 @@ AR="${AS-${CROSS_COMPILE}ar}" MAIN_LDLIBS="$LDLIBS -ldl -lm -lpthread" config_mak="config.mak" -if [ ${OSTYPE} = "FreeBSD" ]; then +if [ "${OSTYPE}" = "FreeBSD" ]; then SYSROOT="$sysroot" [ "x${SDL_CONFIG}" = "x" ] && SDL_CONFIG="${SYSROOT}/usr/local/bin/sdl-config" else