summaryrefslogtreecommitdiff
path: root/app-editors/xemacs/files/xemacs-21.5.34-as-needed.patch
blob: 542ce14c36afb9dca5743e3316a6af176533978f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff -r 30910ee1cf8c configure
--- a/configure	Tue Jun 18 10:37:46 2019 +0100
+++ b/configure	Mon Jul 08 20:38:49 2019 +0200
@@ -16668,7 +16668,7 @@
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-l$athena_variant  $LIBS"
+LIBS="-l$athena_variant $libs_x $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
diff -r 30910ee1cf8c configure.ac
--- a/configure.ac	Tue Jun 18 10:37:46 2019 +0100
+++ b/configure.ac	Mon Jul 08 20:38:49 2019 +0200
@@ -4068,7 +4068,8 @@
           athena_lib=Xaw;
           AC_MSG_WARN([Assuming that libXaw is actually $athena_variant.]);
         ],
-        [AC_MSG_WARN([Could not find a 3d Athena widget library that looked like $athena_variant.])]))
+        [AC_MSG_WARN([Could not find a 3d Athena widget library that looked like $athena_variant.])]),
+        $libs_x)
   fi
 
   dnl Now we locate the Athena headers that we need.