Репозитории ALT
S: | 8.45-alt2 |
5.1: | 7.9-alt3 |
4.1: | 7.6-alt1.M41.1 |
4.0: | 7.6-alt1.M40.1 |
+updates: | 7.4-alt1 |
3.0: | 6.4-alt1 |
Группа :: Система/Библиотеки
Пакет: pcre
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: pcre-7.9-alt3.patch
Скачать
Скачать
Makefile.am | 4 ++--
pcre-config.in | 14 ++------------
pcretest.c | 2 +-
3 files changed, 5 insertions(+), 15 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 1dcec00..106e266 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -243,13 +243,13 @@ dist_noinst_SCRIPTS += RunTest
EXTRA_DIST += RunTest.bat
bin_PROGRAMS += pcretest
pcretest_SOURCES = pcretest.c
-pcretest_LDADD = libpcreposix.la $(LIBREADLINE)
+pcretest_LDADD = libpcreposix.la libpcre.la $(LIBREADLINE)
TESTS += RunGrepTest
dist_noinst_SCRIPTS += RunGrepTest
bin_PROGRAMS += pcregrep
pcregrep_SOURCES = pcregrep.c
-pcregrep_LDADD = libpcreposix.la $(LIBZ) $(LIBBZ2)
+pcregrep_LDADD = libpcreposix.la libpcre.la $(LIBZ) $(LIBBZ2)
EXTRA_DIST += \
testdata/grepinput \
diff --git a/pcre-config.in b/pcre-config.in
index 3b52101..7933cd4 100644
--- a/pcre-config.in
+++ b/pcre-config.in
@@ -12,16 +12,6 @@ if test $# -eq 0; then
exit 1
fi
-libR=
-case `uname -s` in
- *SunOS*)
- libR=" -R@libdir@"
- ;;
- *BSD*)
- libR=" -Wl,-R@libdir@"
- ;;
-esac
-
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
@@ -55,10 +45,10 @@ while test $# -gt 0; do
echo $includes
;;
--libs-posix)
- echo -L@libdir@$libR -lpcreposix -lpcre
+ echo -lpcreposix -lpcre
;;
--libs)
- echo -L@libdir@$libR -lpcre
+ echo -lpcre
;;
*)
echo "${usage}" 1>&2
diff --git a/pcretest.c b/pcretest.c
index 79218a2..18bc7e9 100644
--- a/pcretest.c
+++ b/pcretest.c
@@ -818,7 +818,7 @@ options, followed by a set of test data, terminated by an empty line. */
int main(int argc, char **argv)
{
FILE *infile = stdin;
-int options = 0;
+long int options = 0;
int study_options = 0;
int default_find_match_limit = FALSE;
int op = 1;