summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 18b0fc1)
raw | patch | inline | side by side (parent: 18b0fc1)
author | Junio C Hamano <junkio@cox.net> | |
Fri, 29 Sep 2006 07:34:51 +0000 (00:34 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 30 Sep 2006 01:52:38 +0000 (18:52 -0700) |
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>
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>
INSTALL | patch | blob | history | |
Makefile | patch | blob | history | |
config.mak.in | patch | blob | history | |
configure.ac | patch | blob | history |
index 0d432d713f98c41bd1e40c015a31c366a13ad40b..fce6bc39d562271417fe4caeaf2d5dd9691deaf8 100644 (file)
--- a/INSTALL
+++ b/INSTALL
GIT_EXEC_PATH=`pwd`
PATH=`pwd`:$PATH
- GITPERLLIB=`pwd`/perl/blib/lib:`pwd`/perl/blib/arch/auto/Git
+ GITPERLLIB=`pwd`/perl/blib/lib
export GIT_EXEC_PATH PATH GITPERLLIB
- Git is reasonably self-sufficient, but does depend on a few external
diff --git a/Makefile b/Makefile
index 8a7f29bc9b78d3be02f181b8aa30fe3d4218f8ad..187596573faa6791650b12ad47a367c7f8a14a0d 100644 (file)
--- a/Makefile
+++ b/Makefile
# on non-x86 architectures (e.g. PowerPC), while the OpenSSL version (default
# choice) has very fast version optimized for i586.
#
-# Define USE_PIC if you need the main git objects to be built with -fPIC
-# in order to build and link perl/Git.so. x86-64 seems to need this.
-#
# Define NEEDS_SSL_WITH_CRYPTO if you need -lcrypto with -lssl (Darwin).
#
# Define NEEDS_LIBICONV if linking with libc is not enough (Darwin).
# CFLAGS and LDFLAGS are for the users to override from the command line.
CFLAGS = -g -O2 -Wall
-PIC_FLAG = -fPIC
LDFLAGS =
ALL_CFLAGS = $(CFLAGS)
ALL_LDFLAGS = $(LDFLAGS)
ifneq (,$(findstring arm,$(uname_M)))
ARM_SHA1 = YesPlease
endif
-ifeq ($(uname_M),sun4u)
- USE_PIC = YesPlease
-endif
-ifeq ($(uname_M),x86_64)
- USE_PIC = YesPlease
-endif
-include config.mak.autogen
-include config.mak
endif
endif
endif
-ifdef USE_PIC
- ALL_CFLAGS += $(PIC_FLAG)
-endif
ifdef NO_ACCURATE_DIFF
BASIC_CFLAGS += -DNO_ACCURATE_DIFF
endif
diff --git a/config.mak.in b/config.mak.in
index addda4f16c243b6b4ce875a39909c95b2afe94db..fecae802d1397e7b7d97c5edd5ca4359e363e8cf 100644 (file)
--- a/config.mak.in
+++ b/config.mak.in
CC = @CC@
CFLAGS = @CFLAGS@
-PIC_FLAG = @PIC_FLAG@
AR = @AR@
TAR = @TAR@
#INSTALL = @INSTALL@ # needs install-sh or install.sh in sources
diff --git a/configure.ac b/configure.ac
index 0f93f6fe2948f338167d3c019b0fba014eeba508..819282691f2c6ac9ac622fb8005e0720325763f0 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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])