X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=configure.in;h=7071cacae60b09bac17761805914ea4148d6ff79;hb=df053bcb240bd8d82e3bebf48a9766a8728bca4b;hp=e614456efd23100439ace27201bd87ad8f69a640;hpb=6bb727f03bff0389fbb1349d7df4c9d8d7532959;p=xscreensaver diff --git a/configure.in b/configure.in index e614456e..7071caca 100644 --- a/configure.in +++ b/configure.in @@ -18,6 +18,10 @@ if test -z "$GCC"; then AC_MSG_RESULT(AIX: adding -qlanglvl=ansi -qhalt=e) CC="$CC -qlanglvl=ansi -qhalt=e" ;; + +# NOTE: for Digital, need to add -std1 to get ANSI, but I'm not sure +# yet what $host pattern we should be testing for... + *) AC_MSG_RESULT(no idea) ;; @@ -730,6 +734,19 @@ if test $have_lesstif = yes ; then fi +# Some versions of Motif (2.1.0, at least) require -lXp, the "X Printing +# Extension". Why this extension isn't in -lXext with all the others, +# I have no idea. +# +have_xp_ext=no +if test $have_motif = yes ; then + have_xp_ext=no + AC_CHECK_X_LIB(Xp, XpQueryExtension, + [have_xp_ext=yes; SAVER_LIBS="$SAVER_LIBS -lXp"], + [], -lX11 -lXext -lm) +fi + + # check for XPM header. # have_xpm=no