~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/po.m4

Migrated pandora_with_gettext.m4 to use m4_syscmd so that the code runs at the right time.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
        # Treat a directory as a PO directory if and only if it has a
116
116
        # POTFILES.in file. This allows packages to have multiple PO
117
117
        # directories under different names or in different locations.
118
 
        if test -f "$ac_dir/POTFILES.in"; then
 
118
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
119
119
          rm -f "$ac_dir/POTFILES"
120
120
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
121
 
          cat "$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[    ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
 
121
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
122
122
          POMAKEFILEDEPS="POTFILES.in"
123
123
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
124
124
          # on $ac_dir but don't depend on user-specified configuration