From ca5f0996cd93cfb7ed8d1cb6ad517a9af7f4341d Mon Sep 17 00:00:00 2001 From: tobigun Date: Fri, 8 May 2009 15:56:46 +0000 Subject: initial cmake support (let's see if this is better suited than autoconf) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1717 b956fd51-792f-4845-bead-9b4dfca2ff2c --- cmake/dists/autogen/m4/ax_extract_version.m4 | 58 ---------------------------- 1 file changed, 58 deletions(-) delete mode 100644 cmake/dists/autogen/m4/ax_extract_version.m4 (limited to 'cmake/dists/autogen/m4/ax_extract_version.m4') diff --git a/cmake/dists/autogen/m4/ax_extract_version.m4 b/cmake/dists/autogen/m4/ax_extract_version.m4 deleted file mode 100644 index c514e3c3..00000000 --- a/cmake/dists/autogen/m4/ax_extract_version.m4 +++ /dev/null @@ -1,58 +0,0 @@ -# This file is part of UltraStar Deluxe -# Created by the UltraStar Deluxe Team - -# SYNOPSIS -# -# AX_EXTRACT_VERSION(VARIABLE_PREFIX, VERSION) -# -# DESCRIPTION -# -# Splits a version number ("major.minor.release") into its components. -# The resulting components of the version are guaranteed to be -# numeric. All non-numeric chars are removed. -# -# Sets -# [$VARIABLE_PREFIX]_VERSION_MAJOR -# [$VARIABLE_PREFIX]_VERSION_MINOR -# [$VARIABLE_PREFIX]_VERSION_RELEASE -# -# This function calls -# AC_SUBST([$VARIABLE_PREFIX]_VERSION_type] for each type - -AC_DEFUN([AX_EXTRACT_VERSION], -[ - version=[$2] - - # strip leading non-numeric tokens - # (necessary for some ffmpeg-packages in ubuntu) - # example: 0d.51.1.0 -> 51.1.0 - version=`echo $version | sed 's/^[[^.]]*[[^0-9.]][[^.]]*\.//'` - - # replace "." and "-" with " " and ignore trailing tokens. - # 1.23.4-r2 will be splitted to [maj=1, min=23, rel=4]. - # In addition we delete everything after the first character - # which is not 0-9. - # 1.3a4-r32 will be [maj=1, min=3, rel=0]. - read major minor release ignore <