Only set OBJC if it is empty.

This way, OBJC can still be overridden.
This commit is contained in:
Jonathan Schleifer 2011-03-30 13:35:22 +02:00
parent 3f7a420b4e
commit bb31fd1112

View file

@ -2,7 +2,7 @@ AC_INIT(ObjXMPP, 0.1, js@webkeks.org)
AC_CONFIG_SRCDIR(src)
AC_PATH_TOOL(OBJFW_CONFIG, objfw-config)
OBJC="$($OBJFW_CONFIG --objc)"
test x"$OBJC" = x"" && OBJC="$($OBJFW_CONFIG --objc)"
AC_LANG([Objective C])
AC_PROG_OBJC