~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/lib-prefix.m4

  • Committer: Monty Taylor
  • Date: 2009-07-18 22:10:19 UTC
  • mto: (1093.1.21 captain)
  • mto: This revision was merged to the branch mainline in revision 1098.
  • Revision ID: mordred@inaugust.com-20090718221019-4xj37m3bdp2y3lpz
pandora-build v0.22 - fixes solaris build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
      dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link."
184
184
      dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the
185
185
      dnl symlink is missing, so we set acl_libdirstem2 too.
186
 
      AC_MSG_CHECKING([if buildling 64-bit app])
187
 
      AC_RUN_IFELSE([
188
 
         AC_LANG_PROGRAM([
189
 
         ], [
190
 
           return sizeof(void*) == 8 ? 0 : 1;
191
 
         ])            
192
 
      ], [
193
 
         gl_cv_solaris_64bit=yes
194
 
      ], [
195
 
         gl_cv_solaris_64bit=no
196
 
      ])
197
 
      AC_MSG_RESULT([$gl_cv_solaris_64bit])
 
186
      AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit],
 
187
        [AC_RUN_IFELSE([
 
188
           AC_LANG_PROGRAM([], [[
 
189
             return sizeof(void*) == 8 ? 0 : 1;
 
190
           ]])            
 
191
           ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no])
 
192
        ])
198
193
      if test $gl_cv_solaris_64bit = yes; then
199
194
        acl_libdirstem=lib/64
200
195
        case "$host_cpu" in