summaryrefslogtreecommitdiffstats
path: root/x11/powershell/files/patch-aa
blob: 9b3a7a6fb6fb59e07cfea6d9738b9746ca1a0de2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
*** configure.in.orig	Sun Jan 23 17:13:12 2000
--- configure.in	Fri May  5 06:56:50 2000
***************
*** 3,20 ****
  AC_CONFIG_HEADER(config.h)
  
  
! GTK_EXTRA_LIBS="`gtk-config --libs` -lgdk_imlib -lutil"
  
! VERSION=`gtk-config --version`
! MAJOR=`echo $VERSION | cut -f 1 -d . -`
! MINOR=`echo $VERSION | cut -f 2 -d . -`
! MICRO=`echo $VERSION | cut -f 3 -d . -`
  
  GNOMEVERSION=`gnome-config --version`
! GVERSION=`echo $GNOMEVERSION | cut -f 2 -d " " -`
! GNOMEMAJOR=`echo $GVERSION | cut -f 1 -d . -`
! GNOMEMINOR=`echo $GVERSION | cut -f 2 -d . -`
! GNOMEMICRO=`echo $GVERSION | cut -f 3 -d . -`
  
  dnl Checks for programs.
  AC_PROG_CC
--- 3,20 ----
  AC_CONFIG_HEADER(config.h)
  
  
! GTK_EXTRA_LIBS="`$GTK_CONFIG --libs` -lgdk_imlib -lutil"
  
! VERSION=`$GTK_CONFIG --version`
! MAJOR=`echo $VERSION | cut -f 1 -d .`
! MINOR=`echo $VERSION | cut -f 2 -d .`
! MICRO=`echo $VERSION | cut -f 3 -d .`
  
  GNOMEVERSION=`gnome-config --version`
! GVERSION=`echo $GNOMEVERSION | cut -f 2 -d " "`
! GNOMEMAJOR=`echo $GVERSION | cut -f 1 -d .`
! GNOMEMINOR=`echo $GVERSION | cut -f 2 -d .`
! GNOMEMICRO=`echo $GVERSION | cut -f 3 -d .`
  
  dnl Checks for programs.
  AC_PROG_CC
***************
*** 42,48 ****
  fi
  
  if let $(($GNOMEMINOR < 1)); then
! 	if let $((GNOMEMICRO < 13)); then
  		AC_MSG_ERROR([Gnome 1.0.13 or greater required!])
  	fi
  fi
--- 42,48 ----
  fi
  
  if let $(($GNOMEMINOR < 1)); then
! 	if let $(($GNOMEMICRO < 13)); then
  		AC_MSG_ERROR([Gnome 1.0.13 or greater required!])
  	fi
  fi
OpenPOWER on IntegriCloud