summaryrefslogtreecommitdiff
blob: 7be77b9fe6db8ac2f04ef5d502fc9e57dbaddd2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
diff -Naur pcre-5.0.orig/configure pcre-5.0/configure
--- pcre-5.0.orig/configure	2004-09-13 07:20:00.000000000 -0700
+++ pcre-5.0/configure	2004-12-28 09:24:34.707790654 -0800
@@ -3047,7 +3047,7 @@
   ;;
 
 # This must be Linux ELF.
-linux*)
+linux-gnu*)
   case $host_cpu in
   alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*)
     lt_cv_deplibs_check_method=pass_all ;;
@@ -3060,6 +3060,11 @@
   lt_cv_deplibs_check_method=pass_all
   ;;
 
+linux-uclibc*)
+  lt_cv_deplibs_check_method=pass_all
+  lt_cv_file_magic_test_file=`echo /lib/uClibc-*.so`
+  ;;
+
 netbsd*)
   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
@@ -7554,7 +7559,7 @@
   ;;
 
 # This must be Linux ELF.
-linux*)
+linux-gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -7583,6 +7588,23 @@
   dynamic_linker='GNU/Linux ld.so'
   ;;
 
+linux-uclibc*)
+  version_type=linux
+  need_lib_prefix=no
+  need_version=no
+  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+  soname_spec='${libname}${release}.so$major'
+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+  shlibpath_var=LD_LIBRARY_PATH
+  shlibpath_overrides_runpath=no
+  # This implies no fast_install, which is unacceptable.
+  # Some rework will be needed to allow for fast_install
+  # before this can be enabled.
+  hardcode_into_libs=yes
+  # Assume using the uClibc dynamic linker is in use.
+  dynamic_linker='uClibc ld.so'
+  ;;
+
 knetbsd*-gnu)
   version_type=linux
   need_lib_prefix=no