Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
xplatproviders
configure-assume-host-SUSE-if-SUSE_VERSION-set....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File configure-assume-host-SUSE-if-SUSE_VERSION-set.patch of Package xplatproviders
From 40213d6b49dc48721a7b4de8a0a668f3b4267f6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Mon, 3 Jul 2017 08:55:14 +0200 Subject: [PATCH] configure: assume host SUSE if SUSE_VERSION set + assume FEDORA if FEDORA_VERSION is set --- configure | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/configure b/configure index c36a90eef223..fdc70edf589d 100644 --- a/configure +++ b/configure @@ -82,9 +82,16 @@ chmod +x ./build/xplatproviders/license.awk host=`./build/xplatproviders/config.guess` if [ "$host" = "Unknown" ]; then - echo "Error: unsupported platform" - echo "" - exit 1; + if [ -n "$SUSE_VERSION" ]; then + echo "SUSE" + host="SUSE" + elif [ -n "$FEDORA_VERSION" ]; then + host="FEDORA" + else + echo "Error: unsupported platform" + echo "" + exit 1; + fi fi ## -- 2.13.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor