configure: remove unused variables from case...in test.
(Patch by Adrien Nader!) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13843 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
41be48ee15
commit
1b39eae0ae
|
@ -768,36 +768,36 @@ esac
|
|||
|
||||
asppprofflags='-DPROFILING'
|
||||
|
||||
case "$arch,$model,$system" in
|
||||
amd64,*,macosx) if ./searchpath clang; then
|
||||
case "$arch,$system" in
|
||||
amd64,macosx) if ./searchpath clang; then
|
||||
as='clang -arch x86_64 -c'
|
||||
aspp='clang -arch x86_64 -c'
|
||||
else
|
||||
as='as -arch x86_64'
|
||||
aspp='gcc -arch x86_64 -c'
|
||||
fi;;
|
||||
amd64,*,solaris) as='as --64'
|
||||
amd64,solaris) as='as --64'
|
||||
aspp='gcc -m64 -c';;
|
||||
amd64,*,*) as='as'
|
||||
amd64,*) as='as'
|
||||
aspp='gcc -c';;
|
||||
arm,*,*) as='as';
|
||||
arm,*) as='as';
|
||||
aspp='gcc -c';;
|
||||
i386,*,solaris) as='as'
|
||||
i386,solaris) as='as'
|
||||
aspp='/usr/ccs/bin/as -P';;
|
||||
i386,*,*) as='as'
|
||||
i386,*) as='as'
|
||||
aspp='gcc -c';;
|
||||
power,*,elf) as='as -u -m ppc'
|
||||
power,elf) as='as -u -m ppc'
|
||||
aspp='gcc -c';;
|
||||
power,*,bsd*) as='as'
|
||||
power,bsd*) as='as'
|
||||
aspp='gcc -c';;
|
||||
power,*,rhapsody) as="as -arch $model"
|
||||
power,rhapsody) as="as -arch $model"
|
||||
aspp="$bytecc -c";;
|
||||
sparc,*,solaris) as='as'
|
||||
sparc,solaris) as='as'
|
||||
case "$cc" in
|
||||
gcc*) aspp='gcc -c';;
|
||||
*) aspp='as -P';;
|
||||
esac;;
|
||||
sparc,*,*) as='as'
|
||||
sparc,*) as='as'
|
||||
aspp='gcc -c';;
|
||||
esac
|
||||
|
||||
|
@ -805,18 +805,18 @@ if test -n "$asoption"; then as="$asoption"; fi
|
|||
if test -n "$asppoption"; then aspp="$asppoption"; fi
|
||||
|
||||
cc_profile='-pg'
|
||||
case "$arch,$model,$system" in
|
||||
i386,*,linux_elf) profiling='prof';;
|
||||
i386,*,gnu) profiling='prof';;
|
||||
i386,*,bsd_elf) profiling='prof';;
|
||||
amd64,*,macosx) profiling='prof';;
|
||||
i386,*,macosx) profiling='prof';;
|
||||
sparc,*,solaris)
|
||||
case "$arch,$system" in
|
||||
i386,linux_elf) profiling='prof';;
|
||||
i386,gnu) profiling='prof';;
|
||||
i386,bsd_elf) profiling='prof';;
|
||||
amd64,macosx) profiling='prof';;
|
||||
i386,macosx) profiling='prof';;
|
||||
sparc,solaris)
|
||||
profiling='prof'
|
||||
case "$nativecc" in gcc*) ;; *) cc_profile='-xpg';; esac;;
|
||||
amd64,*,linux) profiling='prof';;
|
||||
amd64,*,gnu) profiling='prof';;
|
||||
arm,*,linux*) profiling='prof';;
|
||||
amd64,linux) profiling='prof';;
|
||||
amd64,gnu) profiling='prof';;
|
||||
arm,linux*) profiling='prof';;
|
||||
*) profiling='noprof';;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue