]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Fixed definitions using SHLIBMAJOR and SHLIBMINOR.
authorJames Ralston <qralston+ml.nettle-bugs@andrew.cmu.edu>
Fri, 1 Nov 2002 08:50:18 +0000 (09:50 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Fri, 1 Nov 2002 08:50:18 +0000 (09:50 +0100)
Also AC_SUBST SHLIBMAJOR and SHLIBMINOR. Reported by James
Ralston.

Rev: src/nettle/configure.ac:1.13

configure.ac

index ab3cbb20e6586170b5d38873403c3e9ee8a4de7d..90eaf47faf2ec98669da54d0aac0e6f5a4240226 100644 (file)
@@ -92,8 +92,8 @@ fi
 
 SHLIBCFLAGS="-fpic"
 SHLIBFORLINK=libnettle.so
-SHLIBSONAME='$(SHLIBFORLINK).$(MAJOR)'
-SHLIBFILE='$(SHLIBSONAME).$(MINOR)'
+SHLIBSONAME='$(SHLIBFORLINK).$(SHLIBMAJOR)'
+SHLIBFILE='$(SHLIBSONAME).$(SHLIBMINOR)'
 SHLIBLINK='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME)'
 
 echo "enable_shared: $enable_shared"
@@ -107,6 +107,8 @@ else
 fi
 
 AC_SUBST(SHLIBCFLAGS)
+AC_SUBST(SHLIBMAJOR)
+AC_SUBST(SHLIBMINOR)
 AC_SUBST(SHLIBFORLINK)
 AC_SUBST(SHLIBSONAME)
 AC_SUBST(SHLIBFILE)