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
faf3ba6d
Commit
faf3ba6d
authored
18 years ago
by
rds
Browse files
Options
Downloads
Patches
Plain Diff
Added canvas testing directory
parent
09a4328d
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Makefile.am
+1
-1
1 addition, 1 deletion
src/Makefile.am
src/configure.ac
+27
-0
27 additions, 0 deletions
src/configure.ac
with
28 additions
and
1 deletion
src/Makefile.am
+
1
−
1
View file @
faf3ba6d
...
...
@@ -17,7 +17,7 @@ include $(srcdir)/am_doxygen.am
# ZMAP_SRC_DIRS See configure.ac
SUBDIRS
=
$(
ZMAP_SRC_DIRS
)
include lib
SUBDIRS
=
$(
ZMAP_SRC_DIRS
)
include lib
$(
CANVAS_TESTING
)
CLEANFILES
=
$(
pkgconfig_DATA
)
...
...
This diff is collapsed.
Click to expand it.
src/configure.ac
+
27
−
0
View file @
faf3ba6d
...
...
@@ -141,6 +141,29 @@ AC_PROG_LN_S
GTK2_MODULES="pango >= 0.1 gtk+-2.0 >= 2.4.0 glib-2.0 gthread-2.0"
PKG_CHECK_MODULES([GTK], [${GTK2_MODULES}])
CANVAS_TESTING=""
GTK2_MODULES="gtk+-2.0 >= 2.10.0"
PKG_CHECK_MODULES([LATESTGTK], [${GTK2_MODULES}], [
CANVAS_TESTING="canvas_choice"
AC_MSG_RESULT([Found GTK 2.10])
], [
CANVAS_TESTING=""
AC_MSG_RESULT([GTK 2.10 not found.])
])
AC_SUBST([CANVAS_TESTING])
DEMO_CANVAS_MODULES="crcanvas >= 0.12 goocanvas >= 0.7 geocanvas >= 1.0.7"
PKG_CHECK_MODULES([DEMO_CANVAS], [${DEMO_CANVAS_MODULES}], [
AC_MSG_RESULT([Found Canvases])
], [
if test "x$CANVAS_TESTING" != "x"; then
AC_MSG_ERROR([Are you sure?])
else
AC_MSG_RESULT([Canvases not found, but neither was GTK 2.10])
fi
])
dnl This has to go here for our nfs mounted mac....
if test "$zmap_os_type" = "darwin" && -d /Users/zmap/nfs_mount; then
PKG_CONFIG="$PKG_CONFIG --define-variable=MOUNT_POINT=/Users/zmap/nfs_mount"
...
...
@@ -185,6 +208,9 @@ AC_SUBST(ACECONN_CFLAGS)
AC_SUBST(ACECONN_LIBS)
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
AC_SUBST(DEMO_CANVAS_CFLAGS)
AC_SUBST(DEMO_CANVAS_LIBS)
# keep track for rpath
#RPATH=""
#full_paths="${FOOCANVAS_LIBS} ${ACECONN_LIBS} ${GTK_LIBS}"
...
...
@@ -276,6 +302,7 @@ done
AC_SUBST(ZMAP_SRC_DIRS_DOXYGEN)
AC_CONFIG_FILES([Makefile
canvas_choice/Makefile
zmapApp/Makefile
zmapConfig/Makefile
zmapControl/Makefile
...
...
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