2 Star 1 Fork 0

mirrors_OpenMandrivaAssociation/tokyotyrant

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
tokyotyrant-1.1.33-mdv_conf.diff 3.17 KB
一键复制 编辑 原始数据 按行查看 历史
Charlie Root 提交于 2012-11-12 22:17 . SILENT: ABF Import
diff -Naur tokyotyrant-1.1.33/configure.in tokyotyrant-1.1.33.oden/configure.in
--- tokyotyrant-1.1.33/configure.in 2009-07-17 18:13:14.000000000 +0200
+++ tokyotyrant-1.1.33.oden/configure.in 2009-08-19 18:07:38.000000000 +0200
@@ -28,33 +28,14 @@
MYPCFILES="tokyotyrant.pc"
# Building flags
-MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char -O2"
-MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include"
-MYCPPFLAGS="$MYCPPFLAGS -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__"
-MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib"
+MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char $CFLAGS"
+MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__"
+MYLDFLAGS="-L. -L\$(LIBDIR)"
MYCMDLDFLAGS=""
MYRUNPATH="\$(LIBDIR)"
MYLDLIBPATHENV="LD_LIBRARY_PATH"
MYPOSTCMD="true"
-# Building paths
-PATH="$PATH:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
-PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb"
-CPATH="$HOME/include:/usr/local/include:$CPATH"
-LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
-LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
-PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
-export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH
-if type pkg-config > /dev/null 2>&1
-then
- PATH="$PATH:`pkg-config --variable=bindir tokyocabinet`"
- CPATH="$CPATH:`pkg-config --variable=includedir tokyocabinet`"
- LIBRARY_PATH="$LIBRARY_PATH:`pkg-config --variable=libdir tokyocabinet`"
- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:`pkg-config --variable=libdir tokyocabinet`"
-fi
-
-
-
#================================================================
# Options
#================================================================
@@ -191,16 +172,6 @@
# C compiler
AC_PROG_CC
-# Reset variables
-if test "$GCC" != "yes"
-then
- AC_MSG_WARN([another compiler except for GCC was detected])
- MYCFLAGS=""
-fi
-test -n "$CFLAGS" && MYCFLAGS="$CFLAGS $MYCFLAGS"
-test -n "$CPPFLAGS" && MYCPPFLAGS="$CPPFLAGS $MYCPPFLAGS"
-test -n "$LDFLAGS" && MYLDFLAGS="$LDFLAGS $MYLDFLAGS"
-
# Byte order
AC_C_BIGENDIAN(MYCPPFLAGS="$MYCPPFLAGS -D_MYBIGEND")
diff -Naur tokyotyrant-1.1.33/Makefile.in tokyotyrant-1.1.33.oden/Makefile.in
--- tokyotyrant-1.1.33/Makefile.in 2009-07-15 04:45:06.000000000 +0200
+++ tokyotyrant-1.1.33.oden/Makefile.in 2009-08-19 18:09:42.000000000 +0200
@@ -58,8 +58,8 @@
LDFLAGS = @MYLDFLAGS@
CMDLDFLAGS = @MYCMDLDFLAGS@
LIBS = @LIBS@
-LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:.
-RUNENV = @MYLDLIBPATHENV@=.:/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@
+LDENV =
+RUNENV = @MYLDLIBPATHENV@=.:$(LIBDIR)
POSTCMD = @MYPOSTCMD@
diff -Naur tokyotyrant-1.1.33/tokyotyrant.pc.in tokyotyrant-1.1.33.oden/tokyotyrant.pc.in
--- tokyotyrant-1.1.33/tokyotyrant.pc.in 2008-02-18 08:29:28.000000000 +0100
+++ tokyotyrant-1.1.33.oden/tokyotyrant.pc.in 2009-08-19 18:10:02.000000000 +0200
@@ -10,5 +10,5 @@
Name: Tokyo Tyrant
Description: network interface of Tokyo Cabinet
Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -ltokyotyrant @LIBS@
+Libs: -L${libdir} -ltokyotyrant
Cflags: -I${includedir}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_OpenMandrivaAssociation/tokyotyrant.git
git@gitee.com:mirrors_OpenMandrivaAssociation/tokyotyrant.git
mirrors_OpenMandrivaAssociation
tokyotyrant
tokyotyrant
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385