View | Details | Raw Unified | Return to problem 1316
Collapse All | Expand All

(-)a/configure (-11 / +14 lines)
Lines 330-347 echo "lib${clhep_lib}.${shlib}" Link Here
330
# ---
330
# ---
331
echo $ac_n "Checking for Python include dir (pyconfig.h) ... $ac_c"
331
echo $ac_n "Checking for Python include dir (pyconfig.h) ... $ac_c"
332
# check version
332
# check version
333
if [ $with_python3 = 0 ]; then
333
if [ ! -d "$python_incdir" ]
334
  set python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2
334
then
335
else
335
    if [ $with_python3 = 0 ]; then
336
  set python3.1 python3.0
336
	set python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2
337
    else
338
	set python3.1 python3.0
339
    fi
340
    for aincdir in $*
341
    do
342
	if [ -d /usr/include/"$aincdir" ]; then
343
	    python_incdir=/usr/include/$aincdir
344
	    break
345
	fi
346
    done
337
fi
347
fi
338
for aincdir in $*
339
do
340
  if [ -d /usr/include/"$aincdir" ]; then
341
    python_incdir=/usr/include/$aincdir
342
    break
343
  fi
344
done
345
348
346
if [ ! -f "$python_incdir"/pyconfig.h ]; then
349
if [ ! -f "$python_incdir"/pyconfig.h ]; then
347
  echo "no"
350
  echo "no"

Return to problem 1316