summaryrefslogtreecommitdiff
path: root/editors/setedit/files/patch-config.pl
blob: cd88b05bde795cdb3158e1bc599d745d389125b8 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
*** config.pl.orig	Tue Oct 12 22:00:54 2004
--- config.pl	Thu Oct 27 12:06:23 2005
***************
*** 169,175 ****
    }
  elsif ($OS eq 'UNIX')
    {
!    $MakeDefsRHIDE[0]='RHIDE_STDINC=/usr/include /usr/local/include /usr/include/g++ /usr/local/include/g++ /usr/lib/gcc-lib /usr/local/lib/gcc-lib';
     if (@conf{'static'} eq 'yes')
        { $libs=TVConfigOption('slibs'); }
     else
--- 169,175 ----
    }
  elsif ($OS eq 'UNIX')
    {
!    $MakeDefsRHIDE[0]='RHIDE_STDINC=/usr/include ' . $ENV{'LOCALBASE'} . '/include /usr/include/g++ ' . $ENV{'LOCALBASE'} . '/include/g++ /usr/lib/gcc-lib ' . $ENV{'LOCALBASE'} . '/lib/gcc-lib';
     if (@conf{'static'} eq 'yes')
        { $libs=TVConfigOption('slibs'); }
     else
***************
*** 456,464 ****
      elsif ($i eq '--debug')
        {
         $conf{'XCFLAGS'}=
!        $conf{'XCXXFLAGS'}='-O3 -fomit-frame-pointer -ffast-math -gstabs+3';
         $conf{'CFLAGS'}=
!        $conf{'CXXFLAGS'}='-O2 -Wall -Werror -gstabs+3';
        }
      elsif ($i eq '--with-mixer')
        {
--- 456,464 ----
      elsif ($i eq '--debug')
        {
         $conf{'XCFLAGS'}=
!        $conf{'XCXXFLAGS'}='-O3 -fomit-frame-pointer -ffast-math';
         $conf{'CFLAGS'}=
!        $conf{'CXXFLAGS'}='-O2 -Wall -Werror';
        }
      elsif ($i eq '--with-mixer')
        {
***************
*** 783,790 ****
     }
   elsif ($OS eq 'UNIX')
     {
!     @dirsI=("$parent/tvision/include",'/usr/include/rhtvision','/usr/local/include/rhtvision');
!     @dirsL=("$parent/tvision/makes",'/usr/lib','/usr/local/lib');
     }
   elsif ($OS eq 'Win32')
     {
--- 783,790 ----
     }
   elsif ($OS eq 'UNIX')
     {
!     @dirsI=("$parent/tvision/include",'/usr/include/rhtvision',$ENV{'LOCALBASE'} . '/include/rhtvision');
!     @dirsL=("$parent/tvision/makes",'/usr/lib',$ENV{'LOCALBASE'} . '/lib');
     }
   elsif ($OS eq 'Win32')
     {
***************
*** 1856,1862 ****
   return 0;
  }
  ';
!  $conf{'X11LibPath'}='/usr/X11R6/lib' unless $conf{'X11LibPath'};
   $conf{'X11Lib'}='X11 Xmu' unless $conf{'X11Lib'};
   $libs=$conf{'X11Lib'};
   $libs=~s/(\S+)/-l$1/g;
--- 1856,1862 ----
   return 0;
  }
  ';
!  $conf{'X11LibPath'}=$ENV{'X11BASE'} . '/lib' unless $conf{'X11LibPath'};
   $conf{'X11Lib'}='X11 Xmu' unless $conf{'X11Lib'};
   $libs=$conf{'X11Lib'};
   $libs=~s/(\S+)/-l$1/g;
***************
*** 1873,1879 ****
     {
      if (!$conf{'X11IncludePath'})
        {
!        $conf{'X11IncludePath'}='/usr/X11R6/include';
         $o.="-I$conf{'X11IncludePath'} -L$conf{'X11LibPath'} $libs";
         if ($test=~/OK, (\d+)\.(\d+)/)
           {
--- 1873,1879 ----
     {
      if (!$conf{'X11IncludePath'})
        {
!        $conf{'X11IncludePath'}=$ENV{'X11BASE'} . '/include';
         $o.="-I$conf{'X11IncludePath'} -L$conf{'X11LibPath'} $libs";
         if ($test=~/OK, (\d+)\.(\d+)/)
           {