configure.in: X11 detection and option order
The -L option needs to be placed before the -l it needs to affect. This maybe important on MacOSX where a nonstandard/optional package provides X11 support so the locations are not in system locations.
This commit is contained in:
parent
3f1344570c
commit
e54111cf6f
|
|
@ -1809,8 +1809,10 @@ AC_SUBST(gr_srcs)
|
|||
AC_SUBST(gr_hsrcs)
|
||||
AC_SUBST(gr_hprog)
|
||||
|
||||
AC_SUBST(X_LIBS)
|
||||
AC_SUBST(X_CFLAGS)
|
||||
AC_SUBST(X_EXTRA_LIBS)
|
||||
AC_SUBST(X_LIBS)
|
||||
AC_SUBST(X_PRE_LIBS)
|
||||
AC_SUBST(CPPFLAGS)
|
||||
AC_SUBST(CFLAGS)
|
||||
AC_SUBST(DEPEND_FLAG)
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ EXEEXT = @EXEEXT@
|
|||
|
||||
GR_CFLAGS = @X_CFLAGS@ @gr_cflags@
|
||||
GR_DFLAGS = @gr_dflags@ -DNDEBUG
|
||||
GR_LIBS = @gr_libs@ @X_LIBS@
|
||||
GR_LIBS = @X_LIBS@ @X_PRE_LIBS@ @gr_libs@ @X_EXTRA_LIBS@
|
||||
GR_SRCS = @gr_srcs@
|
||||
GR_HELPER_SRCS = @gr_hsrcs@
|
||||
GR_HELPER_PROG = @gr_hprog@
|
||||
|
|
|
|||
Loading…
Reference in New Issue