OLD | NEW |
1 dnl These m4 macros are whitespace sensitive and break if moved around much. | 1 dnl These m4 macros are whitespace sensitive and break if moved around much. |
2 m4_define([LU_VERSION_H], m4_include([libusb/version.h])) | 2 m4_define([LU_VERSION_H], m4_include([libusb/version.h])) |
3 m4_define([LU_DEFINE_VERSION_ATOM], | 3 m4_define([LU_DEFINE_VERSION_ATOM], |
4 [m4_define([$1], m4_bregexp(LU_VERSION_H, | 4 [m4_define([$1], m4_bregexp(LU_VERSION_H, |
5 [^#define\s*$1\s*\([0-9]*\).*], [\1]))]) | 5 [^#define\s*$1\s*\([0-9]*\).*], [\1]))]) |
6 m4_define([LU_DEFINE_VERSION_RC_ATOM], | 6 m4_define([LU_DEFINE_VERSION_RC_ATOM], |
7 [m4_define([$1], m4_bregexp(LU_VERSION_H, | 7 [m4_define([$1], m4_bregexp(LU_VERSION_H, |
8 [^#define\s*$1\s*"\(-rc[0-9]*\)".*], [\1]))]) | 8 [^#define\s*$1\s*"\(-rc[0-9]*\)".*], [\1]))]) |
9 dnl The m4_bregexp() returns (only) the numbers following the #define named | 9 dnl The m4_bregexp() returns (only) the numbers following the #define named |
10 dnl in the first macro parameter. m4_define() then defines the name for use | 10 dnl in the first macro parameter. m4_define() then defines the name for use |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 AC_SUBST(AM_CFLAGS) | 189 AC_SUBST(AM_CFLAGS) |
190 AC_SUBST(LTLDFLAGS) | 190 AC_SUBST(LTLDFLAGS) |
191 | 191 |
192 AC_CONFIG_FILES([libusb-1.0.pc]) | 192 AC_CONFIG_FILES([libusb-1.0.pc]) |
193 AC_CONFIG_FILES([Makefile]) | 193 AC_CONFIG_FILES([Makefile]) |
194 AC_CONFIG_FILES([libusb/Makefile]) | 194 AC_CONFIG_FILES([libusb/Makefile]) |
195 AC_CONFIG_FILES([examples/Makefile]) | 195 AC_CONFIG_FILES([examples/Makefile]) |
196 AC_CONFIG_FILES([doc/Makefile]) | 196 AC_CONFIG_FILES([doc/Makefile]) |
197 AC_CONFIG_FILES([doc/doxygen.cfg]) | 197 AC_CONFIG_FILES([doc/doxygen.cfg]) |
198 AC_OUTPUT | 198 AC_OUTPUT |
OLD | NEW |