Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 1
# Qt initialization script (csh)
2
 
3
# In multilib environments there is a preferred architecture, 64 bit over 32 bit in x86_64,
4
# When a conflict is found between two packages corresponding with different arches,
5
# the installed file is the one from the preferred arch. This is very common for executables
6
# in /usr/bin, for example. If the file /usr/bin/foo is found in an x86_64 package and in an
7
# i386 package, the executable from x86_64 will be installe
8
 
9
if ( $?QTDIR ) then
10
   exit
11
endif
12
 
13
switch (`uname -m`)
14
   case x86_64:
15
   case ia64:
16
   case s390x:
17
   case ppc64:
18
      set QTPREFIXES = "/usr/lib64/qt-3.3 /usr/lib/qt-3.3"
19
      breaksw
20
   case *:
21
      set QTPREFIXES = "/usr/lib/qt-3.3 /usr/lib64/qt-3.3"
22
endsw
23
 
24
foreach QTPREFIX ( $QTPREFIXES )
25
  test -d "$QTPREFIX" && setenv QTDIR $QTPREFIX && break
26
end
27
unset QTPREFIX QTPREFIXES
28
 
29
if ( "${path}" !~ *$QTDIR/bin* ) then
30
   set path = ( $QTDIR/bin $path )
31
endif
32
 
33
setenv QTINC $QTDIR/include
34
setenv QTLIB $QTDIR/lib