Remove -fPIC which was only needed for Git.xs

The distinction between BASIC_ vs ALL_ is still kept, since it
is not Git.xs specific -- we could face the same issue when we
do other language bindings (e.g. Python).

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano
2006-09-29 00:34:51 -07:00
parent 18b0fc1ce1
commit f7661ce0b8
4 changed files with 1 additions and 22 deletions

View File

@ -96,13 +96,6 @@ AC_SUBST(PYTHON_PATH)
AC_MSG_NOTICE([CHECKS for programs])
#
AC_PROG_CC([cc gcc])
if test -n "$GCC"; then
PIC_FLAG="-fPIC"
else
AC_CHECK_DECL(__SUNPRO_C, [CFLAGS="$CFLAGS -xO3"; PIC_FLAG="-KPIC"])
fi
AC_SUBST(PIC_FLAG)
#AC_PROG_INSTALL # needs install-sh or install.sh in sources
AC_CHECK_TOOL(AR, ar, :)
AC_CHECK_PROGS(TAR, [gtar tar])