Skip to content

Commit

Permalink
REVERTME: add '+fortran' to version suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
sethrj committed Jun 3, 2022
1 parent 9c4f2d3 commit 029bc7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Source/Modules/main.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,10 @@ int SWIG_main(int argc, char *argv[], const TargetLanguageModule *tlm) {

// Set the SWIG version value in format 0xAABBCC from package version expected to be in format A.B.C
String *package_version = NewString(PACKAGE_VERSION); /* Note that the fakeversion has not been set at this point */
if (char *token = strstr(Char(package_version), "+")) {
// Remove '+' suffix
*token = '\0';
}
char *token = strtok(Char(package_version), ".");
String *vers = NewString("SWIG_VERSION 0x");
int count = 0;
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
dnl The macros which aren't shipped with the autotools are stored in the
dnl Tools/config directory in .m4 files.

AC_INIT([swig],[4.1.0],[http://www.swig.org])
AC_INIT([swig],[4.1.0+fortran],[http://www.swig.org])
AC_PREREQ([2.60])

AC_CONFIG_SRCDIR([Source/Swig/swig.h])
Expand Down

0 comments on commit 029bc7f

Please sign in to comment.