Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:libraries:c_c++
motif
no-demos.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File no-demos.patch of Package motif
diff -Nur motif-2.3.8/configure.ac new/configure.ac --- motif-2.3.8/configure.ac 2017-12-05 13:43:54.000000000 +0100 +++ new/configure.ac 2022-04-24 02:36:04.663728800 +0200 @@ -305,7 +305,20 @@ doc/man/man5/Makefile \ tools/Makefile \ tools/wml/Makefile \ -demos/Makefile \ +lib/Xm/xmstring.list \ +]) + +AC_ARG_ENABLE(demos, [ --disable-demos + Disable building demos]) + +if test x$enable_demos = x +then + enable_demos="yes" +fi + +if test "$enable_demos" = "yes" +then + AC_CONFIG_FILES([demos/Makefile demos/lib/Makefile \ demos/lib/Xmd/Makefile \ demos/lib/Wsm/Makefile \ @@ -389,6 +402,11 @@ demos/doc/programGuide/ch17/Makefile \ demos/doc/programGuide/ch17/simple_drop/Makefile \ demos/doc/programGuide/ch17/simple_drag/Makefile \ -lib/Xm/xmstring.list \ -]) + ]) + MAYBE_DEMOS=demos +else + MAYBE_DEMOS= +fi +AC_SUBST(MAYBE_DEMOS) + AC_OUTPUT diff -Nur motif-2.3.8/Makefile.am new/Makefile.am --- motif-2.3.8/Makefile.am 2017-08-17 02:38:43.000000000 +0200 +++ new/Makefile.am 2022-04-24 02:36:04.663728800 +0200 @@ -28,6 +28,7 @@ tools \ clients \ doc \ - demos + $(MAYBE_DEMOS) + AUTOMAKE_OPTIONS = 1.4 ACLOCAL_AMFLAGS = -I .
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