diff options
-rw-r--r-- | editors/xemacs-devel/Makefile | 4 | ||||
-rw-r--r-- | editors/xemacs/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/editors/xemacs-devel/Makefile b/editors/xemacs-devel/Makefile index 318b04d7a075..46cff2bdaeb9 100644 --- a/editors/xemacs-devel/Makefile +++ b/editors/xemacs-devel/Makefile @@ -67,6 +67,10 @@ pre-fetch: # @${ECHO_MSG} "If you want to use GTK, please set the environment variable WANT_GTK " # @${ECHO_MSG} "and recompile." #.endif +.if exists(${X11BASE}/lib/libXm.so) +USE_MOTIF= yes +HAVE_MOTIF= yes +.endif .if defined(HAVE_MOTIF) .if !defined(MOTIF_STATIC) @${ECHO_MSG} "" diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile index 86f202213445..643bf549c822 100644 --- a/editors/xemacs/Makefile +++ b/editors/xemacs/Makefile @@ -64,6 +64,10 @@ pre-fetch: @${ECHO_MSG} "If you want to use GTK, please set the environment variable WANT_GTK " @${ECHO_MSG} "and recompile." .endif +.if exists(${X11BASE}/lib/libXm.so) +USE_MOTIF= yes +HAVE_MOTIF= yes +.endif .if defined(HAVE_MOTIF) .if !defined(MOTIF_STATIC) @${ECHO_MSG} "" |