Skip to content

Commit bacf63c

Browse files
committed
Revert "REVERTME: add '+fortran' to version suffix"
This reverts commit 029bc7f.
1 parent 795719a commit bacf63c

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Source/Modules/main.cxx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -909,10 +909,6 @@ int SWIG_main(int argc, char *argv[], const TargetLanguageModule *tlm) {
909909

910910
// Set the SWIG version value in format 0xAABBCC from package version expected to be in format A.B.C
911911
String *package_version = NewString(PACKAGE_VERSION); /* Note that the fakeversion has not been set at this point */
912-
if (char *token = strstr(Char(package_version), "+")) {
913-
// Remove '+' suffix
914-
*token = '\0';
915-
}
916912
char *token = strtok(Char(package_version), ".");
917913
String *vers = NewString("SWIG_VERSION 0x");
918914
int count = 0;

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
22
dnl The macros which aren't shipped with the autotools are stored in the
33
dnl Tools/config directory in .m4 files.
44

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

88
AC_CONFIG_SRCDIR([Source/Swig/swig.h])

0 commit comments

Comments
 (0)