Skip to content

Commit 0af6530

Browse files
committed
Use better version
1 parent ca33ed1 commit 0af6530

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ lis-clean:
101101

102102
.PRECIOUS: Makefile
103103

104-
Makefile: Makefile.in config.status
104+
Makefile: Makefile.in config.status common/m4/*.m4
105105
./config.status
106106

107107
config.status: configure

common

configure.ac

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dnl Process this file with autoconf to produce a configure script.
22

33
AC_PREREQ([2.63])
4-
AC_INIT([OpenModelica],[dev],[https://trac.openmodelica.org/OpenModelica],[openmodelica],[https://openmodelica.org])
4+
AC_INIT([OMCompiler],[dev],[https://trac.openmodelica.org/OpenModelica],[openmodelica],[https://openmodelica.org])
55
AC_SUBST(date)
66
AC_SUBST(host_short)
77
AC_SUBST(omc_antlr_jar)
@@ -754,13 +754,8 @@ AC_ARG_WITH(PATOH, [ --with-PATOH=DIR Compile with PATOH hyperg
754754
USE_PATOH=0;
755755
])
756756

757-
AC_MSG_CHECKING([for revision])
758-
SOURCE_REVISION=""
759-
test -f REVISION && SOURCE_REVISION=`test -f REVISION && head -n1 REVISION`
760-
test -z "$SOURCE_REVISION" && test -e .git && SOURCE_REVISION=`git describe --dirty --match "v*.*" --always`
761-
test -z "$SOURCE_REVISION" && SOURCE_REVISION="????"
757+
m4_include([common/m4/semver.m4])
762758

763-
AC_MSG_RESULT([$SOURCE_REVISION])
764759
SOURCE_REVISION="$SOURCE_REVISION$NON_FREE_VERSION"
765760

766761
AC_MSG_CHECKING([for OpenModelica platform name])

0 commit comments

Comments
 (0)