WX_ALL_INSTALLED=
if test "$wxUSE_SHARED" = "yes"; then
- dnl set target to shared
- WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
-
case "${host}" in
*-hp-hpux* )
+ if test "$GCC" = yes ; then
+ SHARED_LD="${CC} -shared -o"
+ PIC_FLAG="-fPIC"
+ else
+ SHARED_LD="${CXX} -b -o"
+ PIC_FLAG="+Z"
+ fi
WX_LIBRARY_NAME_SHARED="libwx_${TOOLKIT_DIR}.sl"
- SHARED_LD="${CXX} -b -o"
- PIC_FLAG="+Z"
WX_ALL=${WX_LIBRARY_NAME_SHARED}
;;
*-*-linux* )
AC_MSG_ERROR(unknown system type ${host}.)
esac
+ dnl set target to shared
+ WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
else
dnl set target to static
WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
long dx = x1 - xc;
long dy = y1 - yc;
- long radius = (long) sqrt(dx*dx+dy*dy);
+ long radius = (long) sqrt( (double)(dx*dx+dy*dy) );
double alpha1, alpha2;
if (x1 == x2 && y1 == y2)
/* we have these definitions from configure */
#if defined(HAVE_DLOPEN)
#define DLDAPI_SVR4_DLFCN
-#elif define(HAVE_SHL_LOAD)
+#elif defined(HAVE_SHL_LOAD)
#define DLDAPI_HP_SHL
#endif