Ticket #3668: configure.4.diff

File configure.4.diff, 697 bytes (added by candyz0416@…, 19 years ago)

configure.diff

  • configure

    old new  
    11#!/bin/bash
    22
    33MAKE=make
    4 which gmake >& /dev/null
     4which gnumake >& /dev/null
    55if [ $? = 0 ]; then
    6   MAKE=gmake
     6  MAKE=gnumake
    77fi
    88
    99uname | grep FreeBSD >& /dev/null
     
    7474echo "libdir=\$(DESTDIR)$libdir" >> config.mak
    7575echo "includedir=\$(DESTDIR)$includedir" >> config.mak
    7676
    77 echo "LDFLAGS=$GTKLDFLAGS" >> config.mak
     77echo "LDFLAGS=-L/usr/X11R6/lib -lX11 $GTKLDFLAGS" >> config.mak
    7878echo "GCIN_VERSION=$GCIN_VERSION" >> config.mak
    7979echo "GCIN_TABLE_DIR=\$(datadir_r)/gcin/table" >> config.mak
    8080echo "GCIN_TABLE_DIR_i=\$(datadir)/gcin/table" >> config.mak