Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alberta3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ians-nmh-siebert
alberta
alberta3
Commits
57c0fc16
Commit
57c0fc16
authored
16 years ago
by
Claus-Justus Heine
Browse files
Options
Downloads
Patches
Plain Diff
Also define _DARWIN_C_SOUCE if compiling on Darwin.
parent
b337be36
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure.ac
+13
-2
13 additions, 2 deletions
configure.ac
with
13 additions
and
2 deletions
configure.ac
+
13
−
2
View file @
57c0fc16
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT([alberta], [
3.0-rc3
], [Claus.Heine@Mathematik.Uni-Freiburg.DE])
AC_INIT([alberta], [
devel
], [Claus.Heine@Mathematik.Uni-Freiburg.DE])
AC_CONFIG_SRCDIR([alberta/src/Common/alberta.h])
AC_CONFIG_MACRO_DIR([m4])
...
...
@@ -469,8 +469,19 @@ AC_CHECK_HEADERS([malloc.h])
# try to pull in some special features (but make sure to supply
# replacements if they are not available)
#
AC_DEFINE([_XOPEN_SOURCE], 600, [Define to get POSIX and XPG stuff])
DARWIN_C_SOURCE=0
XOPEN_SOURCE=0
if test "x$target_os" = "xdarwin"; then
DARWIN_C_SOURCE=1
fi
if test "x$target_os" = "xlinux-gnu"; then
XOPEN_SOURCE=600
fi
AC_DEFINE([_SVID_SOURCE], 1, [Define to get SVID stuff, e.g. strdup])
AC_DEFINE_UNQUOTED([_XOPEN_SOURCE], [$XOPEN_SOURCE],
[Define to get POSIX and XPG stuff])
AC_DEFINE_UNQUOTED([_DARWIN_C_SOURCE], [$DARWIN_C_SOURCE],
[Define to 1 if compiling for MAC OS/X (Darwin)])
#
# check for some functions we need ... add more as needed.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment