Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
EtherBone Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
EtherBone Core
Commits
d74ebc91
Commit
d74ebc91
authored
Mar 14, 2023
by
A. Hahn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac: don't require lsb_release anymore
parent
2cafbf68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
configure.ac
api/configure.ac
+0
-13
No files found.
api/configure.ac
View file @
d74ebc91
...
...
@@ -30,19 +30,6 @@ AC_TRY_COMPILE([],[],
AC_MSG_RESULT(no)
CFLAGS="$old_CFLAGS")
AC_PATH_PROG([UNAME], [uname], [false])
AC_PATH_PROG([LSB_RELEASE], [lsb_release], [false])
AC_PATH_PROG([SW_VERS], [sw_vers], [false])
AC_CACHE_CHECK([for operating system], [ac_cv_OS], [AS_CASE([`${UNAME} -s`],
[Linux], [AS_IF(["${LSB_RELEASE}" -d -s 2>/dev/null >/dev/null],
[os=`"${LSB_RELEASE}" -d -s`; os="${os%\"}"; ac_cv_OS="${os#\"}"],
[AC_MSG_ERROR([lsb_release is required])])],
[Darwin], [AS_IF(["${SW_VERS}" 2>/dev/null >/dev/null],
[ac_cv_OS="`${SW_VERS} -productName` `${SW_VERS} -productVersion`"],
[AC_MSG_ERROR([sw_vers is required])])],
[ac_cv_OS="`${UNAME} -s`"])])
AC_DEFINE_UNQUOTED([OPERATING_SYSTEM], ["$ac_cv_OS"], [The operating system of the build system])
AC_DEFINE_UNQUOTED([HOSTNAME], ["${HOSTNAME:-unknown}"], [The hostname of the build system])
AC_DEFINE_UNQUOTED([USERNAME], ["${USERNAME:-${LOGNAME:-${USER:-unknown}}}"], [The username of the person compiling saftlib])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment