On Mon, Jan 11, 2016 at 6:11 PM, William McBrine <wmcbr...@gmail.com> wrote: > On Mon, Jan 11, 2016 at 6:17 AM, anatoly techtonik <techto...@gmail.com> > wrote: > >> But it is still unclear why autotools don't autodetect these. > > Well, it goes through the MH_CHECK_X_LIB function in alocal.m4, which > defines the search path like so: > > mh_lib_dirs="$x_libraries `echo "$ac_x_includes $ac_x_header_dirs" | > sed s/include/lib/g`"
And who created this aclocal.m4? >From http://stackoverflow.com/a/1971156/239247 it it looks like it is obsolete functionality, but I don't understand what is being replaced with what. Shouldn't locating X11 libs be a common Linux task that doesn't rely on custom macros? BTW, the message is posted, waiting for reply: http://lists.gnu.org/archive/html/autoconf/2016-01/threads.html -- anatoly t.