Ticket #3668: configure.2.diff

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

configure.diff

  • configure

    old new  
    11#!/bin/bash
    22
    33MAKE=make
     4which gnumake >& /dev/null
     5if [ $? = 0 ]; then
     6  MAKE=gnumake
     7fi
     8
    49which gmake >& /dev/null
    510if [ $? = 0 ]; then
    611  MAKE=gmake
     
    7479echo "libdir=\$(DESTDIR)$libdir" >> config.mak
    7580echo "includedir=\$(DESTDIR)$includedir" >> config.mak
    7681
    77 echo "LDFLAGS=$GTKLDFLAGS" >> config.mak
     82echo "LDFLAGS=-L/usr/X11R6/lib -lX11 $GTKLDFLAGS" >> config.mak
    7883echo "GCIN_VERSION=$GCIN_VERSION" >> config.mak
    7984echo "GCIN_TABLE_DIR=\$(datadir_r)/gcin/table" >> config.mak
    8085echo "GCIN_TABLE_DIR_i=\$(datadir)/gcin/table" >> config.mak