Ignore:
Timestamp:
Jan 31, 2006, 7:54:07 AM (15 years ago)
Author:
joshe
Message:

Add internationalization support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/joshe/configure

    r69 r77  
    1212    --openssl-prefix=PATH  Location of OpenSSL headers and library
    1313    --disable-gtk          Don't build the GTK+ GUI
     14    --prefix=PATH          Install here instead of $INSTALL_PREFIX
    1415
    1516  Some influential environment variables:
     
    6364        GTKCCFLAGS=`pkg-config gtk+-2.0 --cflags`
    6465        GTKLINKLIBS=`pkg-config gtk+-2.0 --libs`
     66        GTKLOCALEDIR="$INSTALL_PREFIX/share/locale"
    6567      else
    6668        echo "GTK+:    no"
     
    9294GTKCCFLAGS=
    9395GTKLINKLIBS=
     96GTKLOCALEDIR=
     97if [ -n "$PREFIX" ]; then
     98    INSTALL_PREFIX=$PREFIX
     99else
     100    INSTALL_PREFIX=/usr/local
     101fi
    94102
    95103#
     
    108116    x--disable-gtk)
    109117      gtk_disable="1";
     118      ;;
     119    x--prefix=*)
     120      INSTALL_PREFIX="$param";
    110121      ;;
    111122    x--help)
     
    239250fi
    240251
     252if [ xyes = "x$GTK" ]; then
     253    rm -f gtk/defines.h
     254    cat > gtk/defines.h << EOF
     255#ifndef TG_DEFINES_H
     256#define TG_DEFINES_H
     257#define LOCALEDIR               "$GTKLOCALEDIR"
     258#endif
     259EOF
     260fi
     261
    241262echo
    242263echo "To build Transmission, run 'jam'."
Note: See TracChangeset for help on using the changeset viewer.