Changeset 7233 for trunk/configure.ac


Ignore:
Timestamp:
Dec 2, 2008, 4:20:43 AM (14 years ago)
Author:
charles
Message:

fix the linux build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r7107 r7233  
    211211
    212212AC_CANONICAL_HOST
    213 have_beos="no"
    214213have_darwin="no"
    215214have_msw="no"
     
    230229     ;;
    231230
    232   *beos*)
    233     have_beos="yes"
    234     RELEASE=`uname -r`
    235     case $RELEASE in
    236       6.*|5.0.4) # Zeta or R5 / BONE beta 7
    237         ;;
    238       5.0*)       # R5 / net_server
    239         CPPFLAGS="$CPPFLAGS -DBEOS_NETSERVER"
    240         ;;
    241       *)
    242         AC_MSG_ERROR("Unsupported BeOS version")
    243         ;;
    244     esac
    245     GCCVER=`$CC -dumpversion`
    246     case $GCCVER in
    247       2.95.3*|3*|4*)
    248         ;;
    249       2.9*)
    250         BEOS_OLDCC=yes
    251         ;;
    252       *)
    253         AC_MSG_ERROR("Unsupported gcc version")
    254         ;;
    255     esac
    256     ;;
    257 
    258231  *darwin*)
    259232    have_darwin="yes"
     
    274247esac
    275248
    276 AC_ARG_ENABLE([beos],
    277               [AC_HELP_STRING([--enable-beos],[build OS X client])],
    278               [build_beos=${enableval}],
    279               [build_beos=${have_beos}])
    280 AM_CONDITIONAL([BUILD_BEOS],[test "x$build_beos" = "xyes"])
    281 
    282249AC_ARG_ENABLE([cli],
    283250              [AC_HELP_STRING([--enable-cli],[build command-line client])],
     
    299266
    300267
    301 if test "x$have_beos" = "xyes"; then
    302     AC_DEFINE([HAVE_BEOS], 1)
    303 fi
    304268if test "x$have_darwin" = "xyes"; then
    305269    AC_DEFINE([HAVE_DARWIN], 1)
     
    316280AC_CONFIG_FILES([Makefile
    317281                 transmission.spec
    318                  beos/Makefile
    319282                 cli/Makefile
    320283                 daemon/Makefile
     
    342305        Build Command-Line client:  ${build_cli}
    343306        Build Daemon:               ${build_daemon}
    344         Build BeOS client:          ${build_beos}
    345307        Build GTK+ client:          ${build_gtk}
    346308          ... gio support:          ${use_gio}
Note: See TracChangeset for help on using the changeset viewer.