View | Details | Raw Unified
Collapse All | Expand All

(-) sqsh-2.1.3/configure.in (-4 / +6 lines)
 Lines 47-67    Link Here 
AC_ARG_WITH([motif], 
AC_ARG_WITH([motif], 
	[  --with-motif            support X11/Motif widgets],
	[  --with-motif            support X11/Motif widgets],
	[
	[
		if test $with_motif != "yes"
	 	if test $with_motif == "no"
		then
		then
			DEF_MOTIF="# -DUSE_MOTIF"
		elif test $with_motif != "yes"
		then
			DEF_MOTIF="-DUSE_MOTIF"
			MOTIF_PATH=$with_motif
			MOTIF_PATH=$with_motif
			with_motif="yes"
			with_motif="yes"
			MOTIF_INCDIR="-I$MOTIF_PATH/include/X11"
			MOTIF_INCDIR="-I$MOTIF_PATH/include/X11"
			MOTIF_LIBDIR="-L$MOTIF_PATH/lib"
			MOTIF_LIBDIR="-L$MOTIF_PATH/lib"
		else
		else
			DEF_MOTIF="-DUSE_MOTIF"
			MOTIF_INCDIR="# -I/usr/X11/include"
			MOTIF_INCDIR="# -I/usr/X11/include"
			MOTIF_LIBDIR="# -L/usr/X11/lib"
			MOTIF_LIBDIR="# -L/usr/X11/lib"
		fi
		fi
		with_x="yes"
		with_x="yes"
		DEF_MOTIF="-DUSE_MOTIF"
		AC_SUBST(MOTIF_PATH)
		AC_SUBST(MOTIF_LIBS)
	],[
	],[
		DEF_MOTIF="# -DUSE_MOTIF"
		DEF_MOTIF="# -DUSE_MOTIF"
		with_motif="no"
		with_motif="no"