summaryrefslogtreecommitdiff
path: root/devel/libgtop/files/patch-ac
blob: 6a12baf28924f6797c14105857c22fd7eb222dd7 (plain) (blame)
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
$FreeBSD$

--- configure.orig	Tue Nov 27 00:50:58 2001
+++ configure	Fri Jul 12 15:38:19 2002
@@ -1260,10 +1260,10 @@
 
 # The aliases save the names the user supplied, while $host etc.
 # will get canonicalized.
-test -n "$target_alias" &&
-  test "$program_prefix$program_suffix$program_transform_name" = \
-    NONENONEs,x,x, &&
-  program_prefix=${target_alias}-
+#test -n "$target_alias" &&
+#  test "$program_prefix$program_suffix$program_transform_name" = \
+#    NONENONEs,x,x, &&
+#  program_prefix=${target_alias}-
 
 # Extract the first word of "dc", so it can be a program name with args.
 set dummy dc; ac_word=$2
@@ -1580,9 +1580,9 @@
 
 # libtool versioning
 LT_RELEASE=$LIBGTOP_MAJOR_VERSION.$LIBGTOP_MINOR_VERSION
-LT_CURRENT=`expr $LIBGTOP_MICRO_VERSION - $LIBGTOP_INTERFACE_AGE`
-LT_REVISION=$LIBGTOP_INTERFACE_AGE
-LT_AGE=`expr $LIBGTOP_BINARY_AGE - $LIBGTOP_INTERFACE_AGE`
+LT_CURRENT=1
+LT_REVISION=0
+LT_AGE=0
 LT_VERSION_INFO='-version-info ${LT_CURRENT}:${LT_REVISION}:${LT_AGE}'
 
 if test x = y; then
@@ -7555,6 +7555,7 @@
 
 # This can be used to rebuild libtool when needed
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
 
 # Always use our own libtool.
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'