View | Details | Raw Unified
Collapse All | Expand All

(-) a/configure.ac (-1 / +2 lines)
 Lines 29-34    Link Here 
# ========== export compiler / linker options ======== #
# ========== export compiler / linker options ======== #
AC_SUBST(CFLAGS)
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LIBS)
AC_SUBST(LDFLAGS)
AC_SUBST(LDFLAGS)
# ============== look for dependencies =============== #
# ============== look for dependencies =============== #
 Lines 170-176    Link Here 
                AC_CHECK_LIB(X11, XOpenDisplay, [ HAVE_X11=true ]))
                AC_CHECK_LIB(X11, XOpenDisplay, [ HAVE_X11=true ]))
	# can't embed next AC_CHECK_HEADERS in true case of AC_CHECK_LIB
	# can't embed next AC_CHECK_HEADERS in true case of AC_CHECK_LIB
	if test "${HAVE_X11}" = "true"; then
	if test "${HAVE_X11}" = "true"; then
	        LDFLAGS="${LDFLAGS} -lX11 -lXext"
	        LIBS="${LIBS} -lX11 -lXext"
		# need to specifically include X11/Xlib header when
		# need to specifically include X11/Xlib header when
		# doing checks for NVCtrl headers
		# doing checks for NVCtrl headers
	        AC_CHECK_HEADERS(NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h, [ HAVE_NVIDIA=true ], [], 
	        AC_CHECK_HEADERS(NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h, [ HAVE_NVIDIA=true ], [],