Autotools: Fix versioning regression in configure.ac
authorPete Batard <pete@akeo.ie>
Tue, 5 Jun 2012 16:29:46 +0000 (17:29 +0100)
committerPete Batard <pete@akeo.ie>
Tue, 5 Jun 2012 16:29:46 +0000 (17:29 +0100)
* Because of missing [], "LIBUSB_MICROLIBUSB_RC" was being displayed
  in lieu of version number
* Regression introduced with c9d41fe5f0324d969f758f42843e1fd05859f438

configure.ac
libusb/version_nano.h

index 96978a8..b305f68 100644 (file)
@@ -15,7 +15,7 @@ LU_DEFINE_VERSION_ATOM([LIBUSB_MINOR])
 LU_DEFINE_VERSION_ATOM([LIBUSB_MICRO])
 LU_DEFINE_VERSION_RC_ATOM([LIBUSB_RC])
 
-AC_INIT([libusbx],[LIBUSB_MAJOR.LIBUSB_MINOR.LIBUSB_MICROLIBUSB_RC],[libusbx-devel@lists.sourceforge.net],[libusbx],[http://www.libusbx.org/])
+AC_INIT([libusbx],[LIBUSB_MAJOR[.]LIBUSB_MINOR[.]LIBUSB_MICRO[]LIBUSB_RC],[libusbx-devel@lists.sourceforge.net],[libusbx],[http://www.libusbx.org/])
 
 # Library versioning
 # These numbers should be tweaked on every release. Read carefully:
index 264a5e3..f56fbab 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 10519
+#define LIBUSB_NANO 10520