Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
2ba6f003
Commit
2ba6f003
authored
17 years ago
by
rds
Browse files
Options
Downloads
Patches
Plain Diff
Universal building on mac os x
Hopefully nothing else is broken
parent
9b01d957
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/runconfig
+30
-18
30 additions, 18 deletions
src/runconfig
with
30 additions
and
18 deletions
src/runconfig
+
30
−
18
View file @
2ba6f003
...
...
@@ -127,34 +127,46 @@ case $opsys in
echo
"*** WARNING *** : Are MAC_MOUNT_POINT && ZMAP_PREFIX set correctly? Edit
$0
"
echo
"*** WARNING *** "
# MAC_MOUNT_POINT should be /Users/zmap on laptop and /Users/zmap/nfs_mount on desktop!
if
[
-d
/Users/zmap/nfs_mount
]
;
then
MAC_MOUNT_POINT
=
/Users/zmap/nfs_mount
else
MAC_MOUNT_POINT
=
/Users/zmap
fi
# ZMAP_PREFIX Should be $MAC_MOUNT_POINT/prefix on laptop and $MAC_MOUNT_POINT/prefix/MACOSX on desktop!
if
[
-d
$MAC_MOUNT_POINT
/prefix/MACOSX
]
;
then
ZMAP_PREFIX
=
$MAC_MOUNT_POINT
/prefix/MACOSX
else
ZMAP_PREFIX
=
$MAC_MOUNT_POINT
/prefix
fi
foocanvas_prefix
=
""
gtk_prefix
=
"/usr/local/gtk"
universal_build
=
"yes"
# PKG_CONFIG_PATH=$ZMAP_PREFIX/lib/pkgconfig:/usr/local/gtk2/lib/pkgconfig:/sw/lib/pkgconfig
PKG_CONFIG_PATH
=
$ZMAP_PREFIX
/lib/pkgconfig:/usr/local/lib/pkgconfig:/sw/lib/pkgconfig
PATH
=
$gtk_prefix
/bin:
$PATH
PKG_CONFIG
=
$gtk_prefix
/bin/pkg-config
PKG_CONFIG_PATH
=
$gtk_prefix
/lib/pkgconfig
ACLOCAL_FLAGS
=
"-I
$gtk_prefix
/share/aclocal"
export
LD_LIBRARY_PATH
=
$gtk_prefix
/lib
CC_args
=
""
CFLAGS_args
=
"CFLAGS=-Wall -I
$ZMAP_PREFIX
/include"
CFLAGS_args
=
"CFLAGS=-Wall -I
$gtk_prefix
/include"
local_LDFLAGS
=
"-Xlinker -bind_at_load -L
$gtk_prefix
/lib"
# LDFLAGS_args='LDFLAGS=-Xlinker -bind_at_load -L/sw/lib' # added -L/sw/lib for the imac desktop
LDFLAGS_args
=
'LDFLAGS=-Xlinker -bind_at_load -L/usr/local/lib'
export
PKG_CONFIG_PATH
;;
if
[
"x
$foocanvas_prefix
"
!=
"x"
]
;
then
PKG_CONFIG_PATH
=
"
$foocanvas_prefix
/lib/pkgconfig:
$PKG_CONFIG_PATH
"
local_LDFLAGS
=
"-Xlinker -rpath -Xlinker
$foocanvas_prefix
/lib
$local_LDFLAGS
-L
$foocanvas_prefix
/lib"
fi
if
[
"x
$universal_build
"
==
"xyes"
]
;
then
SDK
=
/Developer/SDKs/MacOSX10.4u.sdk
CC_args
=
"--disable-dependency-tracking --with-macosx-sdk-path=
$SDK
"
PATH
=
$SDK
/usr/bin:
$PATH
fi
LDFLAGS_args
=
"LDFLAGS=
$local_LDFLAGS
"
export
PKG_CONFIG
export
PKG_CONFIG_PATH
export
ACLOCAL_FLAGS
;;
*
)
msgAndExit
"unsupported operating system:
$opsys
"
;;
esac
echo
"
$script
: Running "
$root
/configure
--enable-debug
--enable-shtml-doc
$CC_args
"
$CFLAGS_args
"
"
$LDFLAGS_args
"
"
$@
"
echo
"
$script
: Running "
$root
/configure
--enable-shared
--disable-static
--enable-debug
--enable-shtml-doc
$CC_args
"
$CFLAGS_args
"
"
$LDFLAGS_args
"
"
$@
"
echo
"=========================================================================="
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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