/[emacs]/emacs/configure.in
ViewVC logotype

Diff of /emacs/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.291 by pj, Mon Apr 8 06:16:19 2002 UTC revision 1.292 by walters, Wed Apr 10 19:04:08 2002 UTC
# Line 38  lisppath='${locallisppath}:${lispdir}' Line 38  lisppath='${locallisppath}:${lispdir}'
38  etcdir='${datadir}/emacs/${version}/etc'  etcdir='${datadir}/emacs/${version}/etc'
39  archlibdir='${libexecdir}/emacs/${version}/${configuration}'  archlibdir='${libexecdir}/emacs/${version}/${configuration}'
40  docdir='${datadir}/emacs/${version}/etc'  docdir='${datadir}/emacs/${version}/etc'
41    gamedir=yes
42    
43    AC_ARG_WITH(game-dir,
44    [  --with-game-dir         use a shared game directory if possible],
45       [if test "$withval" = yes; then
46          gamedir="${localstatedir}/games/emacs"
47        else
48          if test "$withval" = no; then
49            gamedir=no
50          else
51            gamedir="$withval"
52          fi
53        fi
54    ])
55    
56    gameuser=games
57    AC_ARG_WITH(game-user,
58    [  --with-game-user       use specified user for game directory],
59       [gameuser="$withval"])
60    
61  AC_ARG_WITH(gcc,  AC_ARG_WITH(gcc,
62  [  --without-gcc           don't use GCC to compile Emacs if GCC is found])  [  --without-gcc           don't use GCC to compile Emacs if GCC is found])
# Line 1464  AC_PROG_MAKE_SET Line 1483  AC_PROG_MAKE_SET
1483  dnl checks for operating system services  dnl checks for operating system services
1484  AC_SYS_LONG_FILE_NAMES  AC_SYS_LONG_FILE_NAMES
1485    
1486    if test "$gamedir" = no; then :
1487    else
1488      AC_MSG_CHECKING([for access to game group "$gameuser"])
1489      rm -f conf$$chown.file
1490      touch conf$$chown.file
1491      dnl If we can't chown a file to group games, then the users
1492      dnl can't share scores.
1493      if chown "$gameuser" conf$$chown.file 1>/dev/null 2>&1; then
1494        AC_MSG_RESULT([yes])
1495        if test "$gamedir" = "yes"; then
1496          gamedir="${localstatedir}/games/emacs"
1497        fi
1498        tgamedir=`eval "echo $gamedir"`
1499        AC_DEFINE_UNQUOTED(HAVE_SHARED_GAME_DIR, "$tgamedir")
1500      else
1501        AC_MSG_RESULT([no])
1502        gamedir=no
1503      fi
1504    fi
1505  #### Choose a window system.  #### Choose a window system.
1506    
1507  AC_PATH_X  AC_PATH_X
# Line 2006  strerror fpathconf select mktime euidacc Line 2044  strerror fpathconf select mktime euidacc
2044  utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \  utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
2045  __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \  __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
2046  sendto recvfrom getsockopt setsockopt getsockname getpeername \  sendto recvfrom getsockopt setsockopt getsockname getpeername \
2047  gai_strerror mkstemp)  gai_strerror mkstemp getline getdelim)
2048    
2049  AC_CHECK_HEADERS(sys/un.h)  AC_CHECK_HEADERS(sys/un.h)
2050    
# Line 2239  AC_SUBST(etcdir) Line 2277  AC_SUBST(etcdir)
2277  AC_SUBST(archlibdir)  AC_SUBST(archlibdir)
2278  AC_SUBST(docdir)  AC_SUBST(docdir)
2279  AC_SUBST(bitmapdir)  AC_SUBST(bitmapdir)
2280    AC_SUBST(gamedir)
2281    AC_SUBST(gameuser)
2282  AC_SUBST(c_switch_system)  AC_SUBST(c_switch_system)
2283  AC_SUBST(c_switch_machine)  AC_SUBST(c_switch_machine)
2284  AC_SUBST(LD_SWITCH_X_SITE)  AC_SUBST(LD_SWITCH_X_SITE)
# Line 2296  Configured for \`${canonical}'. Line 2336  Configured for \`${canonical}'.
2336    Should Emacs use a relocating allocator for buffers?    ${REL_ALLOC}    Should Emacs use a relocating allocator for buffers?    ${REL_ALLOC}
2337    Should Emacs use mmap(2) for buffer allocation?         $use_mmap_for_buffers    Should Emacs use mmap(2) for buffer allocation?         $use_mmap_for_buffers
2338    What window system should Emacs use?                    ${window_system}    What window system should Emacs use?                    ${window_system}
2339    What toolkit should Emacs use?                          ${USE_X_TOOLKIT}"    What toolkit should Emacs use?                          ${USE_X_TOOLKIT}
2340      Should Emacs use a shared game state directory?         ${gamedir}"
2341    
2342  if test -n "${x_includes}"; then  if test -n "${x_includes}"; then
2343  echo "  Where do we find X Windows header files?                ${x_includes}"  echo "  Where do we find X Windows header files?                ${x_includes}"

Legend:
Removed from v.1.291  
changed lines
  Added in v.1.292

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26