usr/src/lib/lcms/configure.0-64.patch
author Cyril Plisko <cyril.plisko@grigale.com>
Sun, 09 May 2010 20:32:17 -0700
changeset 13 971008b98b79
permissions -rw-r--r--
Import sfw build 139 Bugs Fixed ---------- 6839908 dlopen(pkcs11_kernel) and calling C_Initialize makes pkcs11 engine enter infinite loop 6937593 Upgrade LCMS to 1.19 6944247 getifaddrs in 137 breaks sfw build
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     1
--- configure	2009-10-30 08:57:45.000000000 -0700
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     2
+++ configure	2010-04-15 08:59:26.926442400 -0700
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     3
@@ -5246,13 +5246,8 @@
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     4
 
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     5
 
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     6
 # Configure python. AM_PATH_PYTHON is basically braindead
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     7
-PYTHON=''
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     8
 if test "$with_python" = 'yes'
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     9
 then
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    10
-
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    11
-
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    12
-
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    13
-
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    14
         if test -n "$PYTHON"; then
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    15
       # If the user set $PYTHON, use it and don't search something else.
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    16
       { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2" >&5
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    17
@@ -5400,8 +5395,7 @@
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    18
 if test "${am_cv_python_pythondir+set}" = set; then
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    19
   echo $ECHO_N "(cached) $ECHO_C" >&6
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    20
 else
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    21
-  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    22
-     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    23
+  am_cv_python_pythondir=`echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/vendor-packages/64"`
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    24
 fi
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    25
 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    26
 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    27
@@ -5417,8 +5411,7 @@
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    28
 if test "${am_cv_python_pyexecdir+set}" = set; then
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    29
   echo $ECHO_N "(cached) $ECHO_C" >&6
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    30
 else
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    31
-  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    32
-     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    33
+  am_cv_python_pyexecdir=`echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/vendor-packages/64"`
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    34
 fi
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    35
 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    36
 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    37
@@ -5436,7 +5429,8 @@
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    38
   if test -n "$PYTHON"
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    39
   then
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    40
 	LCMS_PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"`
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    41
-	LCMS_PYEXECDIR=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1)"`
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    42
+	LCMS_PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    43
+	LCMS_PYEXECDIR=`echo "$LCMS_PYTHON_PREFIX/lib/python$LCMS_PYTHON_VERSION/vendor-packages/64"`
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    44
     LCMS_PYINCLUDE=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_inc()"`
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    45
 	LCMS_PYLIB=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,1)"`
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    46
 	as_ac_File=`echo "ac_cv_file_$LCMS_PYINCLUDE/Python.h" | $as_tr_sh`
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    47
@@ -9489,9 +9483,9 @@
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    48
 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    49
       else
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    50
 	wlarc=''
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    51
-	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    52
+	archive_cmds='$CXX $CXXFLAGS $LDFLAGS -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    53
 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    54
-  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    55
+  	$CXX $CXXFLAGS $LDFLAGS -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    56
       fi
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    57
       hardcode_libdir_flag_spec='-R$libdir'
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    58
       hardcode_shlibpath_var=no
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    59
@@ -11270,7 +11264,7 @@
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    60
 echo "$as_me: creating $ofile" >&6;}
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    61
 
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    62
   cat <<__EOF__ >> "$cfgfile"
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    63
-#! $SHELL
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    64
+#! $CONFIG_SHELL
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    65
 
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    66
 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
971008b98b79 Import sfw build 139
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    67
 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)